POST api/Customer/SetAbonentComment

Request Information

URI Parameters

None.

Body Parameters

UpdateAbonCommentRequest
NameDescriptionTypeAdditional information
agreementId

integer

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "agreementId": 1,
  "comment": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateAbonCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto">
  <agreementId>1</agreementId>
  <comment>sample string 2</comment>
</UpdateAbonCommentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InfoResult
NameDescriptionTypeAdditional 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:
<InfoResult 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>
</InfoResult>