GET api/formatos
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiResponseDTOOfListOfFormatoDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of FormatoDTO |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": [
{
"Id": 1,
"Nombre": "sample string 2",
"Estado": 3
},
{
"Id": 1,
"Nombre": "sample string 2",
"Estado": 3
}
],
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiResponseDTOOfArrayOfFormatoDTOrs12VwYp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiGALY.Models.DTOs">
<Data>
<FormatoDTO>
<Estado>3</Estado>
<Id>1</Id>
<Nombre>sample string 2</Nombre>
</FormatoDTO>
<FormatoDTO>
<Estado>3</Estado>
<Id>1</Id>
<Nombre>sample string 2</Nombre>
</FormatoDTO>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseDTOOfArrayOfFormatoDTOrs12VwYp>