POST api/Liberacao
Request Information
URI Parameters
None.
Body Parameters
LiberacaoPOSTModelName | Description | Type | Additional information |
---|---|---|---|
tipo | integer |
None. |
|
sentido | string |
None. |
|
cicloCompleto | boolean |
None. |
|
tag | string |
None. |
|
registro_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "tipo": 1, "sentido": "sample string 2", "cicloCompleto": true, "tag": "sample string 4", "registro_id": 5 }
application/xml, text/xml
Sample:
<LiberacaoController.LiberacaoPOSTModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Controllers"> <cicloCompleto>true</cicloCompleto> <registro_id>5</registro_id> <sentido>sample string 2</sentido> <tag>sample string 4</tag> <tipo>1</tipo> </LiberacaoController.LiberacaoPOSTModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespostaPadraoName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
mensagem | string |
None. |
|
id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "mensagem": "sample string 2", "id": 3 }
application/xml, text/xml
Sample:
<RespostaPadrao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models"> <id>3</id> <mensagem>sample string 2</mensagem> <status>sample string 1</status> </RespostaPadrao>