POST api/PostCarritoPlanProteccion
Request Information
URI Parameters
None.
Body Parameters
TB_PostCarritoPP| Name | Description | Type | Additional information |
|---|---|---|---|
| idPersona | globally unique identifier |
None. |
|
| idPlanProteccion | globally unique identifier |
None. |
|
| cantidad | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPersona": "7c1f4cb5-2e59-4d0c-812a-e2ea66a67436",
"idPlanProteccion": "e297a860-e5a4-468c-94ad-53611a92e9bc",
"cantidad": 3
}
application/xml, text/xml
Sample:
<TB_PostCarritoPP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuperAPPpruebas"> <cantidad>3</cantidad> <idPersona>7c1f4cb5-2e59-4d0c-812a-e2ea66a67436</idPersona> <idPlanProteccion>e297a860-e5a4-468c-94ad-53611a92e9bc</idPlanProteccion> </TB_PostCarritoPP>
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/SuperAPPpruebas"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>