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": "cd2ec862-bc90-4f00-948c-5f0fc3400807",
  "Code": "sample string 2",
  "TrainingTypeID": "47cf7c82-e975-40a6-9687-2f90d844972f",
  "TrainingClassID": "0477fc15-3649-48d2-8a5f-309f07e91af2",
  "StartDate": "2025-12-14T09:26:47.6716903-05:00",
  "EndDate": "2025-12-14T09:26:47.6716903-05:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "1b1274d7-31c4-47a8-aa75-3b16546442d3",
  "Used": true,
  "UsedDateTime": "2025-12-14T09:26:47.6716903-05:00",
  "InventoryItemID": "a85c958a-3749-4f83-b6d3-4a456c7cad37"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "97de7aed-8661-4565-9877-427f4e018136",
  "Code": "sample string 2",
  "TrainingTypeID": "35934c6d-3d04-4007-93ba-4e9b59959cb1",
  "TrainingClassID": "5f55dc40-d647-4c7a-8636-ffb32b3d47d3",
  "StartDate": "2025-12-14T09:26:47.6716903-05:00",
  "EndDate": "2025-12-14T09:26:47.6716903-05:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "193a4801-6449-4a8a-a230-ac171c31c465",
  "Used": true,
  "UsedDateTime": "2025-12-14T09:26:47.6716903-05:00",
  "InventoryItemID": "7744a4fe-5238-46b4-a540-ee080208c627"
}