GET api/Personnel/GetAreas_ByEmploeeID?EmpId={EmpId}
Получение списка веток закрепленных за сотрудником
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
EmpId |
ИД сотрудника |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetAreasListResultName | Description | Type | Additional information |
---|---|---|---|
Data |
Список веток |
Collection of integer |
None. |
Result |
Результат обработки запроса |
boolean |
None. |
Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ 1, 2 ], "Result": true, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<GetAreasListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models"> <Message>sample string 2</Message> <Result>true</Result> <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:short>1</d2p1:short> <d2p1:short>2</d2p1:short> </Data> </GetAreasListResult>