POST V2/Promotion
Request Information
URI Parameters
None.
Body Parameters
PromotionCodeGenView| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleId | globally unique identifier |
None. |
|
| Lang | Language |
None. |
|
| GenNum | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RuleId": "aa429413-cb17-4b7d-b5d0-305c2c08211b",
"Lang": 0,
"GenNum": 2
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
|
| Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {},
"Code": 4
}