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": "faef49fd-6789-406f-96c8-ec3ee62887c4",
  "Code": "sample string 2",
  "TrainingTypeID": "af8c652e-8afd-4b5b-867c-79ce8e948f11",
  "TrainingClassID": "35d560b1-7c40-47aa-a9f5-e8c78fa6a4bf",
  "StartDate": "2025-07-02T22:30:16.6225098-04:00",
  "EndDate": "2025-07-02T22:30:16.6225098-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "01985480-f643-47a3-83bf-535abef709f3",
  "Used": true,
  "UsedDateTime": "2025-07-02T22:30:16.6225098-04:00",
  "InventoryItemID": "4ff82a25-fbfb-461d-9478-58c4db7843e8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "74646a43-4958-4d94-b545-55082e2d2833",
  "Code": "sample string 2",
  "TrainingTypeID": "c54cc05c-5bf3-4f12-9578-78f3c37f853c",
  "TrainingClassID": "2a87615c-c4b6-4ba4-8d93-f4c4f168330f",
  "StartDate": "2025-07-02T22:30:16.6235098-04:00",
  "EndDate": "2025-07-02T22:30:16.6235098-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "60722c44-2f3b-4c57-9865-be5d05a4cd12",
  "Used": true,
  "UsedDateTime": "2025-07-02T22:30:16.6235098-04:00",
  "InventoryItemID": "6397e0e2-7cca-4257-aebe-0a8b808e305f"
}