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": "2e43e885-e93a-43d2-a18b-ca5543680c94",
"idMask": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"externalId": "sample string 5",
"authorization": true,
"idEmployeeProfile": "f0e55564-3158-4f2c-9971-5cddf8474c22",
"viewPos": true,
"active": true,
"employeeProfile": {
"$id": "2",
"id": "36782326-7fdc-4596-beb3-6c09aa58cf75",
"idMask": "sample string 2",
"name": "sample string 3",
"authorized": true,
"active": true
}
},
{
"$ref": "1"
}
]