Hi folks,
I have a requirement to update Purchase Price Agreement Items that are on a Posted Trade Agreement via an API - so far I am testing in Postman.
I can perform the GET to see what the data looks like and retrieve the Entity key (RecordId)
GET: /data/OpenSalesPriceJournalLines?cross-company=true
I then try a PATCH:
PATCH: /data/PurchasePriceAgreements(RecordId=123456789)?cross-company=true
Body:
{
/Price/: 52.12
}
But I keep receiving the message:
{
/Message/: /No HTTP resource was found that matches the request URI 'https://xxxxxxxxxxxx/data/PurchasePriceAgreements(RecordId=123456789)?cross-company=true'. No route data was found for this request./
}
Is it actually possible to update the purchase price of an item on a Posted Trade Agreement?
Thanks,
Michael