GET api/Personnel/GetStatus?employeeId={employeeId}
Получение текущего статуса Сотрудника.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeId |
Id Сотрудника |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Статус
GetStatusResultName | Description | Type | Additional information |
---|---|---|---|
Data |
Статус (наименование) |
string |
None. |
Result |
Результат обработки запроса |
boolean |
None. |
Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": "sample string 1", "Result": true, "Message": "sample string 3" }
application/xml, text/xml
Sample:
<GetStatusResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models"> <Message>sample string 3</Message> <Result>true</Result> <Data>sample string 1</Data> </GetStatusResult>