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": "55160f34-e1cd-46ea-b8ec-45740b02bf66",
"Code": "sample string 2",
"TrainingTypeID": "12bac822-9fe0-4eae-acdc-731eb8de7a51",
"TrainingClassID": "8a465b08-5112-476d-81a2-51420f97a44e",
"StartDate": "2026-04-27T13:33:38.6678488-04:00",
"EndDate": "2026-04-27T13:33:38.6678488-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "c420fce3-a83f-4366-9d0d-5299aa7a613d",
"Used": true,
"UsedDateTime": "2026-04-27T13:33:38.6678488-04:00",
"InventoryItemID": "256d5339-80db-428e-bdf0-193eea9490ce"
}
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.