POST api/manager/phones/service/insert
Request Information
URI Parameters
None.
Body Parameters
PhoneServiceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AmountOperadora | integer |
None. |
|
AmountFoneclube | integer |
None. |
|
Descricao | string |
None. |
|
ExtraOption | boolean |
None. |
|
Assinatura | boolean |
None. |
|
Editavel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "AmountOperadora": 1, "AmountFoneclube": 1, "Descricao": "sample string 2", "ExtraOption": true, "Assinatura": true, "Editavel": true }
text/html
Sample:
{"Id":1,"AmountOperadora":1,"AmountFoneclube":1,"Descricao":"sample string 2","ExtraOption":true,"Assinatura":true,"Editavel":true}
application/xml, text/xml
Sample:
<PhoneService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <AmountFoneclube>1</AmountFoneclube> <AmountOperadora>1</AmountOperadora> <Assinatura>true</Assinatura> <Descricao>sample string 2</Descricao> <Editavel>true</Editavel> <ExtraOption>true</ExtraOption> <Id>1</Id> </PhoneService>
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>