Saasu.com

API FAQ

Why am I getting a list of all entities when I try to retrieve a single entity (e.g. Contact, Invoice)?

Make sure you’re sending the request to the right URL. Most likely, you sent the request to “GET List” instead of “GET “.

Example: To retrieve a single contact, the query should be sent to:

https://.../webservices/rest/r1/Contact?wsaccesskey={YourWSAccessKey}&fileuid={YourFileUid}&uid={ContactUid}

Note that it’s “Contact” not “ContactList”. To retrieve a list of contacts matching certain criteria, make a GET request to ContactList, passing the supported criteria through query string.

If you are using our .NET RestClient Wrapper to make the call, you need to use the “GetByUid” method instead of the “Find” method.

// To retrieve a single contact:
CrudProxy proxy = new ContactProxy();
ContactDto jim = (ContactDto) proxy.GetByUid(99999);

For more info, see

Still doesn’t work? Please submit a service ticket, and make sure you include the FULL URL in the ticket.



Was this page useful?