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": "16603c0b-2faa-4d04-a8ee-b2d215126216", "Code": "sample string 2", "TrainingTypeID": "850d8c2b-665e-4175-81f8-f9065924c19b", "TrainingClassID": "db7eab2f-3c43-42fd-9b21-6ec4899ef0cd", "StartDate": "2025-09-13T13:56:50.3389037-04:00", "EndDate": "2025-09-13T13:56:50.3389037-04:00", "Deleted": true, "Amount": 4.0, "PersonID": "64cb12a2-b9a2-40f0-b3e2-0a04211e508c", "Used": true, "UsedDateTime": "2025-09-13T13:56:50.3389037-04:00", "InventoryItemID": "1581a6ba-85ef-493c-896a-85ceec2e6995" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "DiscountCodeID": "1997261a-41f1-403d-8d0a-657e39d63e6d", "Code": "sample string 2", "TrainingTypeID": "bc8d4482-1d56-460f-a8f1-b7f58525b21f", "TrainingClassID": "8cadf884-974f-4b5f-997e-503528fb8cd2", "StartDate": "2025-09-13T13:56:50.3545405-04:00", "EndDate": "2025-09-13T13:56:50.3545405-04:00", "Deleted": true, "Amount": 4.0, "PersonID": "82120e90-7d44-45ba-b487-a08ae98ee092", "Used": true, "UsedDateTime": "2025-09-13T13:56:50.3545405-04:00", "InventoryItemID": "71ebc2b7-1349-4d6f-b2d5-6ab461a963a0" }