GET api/Planos/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Plano| Name | Description | Type | Additional information |
|---|---|---|---|
| Codigo | integer |
None. |
|
| Nome | string |
None. |
|
| Acrescimo | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Codigo": 1,
"Nome": "sample string 2",
"Acrescimo": 1.0
}
application/xml, text/xml
Sample:
<Plano xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSolar.Models"> <Acrescimo>1</Acrescimo> <Codigo>1</Codigo> <Nome>sample string 2</Nome> </Plano>