DELETE api/Cupones_Tiendas/DeleteCupon_Tienda?id_Idioma={id_Idioma}&id_Cupon={id_Cupon}
Eliminamos relación o relaciones de cupón con tiendas.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id_Idioma |
Id del idioma de los mensajes. |
string |
Required |
id_Cupon |
Id del cupón tipo numérico. |
integer |
Required |
Body Parameters
objeto Cupon_TiendaView array numérica.
Cupon_TiendaViewName | Description | Type | Additional information |
---|---|---|---|
id_Tienda | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id_Tienda": [ 1, 2 ] }
application/xml, text/xml
Sample:
<Cupon_TiendaView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <id_Tienda xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </id_Tienda> </Cupon_TiendaView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Cupones_TiendasName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Id_Cupon | integer |
None. |
|
Id_Tienda | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Id_Cupon": 1, "Id_Tienda": 1 }
application/xml, text/xml
Sample:
<Cupones_Tiendas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <Id>1</Id> <Id_Cupon>1</Id_Cupon> <Id_Tienda>1</Id_Tienda> </Cupones_Tiendas>