POST {language}/admin/promotionCodeManagement/promotionCodeHistory/insert
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
InsertPromotionCodeHistoryRequestName | Description | Type | Additional information |
---|---|---|---|
PromotionCode | string |
None. |
|
PaymentDate | date |
None. |
|
PaymentAmount | decimal number |
None. |
|
Currency | string |
None. |
|
Customer | string |
None. |
|
Discount | decimal number |
None. |
|
Partner | string |
None. |
|
Comission | decimal number |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PromotionCode": "sample string 1", "PaymentDate": "2025-04-27T10:24:20.0488965+00:00", "PaymentAmount": 1.0, "Currency": "sample string 2", "Customer": "sample string 3", "Discount": 1.0, "Partner": "sample string 4", "Comission": 1.0, "RequestId": "664f2e64-bee2-4507-95e6-164cc9d88ffb", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }
application/xml, text/xml
Sample:
<InsertPromotionCodeHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">664f2e64-bee2-4507-95e6-164cc9d88ffb</RequestId> <Comission>1</Comission> <Currency>sample string 2</Currency> <Customer>sample string 3</Customer> <Discount>1</Discount> <Partner>sample string 4</Partner> <PaymentAmount>1</PaymentAmount> <PaymentDate>2025-04-27T10:24:20.0488965+00:00</PaymentDate> <PromotionCode>sample string 1</PromotionCode> </InsertPromotionCodeHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.