GET api/mt_employees/authorized-by-pos-name/{pos_name}?onlyRRPP={onlyRRPP}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pos_name | string |
Required |
|
| onlyRRPP | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of employee_authorized| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdMask | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| ExternalId | string |
None. |
|
| Authorization | boolean |
None. |
|
| IdEmployeeProfile | globally unique identifier |
None. |
|
| ViewPos | boolean |
None. |
|
| Active | boolean |
None. |
|
| EmployeeProfile | employee_profile |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id": "752de31e-0c35-4acd-8fe3-d118f0ccc015",
"idMask": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"externalId": "sample string 5",
"authorization": true,
"idEmployeeProfile": "7da2de03-2b26-4e09-b143-acc1b7263c28",
"viewPos": true,
"active": true,
"employeeProfile": {
"$id": "2",
"id": "26bce08d-a824-484a-bb3e-be509d6a8858",
"idMask": "sample string 2",
"name": "sample string 3",
"authorized": true,
"active": true
}
},
{
"$ref": "1"
}
]