POST api/DiscountCode

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
discountcode
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "6d43d351-82ee-4b6f-bbcb-83a03bfd9fc0",
  "Code": "sample string 2",
  "TrainingTypeID": "1a2f4967-cb84-41b3-ac55-e3ea2f1cd4d8",
  "TrainingClassID": "e6d3abeb-cf62-43c4-838c-f2f666bec6b0",
  "StartDate": "2026-07-26T19:38:05.3512905-04:00",
  "EndDate": "2026-07-26T19:38:05.3512905-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "6b421771-07c6-4c68-aab0-095f516dcfa0",
  "Used": true,
  "UsedDateTime": "2026-07-26T19:38:05.3512905-04:00",
  "InventoryItemID": "2062d763-7e4b-4773-9018-980744e57b83"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "a56710df-bd4f-43d2-92c6-8485c73466ba",
  "Code": "sample string 2",
  "TrainingTypeID": "4624d5e1-b5c1-4ca9-b26b-53817036646c",
  "TrainingClassID": "f21536f2-c051-463e-8989-27edc31a492e",
  "StartDate": "2026-07-26T19:38:05.3512905-04:00",
  "EndDate": "2026-07-26T19:38:05.3512905-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "b37a782b-017e-4846-86b3-1710f77699ab",
  "Used": true,
  "UsedDateTime": "2026-07-26T19:38:05.3512905-04:00",
  "InventoryItemID": "6376ac25-2d09-453a-ad34-ed9f07d3c7b5"
}