POST api/Estado
Request Information
URI Parameters
None.
Body Parameters
EstadoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| estadoNombre | string |
None. |
|
| paisId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"estadoNombre": "sample string 1",
"paisId": 2
}
application/xml, text/xml
Sample:
<EstadoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <estadoNombre>sample string 1</estadoNombre> <paisId>2</paisId> </EstadoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EstadoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
|
| responseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"responseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<EstadoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </EstadoResponse>