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": "d545b2f1-d423-4ec0-813c-c85ac668df6c",
"Code": "sample string 2",
"TrainingTypeID": "325c12e6-0375-4cef-9821-d2a07482650f",
"TrainingClassID": "0e1fa3af-b52a-4b61-9fce-055e7d72255a",
"StartDate": "2026-06-11T15:06:52.6220043-04:00",
"EndDate": "2026-06-11T15:06:52.6220043-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "f234661b-0b44-4c67-8f6a-db6da7c147f6",
"Used": true,
"UsedDateTime": "2026-06-11T15:06:52.6220043-04:00",
"InventoryItemID": "cdb1e3f0-4684-48b6-a3cc-60624c662c06"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "f26fc03e-68bc-4ff9-a797-26edf7321b70",
"Code": "sample string 2",
"TrainingTypeID": "97a1539d-4ea7-426d-bf42-02d386b2103d",
"TrainingClassID": "7ba63e08-f378-44ca-863e-021ff416546a",
"StartDate": "2026-06-11T15:06:52.6220043-04:00",
"EndDate": "2026-06-11T15:06:52.6220043-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "9fdceacb-27c6-45be-a93b-b99a63ee9f24",
"Used": true,
"UsedDateTime": "2026-06-11T15:06:52.6220043-04:00",
"InventoryItemID": "21345bbd-a58b-4fe0-9727-bbd6d0f2665c"
}