POST api/Users/{id}/MoveActiveAgrimentsToUser/{target}?setAlternate={setAlternate}
Передать активные согласования одного пользователя другому
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
От какого пользователя передаются согласования |
integer |
Required |
target |
Какому пользователю передаются согласования |
integer |
Required |
setAlternate |
Сохранить в заместители |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Success Resource Description
Collection of OperationResultName | Description | Type | Additional information |
---|---|---|---|
Target |
Возвращаемый объект |
Object |
None. |
Status |
Статус операции |
ResultStatus |
None. |
Error |
Детализация ошибки |
Error |
None. |
Error Resource Description (Реализовано не везде)
OperationResultName | Description | Type | Additional information |
---|---|---|---|
Target |
Возвращаемый объект |
Object |
None. |
Status |
Статус операции |
ResultStatus |
None. |
Error |
Детализация ошибки |
Error |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Target": {}, "Status": 0, "Error": { "Code": 0, "Message": "sample string 1", "Description": "sample string 2", "Details": [] } }, { "Target": {}, "Status": 0, "Error": { "Code": 0, "Message": "sample string 1", "Description": "sample string 2", "Details": [] } } ]
text/html, multipart/form-data
Sample:
[{"Target":{},"Status":0,"Error":{"Code":0,"Message":"sample string 1","Description":"sample string 2","Details":[]}},{"Target":{},"Status":0,"Error":{"Code":0,"Message":"sample string 1","Description":"sample string 2","Details":[]}}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.