POST api/TestExamn/Guardar
Request Information
URI Parameters
None.
Body Parameters
TestUsuario| Name | Description | Type | Additional information |
|---|---|---|---|
| nombre | string |
None. |
|
| numero | string |
None. |
|
| escuela | string |
None. |
|
| mensaje | string |
None. |
|
| id_campana | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"nombre": "sample string 1",
"numero": "sample string 2",
"escuela": "sample string 3",
"mensaje": "sample string 4",
"id_campana": 5
}
application/xml, text/xml
Sample:
<TestUsuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models"> <escuela>sample string 3</escuela> <id_campana>5</id_campana> <mensaje>sample string 4</mensaje> <nombre>sample string 1</nombre> <numero>sample string 2</numero> </TestUsuario>
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>