Organisation
/organisations/tree π§ͺ
GET apiURL/organisations/tree
Get all organisations you have access to (tree view with childs).
{
"data": [ // Array or parent organisations
{
"uuid": "8d303e2e-3fa2-11e6-a919-21ebcd67fa73", // Organisation UUID
"name": "OOCAR", // Organisation Name
"type": "owner", // Organisation type
"created_at": "2017-05-23T00:00:00.000Z", // Organisation creation date
"childs": [ // Array of childs organisations
{
"uuid": "7af251ba-3fa2-11e7-b119-62ebcb67de24", // Organisation UUID
"name": "GARAGE DES PALMIERS", // Organisation Name
"type": "dealership", // Organisation type
"created_at": "2017-05-23T00:00:00.000Z", // Organisation creation date
"childs": null // Array of childs organisations
},
{
"uuid": "21a008a4-1fc1-13e7-a649-62edcb62ab57", // Organisation UUID
"name": "ANGERS", // Organisation Name
"type": "dealership", // Organisation type
"created_at": "2017-05-23T00:00:00.000Z", // Organisation creation date
"childs": null // Array of childs organisations
}
]
}
]
}/organisations π§ͺ
GET apiURL/organisations
Get all organisations you have access to.
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
/organisation/:uuid π§ͺ
GET apiURL/organisation/:uuid
Get an organisation by UUID.
Path Parameters
uuid
string
Organisation UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1
Query Parameters
fields
string
/:uuid/organisations π§ͺ
GET apiURL/organisation/:uuid/organisations
Get all child organisations of an organisation.
Path Parameters
uuid
string
Organisation UUID ex: 7735a0fb-025b-4fb9-be9f-34d646d84c0f
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
/:uuid/users π§ͺ
GET apiURL/organisation/:uuid/users
Get all users attached to an organisation.
Path Parameters
uuid
string
Organisation UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
/:uuid/trips π§ͺ
GET apiURL/organisation/:uuid/trips
Get all trips made by users attached to an organisation.
Path Parameters
uuid
string
Organisation UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
/:uuid/vehicles π§ͺ
GET apiURL/organisation/:uuid/vehicles
Get all vehicles attached to an organisation.
Path Parameters
uuid
string
Organisation UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
/:uuid/devices π§ͺ
GET apiURL/organisation/:uuid/devices
Get all devices attached to an organisation.
Path Parameters
uuid
string
Organisation UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1
Query Parameters
skip
number
filter
string
orderby
string
limit
number
fields
string
Last updated
Was this helpful?