HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/syncreply/admin.payments.list HTTP/1.1
Host: www.pbxlogin.co.za
Content-Type: application/json
Content-Length: length
{"idClient":0,"clientType":0,"fromDate":"0001-01-01T00:00:00.0000000", "toDate":"0001-01-01T00:00:00.0000000", "pageOffset":0,"pageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"payments":[{"money":0,"paymentDate":"0001-01-01T00:00:00.0000000", "paymentType":"String", "description":"String"}],"paymentsCount":0,"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}