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": "a6e9476d-d131-4319-a17f-1baa626d0ce7",
"Code": "sample string 2",
"TrainingTypeID": "8be49ff9-3bb2-44d4-94e4-c2675d0c887d",
"TrainingClassID": "c54ef31f-839c-4be4-9a22-639d59c2d129",
"StartDate": "2026-06-09T22:19:59.8956728-04:00",
"EndDate": "2026-06-09T22:19:59.8956728-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "0df484c8-566c-405a-8033-1e7802b2e7cc",
"Used": true,
"UsedDateTime": "2026-06-09T22:19:59.8956728-04:00",
"InventoryItemID": "916dbb2f-620c-419a-b793-dfa0c88a9791"
}
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.