Procurement
Push new procurements
Will import all procurements into the system and return errors if any
POST
/
procurements
Copy
curl --request POST \
--url https://api-ezyconnect.ezytail.com/procurements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"activityCode": "<string>",
"activityName": "<string>",
"dateCreation": "2023-11-07T05:31:56Z",
"dateLastUpdate": "2023-11-07T05:31:56Z",
"uniqueProcurementID": "<string>",
"supplierOrderNumberDO": "<string>",
"ownerCode": "<string>",
"procurementTypeCode": "<string>",
"procurementGroup": "<string>",
"procurementGroupDescription": "<string>",
"supplierCode": "<string>",
"supplierName": "<string>",
"expectedReceiptDate": "2023-11-07T05:31:56Z",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customField5": "<string>",
"customField6": "<string>",
"customField7": "<string>",
"customField8": "<string>",
"procurementEntries": [
{
"id": 123,
"activityCode": "<string>",
"dateCreation": "2023-11-07T05:31:56Z",
"dateLastUpdate": "2023-11-07T05:31:56Z",
"uniqueProcurementID": "<string>",
"lineID": "<string>",
"articleReference": "<string>",
"expectedQuantity": 123,
"supplierOrderNumberDO": "<string>",
"receptionUnitOfMeasure": "<string>",
"articlePriceAtReception": 123,
"expectedLotNumber": "<string>",
"announcedArticleDate": "2023-11-07T05:31:56Z",
"articleShippingDeadline": "2023-11-07T05:31:56Z",
"articlePCB": 123,
"articleSPCB": 123,
"lineMessage": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customField5": "<string>",
"customField6": "<string>",
"customField7": "<string>",
"customField8": "<string>",
"dateProcessed": "2023-11-07T05:31:56Z"
}
]
}
]'
Copy
{
"status": 0,
"operationId": "<string>",
"errors": {},
"passed": [
"<string>"
]
}
Authorizations
JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below. \r\n\r\nExample: 'Bearer 12345abcdef'
Query Parameters
Body
The body is of type object[]
.
Response
200
text/plain
OK
The response is of type object
.
Copy
curl --request POST \
--url https://api-ezyconnect.ezytail.com/procurements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"activityCode": "<string>",
"activityName": "<string>",
"dateCreation": "2023-11-07T05:31:56Z",
"dateLastUpdate": "2023-11-07T05:31:56Z",
"uniqueProcurementID": "<string>",
"supplierOrderNumberDO": "<string>",
"ownerCode": "<string>",
"procurementTypeCode": "<string>",
"procurementGroup": "<string>",
"procurementGroupDescription": "<string>",
"supplierCode": "<string>",
"supplierName": "<string>",
"expectedReceiptDate": "2023-11-07T05:31:56Z",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customField5": "<string>",
"customField6": "<string>",
"customField7": "<string>",
"customField8": "<string>",
"procurementEntries": [
{
"id": 123,
"activityCode": "<string>",
"dateCreation": "2023-11-07T05:31:56Z",
"dateLastUpdate": "2023-11-07T05:31:56Z",
"uniqueProcurementID": "<string>",
"lineID": "<string>",
"articleReference": "<string>",
"expectedQuantity": 123,
"supplierOrderNumberDO": "<string>",
"receptionUnitOfMeasure": "<string>",
"articlePriceAtReception": 123,
"expectedLotNumber": "<string>",
"announcedArticleDate": "2023-11-07T05:31:56Z",
"articleShippingDeadline": "2023-11-07T05:31:56Z",
"articlePCB": 123,
"articleSPCB": 123,
"lineMessage": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customField5": "<string>",
"customField6": "<string>",
"customField7": "<string>",
"customField8": "<string>",
"dateProcessed": "2023-11-07T05:31:56Z"
}
]
}
]'
Copy
{
"status": 0,
"operationId": "<string>",
"errors": {},
"passed": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.