GET workUnit/get?Name={Name}&Token={Token}

Retrieve detail of a working unit by name. Privilege "View" of licensed agenda "Work units" required.

Request Information

Authorization

  • Authorization by token required

Availability

  • Method can be used

URI Parameters

NameDescriptionTypeAdditional 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 CodeError NumberDescription
200 request succesfully done 0 successfully done
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 [{0}]
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 unit [{0}] not found
415 unsupported Media Type The request entity has a media type which the server or resource does not support. Only application/json and application/xml are supported
500 internal error Server exception description

Resource Description

WorkUnitGetResp
NameDescriptionTypeAdditional information
Name

Working unit name

string

None.

Code

Working unit code

string

None.

Description

Description

string

None.

DifficultEnvironment

Difficult environment

boolean

None.

TimeLastChange

The last change time of the data record. Can be used to check manual modification of data record

date

None.

Response Formats

application/json

Sample:
{"Name":"Strategic development unit","Code":"SDU","Description":"Some description of the unit","DifficultEnvironment":false,"TimeLastChange":"\/Date(1761748058875)\/"}

application/xml

Sample:

<Response>
  <Name>Strategic development unit</Name>
  <Code>SDU</Code>
  <Description>Some description of the unit</Description>
  <DifficultEnvironment>false</DifficultEnvironment>
  <TimeLastChange>2025-10-29T14:27:38.8751944Z</TimeLastChange>
</Response>