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": "59c448c3-1dc8-4ed2-9882-45b4d8a912ec",
"Code": "sample string 2",
"TrainingTypeID": "c672218e-db0b-4b1b-8aff-272b1776bfb8",
"TrainingClassID": "4b116088-0391-4e44-bcdf-5447a63617b2",
"StartDate": "2025-10-29T04:23:52.1002729-04:00",
"EndDate": "2025-10-29T04:23:52.1002729-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "77ee7439-b75d-4855-938e-679db11cccd5",
"Used": true,
"UsedDateTime": "2025-10-29T04:23:52.1002729-04:00",
"InventoryItemID": "d9f6bc8d-84bf-4754-b368-2825ec34893a"
}
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.