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": "4f8c9c36-6ffe-4959-a123-5146e2768ee0",
  "Code": "sample string 2",
  "TrainingTypeID": "97b0e8da-f621-4519-9fc0-86b0e493f829",
  "TrainingClassID": "e00eddea-2414-4d28-ae79-b6810cdb4f06",
  "StartDate": "2025-04-10T00:44:39.4464195-04:00",
  "EndDate": "2025-04-10T00:44:39.4464195-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "903b525b-914e-44c5-b934-be7eda17a48c",
  "Used": true,
  "UsedDateTime": "2025-04-10T00:44:39.4464195-04:00",
  "InventoryItemID": "dd6b956f-b184-451d-bb28-2a16c9e22dfb"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "DiscountCodeID": "69347468-c355-4069-be3a-0cd09a4d5a09",
  "Code": "sample string 2",
  "TrainingTypeID": "e8f7a3eb-67ce-4f44-931e-9a8128e2a8f4",
  "TrainingClassID": "a1364287-8c65-4c42-83cf-e98483ee1fd5",
  "StartDate": "2025-04-10T00:44:39.454417-04:00",
  "EndDate": "2025-04-10T00:44:39.454417-04:00",
  "Deleted": true,
  "Amount": 4.0,
  "PersonID": "1372e362-49a4-4933-9f7b-9fcd48913983",
  "Used": true,
  "UsedDateTime": "2025-04-10T00:44:39.454417-04:00",
  "InventoryItemID": "ad7bae3e-9207-4fe6-8d25-bdbfd6ae9bd5"
}