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": "a3663a54-9c16-4f04-b185-f1d2f6e5558d",
  "Code": "sample string 2",
  "TrainingTypeID": "ef58b3d5-f3ac-4373-8a8f-51b28c444bab",
  "TrainingClassID": "80fd101e-42c6-4d5d-88c9-935beadea9d9",
  "StartDate": "2026-09-10T00:08:28.3206384-04:00",
  "EndDate": "2026-09-10T00:08:28.3206384-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "48c224d9-c350-4472-8dac-3ff9517de1a3",
  "Used": true,
  "UsedDateTime": "2026-09-10T00:08:28.3206384-04:00",
  "InventoryItemID": "2a9b682f-1b6a-4373-828a-bb466d9fb7d8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "b8f10225-65f8-40be-b15c-422473840ade",
  "Code": "sample string 2",
  "TrainingTypeID": "7d95d07b-c32f-48cc-bef5-1a199ef182d8",
  "TrainingClassID": "c472b260-d2f8-4ae9-94a7-fd1d3cc1fe79",
  "StartDate": "2026-09-10T00:08:28.3206384-04:00",
  "EndDate": "2026-09-10T00:08:28.3206384-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "313f378f-d8ba-4d88-aa9c-22fc12a93139",
  "Used": true,
  "UsedDateTime": "2026-09-10T00:08:28.3206384-04:00",
  "InventoryItemID": "b38cb952-1737-480b-93d4-632a6c24fadb"
}