POST api/alumnos/incidencias?u={u}&t={t}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u | string |
Required |
|
| t | string |
Required |
Body Parameters
Incidencia| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| numero | string |
None. |
|
| fecha | string |
None. |
|
| centro | string |
None. |
|
| tipo | string |
None. |
|
| descripcion | string |
None. |
|
| estatus | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"numero": "sample string 2",
"fecha": "sample string 3",
"centro": "sample string 4",
"tipo": "sample string 5",
"descripcion": "sample string 6",
"estatus": "sample string 7"
}
application/xml, text/xml
Sample:
<Incidencia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models"> <centro>sample string 4</centro> <descripcion>sample string 6</descripcion> <estatus>sample string 7</estatus> <fecha>sample string 3</fecha> <id>1</id> <numero>sample string 2</numero> <tipo>sample string 5</tipo> </Incidencia>
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>