POST
/
procurements
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"
      }
    ]
  }
]'
{
  "status": 0,
  "operationId": "<string>",
  "errors": {},
  "passed": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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'

Body

activityCode
string
required
Required string length: 1 - 3
activityName
string
required
Required string length: 1 - 30
uniqueProcurementID
string
required
Required string length: 1 - 50
expectedReceiptDate
string
required
procurementEntries
object[]
required
dateCreation
string | null
dateLastUpdate
string | null
supplierOrderNumberDO
string | null
Maximum length: 30
ownerCode
string | null
Maximum length: 3
procurementTypeCode
string | null
Maximum length: 3
procurementGroup
string | null
Maximum length: 14
procurementGroupDescription
string | null
Maximum length: 80
supplierCode
string | null
Maximum length: 14
supplierName
string | null
Maximum length: 80
customField1
string | null
Maximum length: 200
customField2
string | null
Maximum length: 200
customField3
string | null
Maximum length: 256
customField4
string | null
Maximum length: 256
customField5
string | null
Maximum length: 256
customField6
string | null
Maximum length: 256
customField7
string | null
Maximum length: 256
customField8
string | null
Maximum length: 256

Response

200
text/plain
Success
status
enum<integer>
Available options:
0,
1,
2
operationId
string | null
errors
object | null
passed
string[] | null