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": "997fa3a9-2aee-49d6-a05b-f53e8a2598ef",
  "Code": "sample string 2",
  "TrainingTypeID": "d01eb9a5-0d01-46c2-b389-b0a688879945",
  "TrainingClassID": "318f7de1-6d31-4512-90d8-0693e3b483cf",
  "StartDate": "2025-10-29T04:23:55.2095777-04:00",
  "EndDate": "2025-10-29T04:23:55.2095777-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "e04d5edf-565b-430c-8718-b288b96d9930",
  "Used": true,
  "UsedDateTime": "2025-10-29T04:23:55.2095777-04:00",
  "InventoryItemID": "881218e6-937d-45ea-9c5d-b88bab73992f"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "838abc7d-8c22-4824-aa72-818c55038e2e",
  "Code": "sample string 2",
  "TrainingTypeID": "49d57d79-1c8d-48fb-b489-a56be994da24",
  "TrainingClassID": "82f688ac-ed21-4039-96b1-38fe54d28d1f",
  "StartDate": "2025-10-29T04:23:55.2095777-04:00",
  "EndDate": "2025-10-29T04:23:55.2095777-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "62336932-6a2c-4f36-a9cb-ccc20eb4e093",
  "Used": true,
  "UsedDateTime": "2025-10-29T04:23:55.2095777-04:00",
  "InventoryItemID": "43e49b40-7fe5-4ea0-ac78-2b79d478fff3"
}