This API returns a list of vehicle registrations accessible by the API user account used to retrieve the authentication token. This is useful for passing in to subsequent API calls that require vehicle registrations.
Service URL
https://ws.mycubo.online/IntegrationService.svc
Service method and input parameters
GetAssetReg(string token)
Token
By Using below API get the token
(https://ws.mycubo.online/IntegrationService.svc/AuthorizeUser?username=nibcapi&password=nibcapi)
Service Response
- ErrorMessage - empty for successful call
- Assets – list of data
Sample Response – Expired or Invalid Token
Request
Response
{
"AssetsRegistration": null,
"ErrorMessage": "Token was expired."
}
Sample Response – Invalid Credentials
Request
Response
{
"AssetsRegistration ": null,
"ErrorMessage": "Login failed. Please enter valid username and password."
}
Sample Request – Too Many Requests Per Minute
Request
Response
{
"AssetsRegistration ": null,
"ErrorMessage": "Last request was 3 seconds ago. Request is allowed once per
10 second period."
}
Sample Request – Correct Request
Request
Response
{
"AssetsRegistration": "11D57680,11D59070”–
"ErrorMessage": null
}
Comments
0 comments
Article is closed for comments.