GET api/Personnel/SetChatIdByPersonnelId?eId={eId}&chatId={chatId}
Метод изменения поля ChatId сотрудника по Employee Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eId | integer |
Required |
|
| chatId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetStatusResult| Name | 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>