Update Purchase Order EDI file name

PUT /api/.../purchaseorders/{id}/edifile

Update purchase order with EDI file name and write send tranaction. Also moves the file to the user's "Done" folder. Purchase order send overview.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the Purchase Order.
dtoEDIFileInfo DtoEDIFileInfo Yes Define this parameter in the request body.
DtoEDIFileInfo
Property Type Nullable Description
FileID String No The name of the file to be updated.
CreationDate DateTime No File creation date.
Example
application/json, text/json
{
  "FileID": "121721092706_xpo",
  "CreationDate": "2021-12-17T09:27:06.0495126-05:00"
}

Response Information

True is returned upon success.

Example
application/json, text/json
true

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow
    CR_PurchaseOrders_Access
    CR_PurchaseOrders_Modify
    CR_PurchaseOrders_SendElectronicPurchaseOrders