POST api/profile/update/settings

Request Information

URI Parameters

None.

Body Parameters

UserSettings
NameDescriptionTypeAdditional information
IntIdPerson

integer

None.

IsPrecoPromoSum

boolean

None.

IsPrecoFCSum

boolean

None.

IsUse2Prices

boolean

None.

IsVIP

boolean

None.

IsLinhaAtiva

boolean

None.

IsShowICCID

boolean

None.

IsShowPort

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IntIdPerson": 1,
  "IsPrecoPromoSum": true,
  "IsPrecoFCSum": true,
  "IsUse2Prices": true,
  "IsVIP": true,
  "IsLinhaAtiva": true,
  "IsShowICCID": true,
  "IsShowPort": true
}

text/html

Sample:
{"IntIdPerson":1,"IsPrecoPromoSum":true,"IsPrecoFCSum":true,"IsUse2Prices":true,"IsVIP":true,"IsLinhaAtiva":true,"IsShowICCID":true,"IsShowPort":true}

application/xml, text/xml

Sample:
<UserSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <IntIdPerson>1</IntIdPerson>
  <IsLinhaAtiva>true</IsLinhaAtiva>
  <IsPrecoFCSum>true</IsPrecoFCSum>
  <IsPrecoPromoSum>true</IsPrecoPromoSum>
  <IsShowICCID>true</IsShowICCID>
  <IsShowPort>true</IsShowPort>
  <IsUse2Prices>true</IsUse2Prices>
  <IsVIP>true</IsVIP>
</UserSettings>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.