- In lieu of providing the Client Id and Api Key, a call may be made to AuthenticateClient in the Lead web service with those credentials, and the resultant security token added to the Request Header under the key "ClientToken".
This call, and other POST calls, will set the location ID in the LocRslt structure to a negative number on failure. Here are the values related to this method:
-1: invalid credentials (API key and/or client ID)
-2: too many ids passed in. (A maximum of 1000 deletes can be processed in a single call, though it is not recommended that you do that many at once.)
-3: one or more of the ID values is invalid.
-4: one or more of the ID values was not found in the database.
-5: one or more of the ID values belongs to another client.
Note that any of these exception conditions will reject ALL submitted deletes.