I'm trying to use SDATA to create a customer but can't seem to find the proper endpoint. I've scoured the schema and have only found wkshpcustomer, but nobody seems to know what that object is.
I can, however, create an order without issue:
[POST] http://{domain}/SDataServlet/sdata/sageERP/accpac/{company}/oeorders/
<sdata:payload>
<oeorder xmlns="schemas.sage.com/sageERP">
<TERMS>CASH</TERMS>
<CUSTOMER></CUSTOMER>
</oeorder>
</sdata:payload>
When I do the same based on the following blog post (https://smist08.wordpress.com/2011/08/06/fun-with-sdata/) for creating a customer, I get the following:
<?xml version="1.0" encoding="UTF-8"?>
<sdata:diagnoses xmlns:sdata="schemas.sage.com/.../1">
<sdata:diagnosis>
<sdata:severity>error</sdata:severity>
<sdata:sdataCode>ResourceKindNotFound</sdata:sdataCode>
<sdata:message>Resource kind: CUSTOMER cannot be found in the classMap.</sdata:message>
</sdata:diagnosis>
</sdata:diagnoses>
So, how do I create a customer using SDATA?