POST api/manager/phones/plan/insert

Request Information

URI Parameters

None.

Body Parameters

Plan
NameDescriptionTypeAdditional information
Id

integer

None.

IdOperator

integer

None.

Description

string

None.

Value

integer

None.

Active

boolean

None.

Cost

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdOperator": 2,
  "Description": "sample string 3",
  "Value": 4,
  "Active": true,
  "Cost": 5
}

text/html

Sample:
{"Id":1,"IdOperator":2,"Description":"sample string 3","Value":4,"Active":true,"Cost":5}

application/xml, text/xml

Sample:
<Plan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Active>true</Active>
  <Cost>5</Cost>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IdOperator>2</IdOperator>
  <Value>4</Value>
</Plan>

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 'Plan'.

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>