POST api/membersConsultPromos
Request Information
URI Parameters
None.
Body Parameters
ConsultPromoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| tipoNegocio | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"tipoNegocio": 1
}
application/xml, text/xml
Sample:
<ConsultPromoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Farrera.Premium.Models.Request"> <tipoNegocio>1</tipoNegocio> </ConsultPromoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ConsultPromoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| codigoError | string |
None. |
|
| descripcionError | string |
None. |
|
| promos | Collection of Promo |
None. |
Response Formats
application/json, text/json
Sample:
{
"codigoError": "sample string 1",
"descripcionError": "sample string 2",
"promos": [
{
"promoId": 1,
"promoName": "sample string 2",
"promoUrl": "sample string 3"
},
{
"promoId": 1,
"promoName": "sample string 2",
"promoUrl": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<ConsultPromoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Farrera.Premium.Models.Response">
<codigoError>sample string 1</codigoError>
<descripcionError>sample string 2</descripcionError>
<promos>
<Promo>
<promoId>1</promoId>
<promoName>sample string 2</promoName>
<promoUrl>sample string 3</promoUrl>
</Promo>
<Promo>
<promoId>1</promoId>
<promoName>sample string 2</promoName>
<promoUrl>sample string 3</promoUrl>
</Promo>
</promos>
</ConsultPromoResponse>