How can I receive purchase orders by API REST
Dear,
I kindly request your help to receive purchase orders, I am trying to do it through the API.
/fscmRestApi/resources/11.13.18.05/receivingReceiptRequests
with the upload
{
“ReceiptSourceCode” : ‘VENDOR’,
“VendorId” : ‘300000002066019’,
“lines” : [ {
“ReceiptSourceCode” : ‘VENDOR’,
“SourceDocumentCode” : ‘PO’,
“TransactionType” : ‘RECEIVE’,
“AutoTransactCode” : ‘RECEIVE’,
“OrganizationCode” : ‘XXXXPRAS’,
“Subinventory” : ‘RAW’,
“DocumentNumber” : ‘PO60168’,
“DocumentLineNumber” : ‘1’,
“OrganizationCode” : ‘XXXPRAS’,
“VendorId” : 300000002066019
“OrganizationCode” : ‘XXXPRAS’,
“Quantity” : 16
} ]
}
But it is returning me an error in the response and no change is seen in the PO, please your help.