Auth and API Base URL
Type |
URL |
---|---|
|
Response Structure
Field |
Type |
Remarks |
status |
StatusType |
Refers response status |
message |
String |
Any error message |
data |
Response data can be anything |
Can be any kind of response |
StatusType
Values |
SUCCESS |
FAILED |
API Scopes
Values |
Description |
prod/user |
User related api access |
prod/accounting |
Accounting reports related api access |
prod/transaction |
Transaction reports related api access |
Successful response example
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"status": "SUCCESS",
"data": {
"locations": [
{
"id": 20762,
"name": "Test (ikke rør enda)",
"active": true
},
{
"id": 10818,
"name": "Asia",
"active": false
}
]
}
}