To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/DeleteUser HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"}