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/BucketEntryMessageRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: application/json
Content-Length: length
{"GetNewTextMessages":false,"Employee_Id":0,"DataObj":[{"AccountNumber":"String","BucketTitle":"String","FirstName":"String","LastName":"String","Office":"String","OfficeCode":"String","Office_Id":0,"RoleObject":"String","Group":"String-String","Priority":0,"Notes":"String","NextCall":"0001-01-01T00:00:00.0000000Z","ModifiedBy_Id":0,"Id":0,"Customer_Id":0,"CreatedBy_Id":0,"CompletedBy_Id":0,"BucketEntryStatus_Id":0,"Bucket_Id":0,"Active":false,"LastCalledOn":"0001-01-01T00:00:00.0000000Z","IsNC":false,"IsHighestPriority":false}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"GetNewTextMessages":false,"Employee_Id":0,"DataObj":[{"AccountNumber":"String","BucketTitle":"String","FirstName":"String","LastName":"String","Office":"String","OfficeCode":"String","Office_Id":0,"RoleObject":"String","Group":"String-String","Priority":0,"Notes":"String","NextCall":"0001-01-01T00:00:00.0000000Z","ModifiedBy_Id":0,"Id":0,"Customer_Id":0,"CreatedBy_Id":0,"CompletedBy_Id":0,"BucketEntryStatus_Id":0,"Bucket_Id":0,"Active":false,"LastCalledOn":"0001-01-01T00:00:00.0000000Z","IsNC":false,"IsHighestPriority":false}]}