POST api/manager/phones/service/update

Request Information

URI Parameters

None.

Body Parameters

PhoneService
NameDescriptionTypeAdditional 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:

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

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>