Studebaker Submetering API Services

<back to all web services

UpdateProperty

The following routes are available for this service:
All Verbs/updatePropertyUpdate property information.NOTE: This is a remote call and so may fail.
If a field is not to be updated (eg password), leave it as null/blank

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/UpdateProperty HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: application/json
Content-Length: length

{"propertyId":0,"contactName":"String","email":"String","password":"String","companyName":"String","phone":"String","phoneExtension":"String","mobile":"String","fax":"String","faxExtension":"String","address1":"String","address2":"String","address3":"String","city":"String","state":"String","zipCode":"String","integrationCode":"String","requestIpAddress":"String","token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"properties":[{"propertyId":0,"name":"String","integrationCode":"String","address1":"String","address2":"String","address3":"String","city":"String","state":"String","zipCode":"String","contact":{"contactName":"String","email":"String","companyName":"String","phone":"String","phoneExtension":"String","mobile":"String","fax":"String","faxExtension":"String"},"integrationBatches":[{"batchReference":"String","dateSent":"\/Date(-62135596800000-0000)\/","totalDollarAmount":0,"totalCount":0}],"isCollectable":false,"rubsFilesAreAvailable":false,"password":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}