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": "cba59521-4aea-4065-abe8-3cb82061b497",
"Code": "sample string 2",
"TrainingTypeID": "fe0ef7bf-c72a-47c8-8e0e-26db99263bc9",
"TrainingClassID": "c6901094-4d9b-4204-8b9a-9d0f5951dbed",
"StartDate": "2025-09-13T13:51:27.6763454-04:00",
"EndDate": "2025-09-13T13:51:27.6763454-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "4420578a-03a3-4c0f-9cdb-c8cedd1698df",
"Used": true,
"UsedDateTime": "2025-09-13T13:51:27.6763454-04:00",
"InventoryItemID": "9ba9255a-ce30-4882-b370-72fd1282d8bf"
}
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.