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": "e0c09098-8cd4-4119-b384-9f6f40266564",
"Code": "sample string 2",
"TrainingTypeID": "72c142cc-639f-4486-b656-8dcaf9d33f2f",
"TrainingClassID": "0c9dafdf-df42-496a-adeb-58e6a3628f17",
"StartDate": "2026-01-19T01:48:26.4019367-05:00",
"EndDate": "2026-01-19T01:48:26.4019367-05:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "61c98e46-159c-497e-a090-0621ba613518",
"Used": true,
"UsedDateTime": "2026-01-19T01:48:26.4019367-05:00",
"InventoryItemID": "c4a0ea70-b645-4dbb-971f-2e736f81c96d"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "0b750cdc-3f2f-40e8-a7f4-5a12a27982bf",
"Code": "sample string 2",
"TrainingTypeID": "fa9f8c92-c006-4b80-a9fa-fad740a88e02",
"TrainingClassID": "acc48433-b80a-4d48-8a1e-ec1833a49d27",
"StartDate": "2026-01-19T01:48:26.4019367-05:00",
"EndDate": "2026-01-19T01:48:26.4019367-05:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "a09e6f62-513d-4c3b-9345-547774a2777f",
"Used": true,
"UsedDateTime": "2026-01-19T01:48:26.4019367-05:00",
"InventoryItemID": "b1263c93-e0fe-4d52-bc32-9b6e5d7ec2ec"
}