PUT api/Colaborador/AlterarConfiguracao

Request Information

URI Parameters

None.

Body Parameters

ConfiguracaoApp
NameDescriptionTypeAdditional information
IdInterno

integer

None.

GeralEmail

unsigned integer

Range: inclusive between 0 and 1

GeralSms

unsigned integer

Range: inclusive between 0 and 1

GeralWhats

unsigned integer

Range: inclusive between 0 and 1

MarketingEmail

unsigned integer

Range: inclusive between 0 and 1

MarketingSms

unsigned integer

Range: inclusive between 0 and 1

MarketingWhats

unsigned integer

Range: inclusive between 0 and 1

ColaboradorAlteracao

integer

Required

Colaborador

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdInterno": 1,
  "GeralEmail": 1,
  "GeralSms": 1,
  "GeralWhats": 1,
  "MarketingEmail": 1,
  "MarketingSms": 1,
  "MarketingWhats": 1,
  "ColaboradorAlteracao": 1,
  "Colaborador": 1
}

application/xml, text/xml

Sample:
<ConfiguracaoApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISuply.Models">
  <Colaborador>1</Colaborador>
  <ColaboradorAlteracao>1</ColaboradorAlteracao>
  <GeralEmail>1</GeralEmail>
  <GeralSms>1</GeralSms>
  <GeralWhats>1</GeralWhats>
  <IdInterno>1</IdInterno>
  <MarketingEmail>1</MarketingEmail>
  <MarketingSms>1</MarketingSms>
  <MarketingWhats>1</MarketingWhats>
</ConfiguracaoApp>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.