This API is used to return a list of POI's (points of interest) setup on the Motia Telematics Portal login.
Service URL
https://ws.mycubo.online/IntegrationService.svc
Service method and input parameters
- GetPOIs (string token)
- Token- By Using below api to get the token (Instructions Here)
Service Response
- ErrorMessage - empty for successful call
Sample Response – Expired or Invalid Token
Request
Response
{
"ErrorMessage": "Token was expired."
}
Sample Response – Invalid Credentials
Request
Response
{
"ErrorMessage": "Login failed. Please enter valid username and password."
}
Sample Request – Too Many Requests Per Minute
Request
Response
{
"ErrorMessage": "Last request was 3 seconds ago. Request is allowed once per
60 second period."
}
Sample Request – Correct Request
Request
Response
[
{
"ErrorMessage": null,
"ID": 26042,
"Name": "3663 Manchester"
},
{
"ErrorMessage": null,
"ID": 18855,
"Name": "A Daisy a Day"
},
{
"ErrorMessage": null,
"ID": 1142,
"Name": "A Room In Bloom"
}
]
Comments
0 comments
Article is closed for comments.