PUT api/DiscountCode/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | No documentation available. |
Define this parameter in the request URI. |
| discountcode | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "75b5bcb8-852f-428c-8463-c459a7dc75a2",
"Code": "sample string 2",
"TrainingTypeID": "5351900c-d7f1-4e49-b8d6-738a3789d811",
"TrainingClassID": "8dc2cd07-48ee-458f-8f42-2176e247e2cc",
"StartDate": "2026-02-24T17:33:49.374055-05:00",
"EndDate": "2026-02-24T17:33:49.374055-05:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "fa30ccc0-79a6-47d2-b1f2-8945fb4652f6",
"Used": true,
"UsedDateTime": "2026-02-24T17:33:49.374055-05:00",
"InventoryItemID": "1b19583e-ad17-4cd0-a4a0-ed3a341bdbf2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
Sample not available.