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/ProviderTransferRequest HTTP/1.1
Host: api.kidkare.com
Content-Type: application/json
Content-Length: length
{"userAuthId":0,"username":"String","password":"String","firstName":"String","lastName":"String","email":"String","sponsorId":0,"siteId":"00000000000000000000000000000000","isAccounting":false,"isForceProvider":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"success":false,"log":"String","groups":[[{"donorChildId":"00000000000000000000000000000000","donorFirstName":"String","donorLastName":"String","donorDob":"0001-01-01T00:00:00.0000000","recipientChildId":"00000000000000000000000000000000","recipientFirstName":"String","recipientLastName":"String","recipientDob":"0001-01-01T00:00:00.0000000","recipientHasInvoices":false,"transferInvoices":false,"donorIsNewer":false,"resolve":"None","fullMatch":true,"partialMatch":false}]]}