POST api/DiscountCode
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| discountcode | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "261e220c-a6b2-45ef-b810-040c7fa4a350",
"Code": "sample string 2",
"TrainingTypeID": "7f02451a-905d-457c-9a2a-8ad7bc4fedf0",
"TrainingClassID": "3dea1753-4f51-4539-81fc-82e148ad8893",
"StartDate": "2026-04-27T13:32:56.8146794-04:00",
"EndDate": "2026-04-27T13:32:56.8146794-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "006464b3-3438-4c7d-8678-1aa9a3e8cad8",
"Used": true,
"UsedDateTime": "2026-04-27T13:32:56.8146794-04:00",
"InventoryItemID": "93a1f060-eb75-4b82-b3ab-690d24e7ed31"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "ab88a0fc-d5c6-4acd-b78b-5c9c422fdba1",
"Code": "sample string 2",
"TrainingTypeID": "fe6cb1b3-d391-445b-bb95-977252482b6c",
"TrainingClassID": "2a03b85b-ff6e-4df0-9767-baa22063a059",
"StartDate": "2026-04-27T13:32:56.8146794-04:00",
"EndDate": "2026-04-27T13:32:56.8146794-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "0692c25a-1ab1-4809-9981-26aab76c5ae8",
"Used": true,
"UsedDateTime": "2026-04-27T13:32:56.8146794-04:00",
"InventoryItemID": "889e3af4-956e-4042-9d82-980809504e86"
}