POST api/dependente

Request Information

URI Parameters

None.

Body Parameters

novoDependenteModel
NameDescriptionTypeAdditional information
celular

string

None.

tipo

string

None.

limite

decimal number

None.

loja_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "celular": "sample string 1",
  "tipo": "sample string 2",
  "limite": 3.0,
  "loja_id": 1
}

application/xml, text/xml

Sample:
<novoDependenteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <celular>sample string 1</celular>
  <limite>3</limite>
  <loja_id>1</loja_id>
  <tipo>sample string 2</tipo>
</novoDependenteModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespostaPadraoSimples
NameDescriptionTypeAdditional information
status

string

None.

mensagem

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "mensagem": "sample string 2"
}

application/xml, text/xml

Sample:
<RespostaPadraoSimples xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <mensagem>sample string 2</mensagem>
  <status>sample string 1</status>
</RespostaPadraoSimples>