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": "6944a61a-5dc5-4665-82cb-c83babe0d9f7",
  "Code": "sample string 2",
  "TrainingTypeID": "a272fdc1-f076-472e-b8aa-b5374c1f2bf2",
  "TrainingClassID": "954410ff-cb5e-4b36-8ef0-3091125746b8",
  "StartDate": "2025-04-23T01:29:27.2212986-04:00",
  "EndDate": "2025-04-23T01:29:27.2212986-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "11a5a3e8-0bf9-40f4-88e9-6c439b349ace",
  "Used": true,
  "UsedDateTime": "2025-04-23T01:29:27.2212986-04:00",
  "InventoryItemID": "d82250d0-e3da-47f0-92ba-b1d06727f421"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "3ba35ecb-dc21-490d-bb8a-72c850e1552a",
  "Code": "sample string 2",
  "TrainingTypeID": "3e9e88c4-31a9-446c-854e-238d8baba53d",
  "TrainingClassID": "573fc86e-43d4-41fd-b009-eb760ac3334d",
  "StartDate": "2025-04-23T01:29:27.2252988-04:00",
  "EndDate": "2025-04-23T01:29:27.2252988-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "1945bec3-442f-49f3-a37d-0e92ceea837a",
  "Used": true,
  "UsedDateTime": "2025-04-23T01:29:27.2252988-04:00",
  "InventoryItemID": "4c58d8cf-8df2-4658-8ddd-fdc2bd918b06"
}