Data model for purchaseorder
Request
Parameter | Type | Description |
---|---|---|
storeParticipantNo | Integer | Only required when quering a different company |
deliveryPostalCode | String | Postal code for delivery address |
deliveryType | String | For example Lager, byggeplass or distribusjonslager |
calculationDate | String | Date the calculation should be done for |
suppliers | Array of supplier objects | List containing supplier information |
Supplier
Parameter | Type | Description |
---|---|---|
participantNo | Integer | Supplier participant number |
orderValue | Decimal | Order value |
currency | String | NOK, SEK, EUR etc |
products | Array of product objects | List containing product-information |
Product
Parameter | Type | Description |
---|---|---|
gtin | String | Products identified by GTIN number |
count | Integer | Number of products |
Response
Attribute | Type | Description |
---|---|---|
participantNo | Integer | Supplier participant number |
prices | Array of price objects | List of prices |
Product errors | Array of product errors | List of errors for products missing, of if there are no contracts for the supplier |
Price
Attribute | Type | Description |
---|---|---|
nobbNo | Integer | NOBB number |
productName | String | Name of the product |
gtin | String | GTIN number for product |
unit | String | Price unit |
currency | String | Price currency unit |
nobbPrice | Decimal | |
purchasePrice | Decimal | |
fullCostPrice | Decimal | |
retailPrice | Decimal | |
from | String | Price from date |
to | String | Price to date |
Product errors
Attribute | Type | Description |
---|---|---|
gtin | String | GTIN number for product |
error | String | Error message |