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": "25ac5bfd-7b1a-4dfb-ba2d-eef1890cc6c5",
"Code": "sample string 2",
"TrainingTypeID": "aadbeeff-f912-49c4-9f1a-179d492da277",
"TrainingClassID": "eeaf0c86-e6e9-45f1-8ad1-5987cb71d393",
"StartDate": "2026-07-26T19:17:10.4118689-04:00",
"EndDate": "2026-07-26T19:17:10.4118689-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "89d0c195-0daa-4b31-adbc-e56fc97b9695",
"Used": true,
"UsedDateTime": "2026-07-26T19:17:10.4118689-04:00",
"InventoryItemID": "8df5a84e-82f9-4777-aabf-7ca98d889b37"
}
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.