PUT api/dependente/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
novoDependentePUTModel| Name | Description | Type | Additional information |
|---|---|---|---|
| tipo | string |
None. |
|
| limite | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"tipo": "sample string 1",
"limite": 2.0
}
application/xml, text/xml
Sample:
<novoDependentePUTModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models"> <limite>2</limite> <tipo>sample string 1</tipo> </novoDependentePUTModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespostaPadraoSimples| Name | Description | Type | Additional 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>