POST api/zona_horaria/registrar
Request Information
URI Parameters
None.
Body Parameters
ScheduleZone| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| nombre | string |
None. |
|
| dif_hora | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"nombre": "sample string 2",
"dif_hora": 1
}
application/xml, text/xml
Sample:
<ScheduleZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models.Checker"> <dif_hora>1</dif_hora> <id>1</id> <nombre>sample string 2</nombre> </ScheduleZone>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Respuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| resultado | integer |
None. |
|
| mensaje | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"resultado": 1,
"mensaje": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models"> <data /> <mensaje>sample string 2</mensaje> <resultado>1</resultado> </Respuesta>