GET workUnit/getMembers?Name={Name}&Token={Token}
Retrieve all members of the working unit. Privilege "View" of licensed agenda "Work units" required. Data may also be restricted by record permission "View" of agenda "Working units" and "Persons".
Request Information
Authorization
- Authorization by token required
Availability
- Method can be used
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Name |
Working unit name |
string |
Required String length: inclusive between 0 and 100 |
Token |
The action is authorized by this token. Token should generated by calling action "POST login". Expiration time of each token is 20 seconds |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Response Codes
Http Code | Error Number | Description |
---|---|---|
200 request succesfully done | 0 | successfully done |
202 request accepted | 2205 | successfully done, but some data of the agenda Persons blocked by record permission |
400 bad request | 1002 | Entry parameter missing or parameter bindigs failed |
401 unauthorized | 1000 | Token {0} not found |
401 unauthorized | 1001 | Token {0} already expired |
401 unauthorized | 1006 | Ip filter violated for ip client address [{0}] |
401 unauthorized | 1007 | Ip filter [{0}] parsing failed |
401 unauthorized | 1008 | Request rate policy violated for [{0}] |
403 server refuses fo fulfill the request | 2200 | Privilege View of agenda Working units violated for [all] |
403 server refuses fo fulfill the request | 2202 | Record permission View of agenda Working unit and Persons violated for [{0}] |
404 required resource does not exist on the server | 2201 | Working units [{0}] not found |
404 required resource does not exist on the server | 2203 | No members of working unit [{0}] found |
404 required resource does not exist on the server | 2205 | some data of the agenda Persons blocked by record permission |
500 internal error | Server exception description |
Resource Description
WorkUnitGetMembersRespName | Description | Type | Additional information |
---|---|---|---|
Members | Collection of WorkUnitMember |
None. |
Response Formats
application/json
Sample:
{"Members":[{"PersonId":"0000125","ValidFrom":"\/Date(1732183513741)\/","ValidTo":"\/Date(1732183513741)\/"},{"PersonId":"0000069","ValidFrom":"\/Date(1732183513741)\/","ValidTo":"\/Date(1732183513741)\/"},{"PersonId":"0000247","ValidFrom":"\/Date(1732183513741)\/","ValidTo":"\/Date(1732183513741)\/"}]}
application/xml
Sample:
<Response> <Members> <WorkUnitMember> <PersonId>0000125</PersonId> <ValidFrom>2024-11-21T10:05:13.7417797Z</ValidFrom> <ValidTo>2024-11-21T10:05:13.7417797Z</ValidTo> </WorkUnitMember> <WorkUnitMember> <PersonId>0000069</PersonId> <ValidFrom>2024-11-21T10:05:13.7417797Z</ValidFrom> <ValidTo>2024-11-21T10:05:13.7417797Z</ValidTo> </WorkUnitMember> <WorkUnitMember> <PersonId>0000247</PersonId> <ValidFrom>2024-11-21T10:05:13.7417797Z</ValidFrom> <ValidTo>2024-11-21T10:05:13.7417797Z</ValidTo> </WorkUnitMember> </Members> </Response>
text/json
Sample:
{ "Members": [ {}, {} ] }
text/xml
Sample:
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Members> <WorkUnitMember /> <WorkUnitMember /> </Members> </Response>