POST V2/Promotion/CreatePromotionCode
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": "3631faf4-4f16-43d2-b558-6f2b71cf325f",
"Lang": 0,
"GenNum": 2
}
application/x-www-form-urlencoded
Sample:
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
}