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": "d33d9864-67ec-48e0-8159-8934660d011b",
  "Code": "sample string 2",
  "TrainingTypeID": "7d8b4262-706d-4c57-8682-9c7216651a19",
  "TrainingClassID": "80626b34-a3f6-4b26-9c0e-4a598a00702e",
  "StartDate": "2026-03-13T09:05:07.6900179-04:00",
  "EndDate": "2026-03-13T09:05:07.6900179-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "e15b5c95-01e9-4a98-ab1f-5d9fe6f41294",
  "Used": true,
  "UsedDateTime": "2026-03-13T09:05:07.6900179-04:00",
  "InventoryItemID": "a2ce03d1-d312-412e-b4fd-6696a37dc93d"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "72d61b69-145a-444f-aade-c00779dc5bf9",
  "Code": "sample string 2",
  "TrainingTypeID": "dfc7e4ef-d20e-42df-beda-2d9afd00d997",
  "TrainingClassID": "0885c9cc-13ce-427a-8e1c-fd79058320c5",
  "StartDate": "2026-03-13T09:05:07.7056427-04:00",
  "EndDate": "2026-03-13T09:05:07.7056427-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "3f3efdf4-02ee-4f95-8a48-b69052840c4c",
  "Used": true,
  "UsedDateTime": "2026-03-13T09:05:07.7056427-04:00",
  "InventoryItemID": "e5c05005-13c2-4c3d-8f00-c222ce987e9f"
}