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": "f18abb6f-4898-42ba-9d03-0042dfc6c71c",
  "Code": "sample string 2",
  "TrainingTypeID": "78a7d9d7-c6ff-42a0-b6d7-fde32a7c5f03",
  "TrainingClassID": "359b6b1c-8707-4ebc-8ed1-c31cbcfb198d",
  "StartDate": "2025-01-24T19:41:06.1006287-05:00",
  "EndDate": "2025-01-24T19:41:06.1006287-05:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "ad4c4a7b-1871-41ed-a82a-6050b231b4db",
  "Used": true,
  "UsedDateTime": "2025-01-24T19:41:06.1006287-05:00",
  "InventoryItemID": "ae8fa6ab-c633-4209-89c9-3a3b8a154118"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "4fc171eb-387c-451b-ae2e-1fb535fcae9a",
  "Code": "sample string 2",
  "TrainingTypeID": "37c39075-f5f4-49a8-946d-82653dda739d",
  "TrainingClassID": "ab1050f7-5e2b-41bb-97bc-33fab1f3daf9",
  "StartDate": "2025-01-24T19:41:06.1006287-05:00",
  "EndDate": "2025-01-24T19:41:06.1006287-05:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "d2b34139-8e15-4647-a356-4c1bc354d28d",
  "Used": true,
  "UsedDateTime": "2025-01-24T19:41:06.1006287-05:00",
  "InventoryItemID": "7da8dde1-6732-4dc5-821e-3084391e150a"
}