By using this website, you agree to our Terms of Use (click here)
Hello,
Having this schema:
POST https://tryisv.acumatica.com/odata/CData/CommissionData HTTP/1.1
Host: tryisv.acumatica.com
Authorization: Basic ***
Accept-Encoding: gzip, deflate
User-Agent: CData Data Provider Engine - www.cdata.com - Accepts: gzip
Cookie: UserBranch=; LegacyUI=0; path=/; Locale=TimeZone=GMTE0000U&Culture=en-US
Content-Type: application/atom+xml
Content-Length: 528
MinDataServiceVersion: 3.0
accept: application/atom+xml,application/atomsvc+xml,application/xml
MaxDataServiceVersion: 3.0
<entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="PX.Data.CommissionData" />
<content type="application/xml">
<m:properties>
<d:SalespersonID m:type="Edm.String">SP0002</d:SalespersonID>
<d:Customer m:type="Edm.String">CJOEQUIP</d:Customer>
</m:properties>
</content>
</entry>
I get a 404 Not Found status response with the following message:
No HTTP resource was found that matches the request URI 'https://tryisv.acumatica.com/odata/CData/CommissionData'.
inner message: No routing convention was found to select an action for the OData path with template '~/entityset'.
Appreciate your help on this.
For the URL of the Acumatica ERP OData endpoint, use one of the following:
-
- <InstanceURL>/OData/<TenantName>/, where <InstanceURL> is the URL of your Acumatica ERP instance and <TenantName> is the login name of the tenant in the Acumatica ERP instance for which you configured inquiries in a multitenant configuration.
you probably need to check you tenants name.
GET and PATCH requests to the same url are successful. POST is the only one failing.
Odata build on GI in different tables, it might not suppot post.
if you wanna update data within API, probably look at web service.
Agreed. OData only lets you read data.
Here's a note from an Acumatica Developer Webinar:
https://twitter.com/TimRodman/status/1204579987782799360