© 2024 Clarivate
POST /api/.../purchaseorders/{id}/edifile?ignorefile=true
Creates an EDI file based on the supplied purchase order ID. This file will be stored in the EDI folder and can be used to send a purchase order to a 3rd party vendor using FTP. Purchase Order send overview see here
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the Purchase Order. |
ignorefile | Boolean | No | Defaults to false. If true, ignore existing EDI file. |
EDI file information with file id and creation date is returned upon success.
{
"FileID": "121721093837_xpo",
"CreationDate": "2021-12-17T09:38:37.1856067-05:00"
}
Code | Description |
---|---|
200 | OK. Success |
400 |
FAILURE.
|
403 | Permission(s) not granted OR EDI is not licensed |
Permission IDs found here.
CR_AccessAcquisitions_Allow CR_PurchaseOrders_Access CR_PurchaseOrders_SendElectronicPurchaseOrders