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": "26b55a4c-2087-4964-b4e2-070e7ba19b36",
  "Code": "sample string 2",
  "TrainingTypeID": "e6d25471-1460-4a5a-8b1c-af13eceaa858",
  "TrainingClassID": "ff69e6af-30db-40bd-92d4-d70e62c3b04a",
  "StartDate": "2025-06-02T05:47:24.8286131-04:00",
  "EndDate": "2025-06-02T05:47:24.8286131-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "9ad76bcc-d1c2-419f-91fa-8101e50d4eda",
  "Used": true,
  "UsedDateTime": "2025-06-02T05:47:24.8286131-04:00",
  "InventoryItemID": "f73f5bd3-67a9-41c5-ae00-f7331983bc48"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "6d872828-82d6-4acc-a5fe-2a57fb3993db",
  "Code": "sample string 2",
  "TrainingTypeID": "83eac81a-5dca-43fb-a62b-90a08179a461",
  "TrainingClassID": "48cbf5fb-da06-44b0-b899-9aeada5da3a3",
  "StartDate": "2025-06-02T05:47:24.8326128-04:00",
  "EndDate": "2025-06-02T05:47:24.8326128-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "569a0fd1-7bd7-40c5-b2a4-2c68071d92d4",
  "Used": true,
  "UsedDateTime": "2025-06-02T05:47:24.8326128-04:00",
  "InventoryItemID": "d14b68a7-5def-49d2-91f2-4562f32a2113"
}