Studebaker Submetering API Services

<back to all web services

Login

The following routes are available for this service:
All Verbs/login/Log the user in, and retrieve a login tokenAn invalid username/password will return an empty response

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/Login HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: text/csv
Content-Length: length

RequestIpAddress,Username,Password,PasswordHash
String,String,String,String

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

LoginToken,LastLogin,LastLoginUtc,FormattedLastLogin,UserType,UserId,Name,NewPasswordRequired,EmailAddress,UpdatePasswordId,ResponseStatus
String,0001-01-01,0001-01-01,String,0,String,String,False,String,String,"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}"