POST api/PostAPNP
Request Information
URI Parameters
None.
Body Parameters
TB_PostOperacionAPNPECE| Name | Description | Type | Additional information |
|---|---|---|---|
| idPersona | globally unique identifier |
None. |
|
| numDuchas | integer |
None. |
|
| numCepillado | integer |
None. |
|
| numDefeca | integer |
None. |
|
| numHabitaciones | integer |
None. |
|
| numHabitantes | integer |
None. |
|
| idTipoConstruccion | globally unique identifier |
None. |
|
| banAgua | boolean |
None. |
|
| banGas | boolean |
None. |
|
| banLuz | boolean |
None. |
|
| banDrenaje | boolean |
None. |
|
| banVentilacion | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPersona": "0d7aa579-0a67-4eca-b5b1-bdaa814abc2e",
"numDuchas": 2,
"numCepillado": 3,
"numDefeca": 4,
"numHabitaciones": 5,
"numHabitantes": 6,
"idTipoConstruccion": "02194352-f046-4fe8-962f-6e8e5466fc10",
"banAgua": true,
"banGas": true,
"banLuz": true,
"banDrenaje": true,
"banVentilacion": true
}
application/xml, text/xml
Sample:
<TB_PostOperacionAPNPECE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VC_Med_Ecuador_pr"> <banAgua>true</banAgua> <banDrenaje>true</banDrenaje> <banGas>true</banGas> <banLuz>true</banLuz> <banVentilacion>true</banVentilacion> <idPersona>0d7aa579-0a67-4eca-b5b1-bdaa814abc2e</idPersona> <idTipoConstruccion>02194352-f046-4fe8-962f-6e8e5466fc10</idTipoConstruccion> <numCepillado>3</numCepillado> <numDefeca>4</numDefeca> <numDuchas>2</numDuchas> <numHabitaciones>5</numHabitaciones> <numHabitantes>6</numHabitantes> </TB_PostOperacionAPNPECE>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MsgRespuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| codigo | string |
None. |
|
| mensaje | string |
None. |
|
| contenido | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"codigo": "sample string 1",
"mensaje": "sample string 2",
"contenido": {}
}
application/xml, text/xml
Sample:
<MsgRespuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VC_Med_Ecuador_pr"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>