Apis related to Validation.
Interu API (v2_28)
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"number": "string",
"status": "OPEN",
"orderDate": "2019-08-24T14:15:22Z",
"expectedDeliveryDate": "2019-08-24T14:15:22Z",
"supplier": "/organisations/{orgId}/connections/{connectionId}",
"buyer": "/organisations/{orgId}/connections/{connectionId}",
"deliverToLocation": "/organisations/{orgId}/locations/{locationId}",
"lineItems": [
{
"lineItemId": "string",
"product": "/organisations/{orgId}/products/{productId}",
"quantity": 0,
"note": "string",
"productVariant": "/organisations/{orgId}/products/{productId}/variants/{variantId}",
"additionalQuantities": [
{
"baseUnit": "string",
"conversionQuantity": 0,
"overrideQuantity": 0
}
]
}
],
"note": "string",
"id": "string"
}'The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
{ "number": "string", "status": "OPEN", "orderDate": "2019-08-24T14:15:22Z", "expectedDeliveryDate": "2019-08-24T14:15:22Z", "supplier": "/organisations/{orgId}/connections/{connectionId}", "buyer": "/organisations/{orgId}/connections/{connectionId}", "deliverToLocation": "/organisations/{orgId}/locations/{locationId}", "lineItems": [ { … } ], "note": "string", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders?number=string&supplierUris=string&buyerUris=string&deliverToLocationIds=string&productIds=string&recordState=ACTIVE&status=OPEN&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
{ "number": "string", "status": "OPEN", "orderDate": "2019-08-24T14:15:22Z", "expectedDeliveryDate": "2019-08-24T14:15:22Z", "supplier": "/organisations/{orgId}/connections/{connectionId}", "buyer": "/organisations/{orgId}/connections/{connectionId}", "deliverToLocation": "/organisations/{orgId}/locations/{locationId}", "lineItems": [ { … } ], "note": "string", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }