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": "ff622844-075e-4d17-a658-3908dc71cc95",
"Code": "sample string 2",
"TrainingTypeID": "2c8ba7db-041b-4a25-a26b-e1dc5b760465",
"TrainingClassID": "cbf773a9-efbc-4426-8ac7-691d74a2632e",
"StartDate": "2026-05-13T12:39:39.9969796-04:00",
"EndDate": "2026-05-13T12:39:39.9969796-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "25c7c715-dcb8-4ae6-93c7-cca3a2014d0b",
"Used": true,
"UsedDateTime": "2026-05-13T12:39:39.9969796-04:00",
"InventoryItemID": "d8c80fd6-ae8b-40ad-b081-ed2b531f0a86"
}
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.