GET api/Convenio
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ConveniosModelName | Description | Type | Additional information |
---|---|---|---|
convenios | Collection of ConvenioItemModel |
None. |
|
status | string |
None. |
|
mensagem | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "convenios": [ { "id": 1, "nome": "sample string 2", "descricao": "sample string 3", "campos": [ { "id": 1, "data": "sample string 2" }, { "id": 1, "data": "sample string 2" } ] }, { "id": 1, "nome": "sample string 2", "descricao": "sample string 3", "campos": [ { "id": 1, "data": "sample string 2" }, { "id": 1, "data": "sample string 2" } ] } ], "status": "sample string 1", "mensagem": "sample string 2" }
application/xml, text/xml
Sample:
<ConveniosModel 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> <convenios> <ConvenioItemModel> <campos> <ConvenioCamposModel> <data>sample string 2</data> <id>1</id> </ConvenioCamposModel> <ConvenioCamposModel> <data>sample string 2</data> <id>1</id> </ConvenioCamposModel> </campos> <descricao>sample string 3</descricao> <id>1</id> <nome>sample string 2</nome> </ConvenioItemModel> <ConvenioItemModel> <campos> <ConvenioCamposModel> <data>sample string 2</data> <id>1</id> </ConvenioCamposModel> <ConvenioCamposModel> <data>sample string 2</data> <id>1</id> </ConvenioCamposModel> </campos> <descricao>sample string 3</descricao> <id>1</id> <nome>sample string 2</nome> </ConvenioItemModel> </convenios> </ConveniosModel>