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": "8a44840d-e314-4eb8-a45e-6e16a7f21847",
"Code": "sample string 2",
"TrainingTypeID": "042dc9ae-b6b7-46a9-ba52-63674f419737",
"TrainingClassID": "0f6a5641-cff8-4901-9e4b-12da5ecb8eaf",
"StartDate": "2026-02-24T17:32:30.0118661-05:00",
"EndDate": "2026-02-24T17:32:30.0118661-05:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "57291de6-2181-44a5-b8b1-8e2edbbe2b93",
"Used": true,
"UsedDateTime": "2026-02-24T17:32:30.0118661-05:00",
"InventoryItemID": "a3ebd96f-6bf5-40bd-9748-89d9c58ec0af"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "5f80a742-1259-4f82-ad36-d5405463bac0",
"Code": "sample string 2",
"TrainingTypeID": "8e4a2b45-7803-449d-a42f-e13cfdea7991",
"TrainingClassID": "933e4ab8-fbc3-4724-9c8b-4cb283488253",
"StartDate": "2026-02-24T17:32:30.0118661-05:00",
"EndDate": "2026-02-24T17:32:30.0118661-05:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "a9489840-eb86-4329-8ccd-ea44aac9c183",
"Used": true,
"UsedDateTime": "2026-02-24T17:32:30.0118661-05:00",
"InventoryItemID": "90682615-aee1-4652-bfb5-14b6dc979e7b"
}