Apis related to Validation.
Interu API Reference//
- Retrieve Delivery
Create Delivery
Retrieve Delivery List
Update Delivery
Delete Delivery
Retrieve Delivery
Interu API (v2_31)
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/deliveries
- UAThttps://api.uat.interu.io/organisations/{orgId}/deliveries
- 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}/deliveries?deliveryId=string&recordState=ACTIVE&status=DELIVERED&purchaseOrderNumber=string&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
The URI of the location from which the delivery is being delivered from.
The URI of the location to which the delivery is being delivered to.
The current status of the delivery.
Enum"DELIVERED""PENDING""IN_PROGRESS"
List of agent organisation URIs that are associated with the delivery.
Response
application/json
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/deliveries/{deliveryId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/deliveries/{deliveryId}
- 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}/deliveries/{deliveryId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "deliveryId": "string", "from": "/organisations/{orgId}/locations/{locationId}", "to": "/organisations/{orgId}/locations/{locationId}", "status": "DELIVERED", "sent": "2019-08-24T14:15:22Z", "delivered": "2019-08-24T14:15:22Z", "items": [ { … } ], "agents": [ "string" ], "purchaseOrderNumbers": [ "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}/deliveries/{deliveryId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/deliveries/{deliveryId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/deliveries/{deliveryId}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"deliveryId": "string",
"from": "/organisations/{orgId}/locations/{locationId}",
"to": "/organisations/{orgId}/locations/{locationId}",
"status": "DELIVERED",
"sent": "2019-08-24T14:15:22Z",
"delivered": "2019-08-24T14:15:22Z",
"items": [
{
"item": "/organisations/{orgId}/items/{itemId}",
"quantity": 0
}
],
"agents": [
"string"
],
"purchaseOrderNumbers": [
"string"
]
}'Response
application/json
{ "deliveryId": "string", "from": "/organisations/{orgId}/locations/{locationId}", "to": "/organisations/{orgId}/locations/{locationId}", "status": "DELIVERED", "sent": "2019-08-24T14:15:22Z", "delivered": "2019-08-24T14:15:22Z", "items": [ { … } ], "agents": [ "string" ], "purchaseOrderNumbers": [ "string" ], "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }