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 .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/UpdateProperty HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: text/csv
Content-Length: length

PropertyId,ContactName,Email,Password,CompanyName,Phone,PhoneExtension,Mobile,Fax,FaxExtension,Address1,Address2,Address3,City,State,ZipCode,IntegrationCode,RequestIpAddress,Token
0,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Properties,ResponseStatus
"[{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:0001-01-01,totalDollarAmount:0,totalCount:0}],isCollectable:False,rubsFilesAreAvailable:False,password:String}]","{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}"