How can we help?

Searching:

0 results found

Groups/Get (Specific)

GET /odata/Groups/[groupId]

Description

Gets the details of a specific Group, as specified by the Group’s ID. This ID is returned in the response of the Groups/Post.

To get the details of all the Groups of the applications allowed to the logged‑in user, see Groups/Get (List).

See the following for request and response details ‒

See Also

Request ‒ Groups/Get (Specific)

Property Type Description Mandatory
id String This is the unique identifier automatically assigned by Axonize when a Group is created. This ID is returned in the response of the Groups/Post. Y

Example JSON Groups/Get (Specific) Request

curl -X GET \

https://api.stg.axonize.com/odata/groups/585b9db666701d07a8381234 \

-H ‘Authorization: Token’ \

-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E ‘

Response ‒ Groups/Get (Specific)

For the requested Group, the response provides the properties in Groups/Post.

Example JSON Groups/Get (Specific) Response

Status 200 ‒ OK

{

“@odata.context”: “https://stg-axonizeapi-axonize.stg-ase-axonize.p.azurewebsites.net/odata/$metadata#Groups/$entity”,

“info”: “south-west-depot”,

“active”: true,

“diagram”: null,

“parentId”: null,

“name”: “south-west-depot”,

“id”: “585b9db666701d07a8381234”,

“appId”: “801A048A-9F23-429F-BF0D-B6D35B22771E”,

“createDate”: “0001-01-01T00:00:00Z”,

“createUser”: null,

“updateDate”: “0001-01-01T00:00:00Z”,

“updateUser”: null,

“deleted”: false,

“users”: [],

“devices”: [

{

“id”: “5859af31983df8100836ab8e”,

“name”: “truck 205471501”

},

{

“id”: “5859b13a983df8100836aba8”,

“name”: “truck 205952793”

}

],

“defaultLocation”: null,

“ancestors”: []}