POST api/manager/phones/line/edit

Request Information

URI Parameters

None.

Body Parameters

EditParam
NameDescriptionTypeAdditional information
Id

integer

None.

Key

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Key": "sample string 2",
  "Value": "sample string 3"
}

text/html

Sample:
{"Id":1,"Key":"sample string 2","Value":"sample string 3"}

application/xml, text/xml

Sample:
<EditParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Id>1</Id>
  <Key>sample string 2</Key>
  <Value>sample string 3</Value>
</EditParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EditParam'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>