GET api/Empregado
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Empregado| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Nome | string |
None. |
|
| Apelido | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Nome": "sample string 2",
"Apelido": "sample string 3"
},
{
"Id": 1,
"Nome": "sample string 2",
"Apelido": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfEmpregado xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiDemo.Models">
<Empregado>
<Apelido>sample string 3</Apelido>
<Id>1</Id>
<Nome>sample string 2</Nome>
</Empregado>
<Empregado>
<Apelido>sample string 3</Apelido>
<Id>1</Id>
<Nome>sample string 2</Nome>
</Empregado>
</ArrayOfEmpregado>