The Online Condition Server supports web services that return a stock.
2BA has a number of parameters available that can serve as input on your web service.
In addition, 2BA asks a minimum piece of output.
2BA can supply the following fields as input for your service. In your mapping document, indicate how and which fields on your service should be mapped.
| Feature | Type | Description |
|---|---|---|
|
Username |
string(255) |
User name |
|
Password |
string(255) |
Password |
|
Debtor |
string(255) |
Debtor number/identification |
|
GLN
|
string(13) |
Global Location Number of the supplier
|
|
TradeItemId
|
string(35) |
Item number
|
|
Quantity |
decimal?(12,3) |
Number of items requested (expressed in order unit)
|
2BA can process the following fields. Indicate in the mapping document how 2BA can access these fields from the output of your web service
| Feature | Type | Description |
|---|---|---|
| Available | boolean |
If Quantity input was empty, it will indicate available if there is stock.outputQuantity >= 1 If Quantity input was not empty, it will indicate available if the amount requested is in stock.outputQuantity >= inputQuantity |
|
Quantity |
decimal?(12,3) |
Number of items in stock (expressed in order unit) • not required. |