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": "b6df16c1-c0b8-4b73-9bc9-f5104904e7a0",
"idPlanProteccion": "3fffc692-8980-436f-b528-93183b904afb",
"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>b6df16c1-c0b8-4b73-9bc9-f5104904e7a0</idPersona> <idPlanProteccion>3fffc692-8980-436f-b528-93183b904afb</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>