To override the Content-type in your clients 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 /json/reply/UpdateTenant HTTP/1.1
Host: gallifrey.studebakersubmetering.com
Content-Type: application/json
Content-Length: length
{"tenantId":0,"title":"String","firstName":"String","lastName":"String","suffix":"String","occupancy":0,"phone":"String","phoneExtension":"String","mobile":"String","emailAddress":"String","address1":"String","address2":"String","address3":"String","city":"String","state":"String","zipCode":"String","allowEmail":false,"allowSms":false,"allowVoice":false,"pmsAccount":"String","newPassword":"String","isExempt":false,"requestIpAddress":"String","token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"tenantId":0,"title":"String","firstName":"String","lastName":"String","suffix":"String","occupancy":0,"phone":"String","phoneExtension":"String","mobile":"String","email":"String","address1":"String","address2":"String","address3":"String","city":"String","state":"String","zipCode":"String","allowEmail":false,"allowSms":false,"allowVoice":false,"pmsAccount":"String","isExempt":false}