POST api/manager/phones/plan/insert
Request Information
URI Parameters
None.
Body Parameters
PlanName | Description | Type | Additional 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:
Response Information
Resource Description
booleanResponse 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>