POST api/Customer/Abonents_UpdatePrimaryPhone

Обновление основного номера телефона

Request Information

URI Parameters

None.

Body Parameters

UpdatePhoneRequest
NameDescriptionTypeAdditional information
phone

string

None.

agreementId

integer

None.

comment

string

None.

Employee

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

bool

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>