POST api/Ciudad
Request Information
URI Parameters
None.
Body Parameters
CiudadRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ciudadNombre | string |
None. |
|
| estadoId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ciudadNombre": "sample string 1",
"estadoId": 2
}
application/xml, text/xml
Sample:
<CiudadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <ciudadNombre>sample string 1</ciudadNombre> <estadoId>2</estadoId> </CiudadRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CiudadResponse| 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:
<CiudadResponse 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> </CiudadResponse>