POST api/DiscountCode
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
discountcode | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "DiscountCodeID": "7e81d14d-eda3-44e3-8fe0-b645edf4f13e", "Code": "sample string 2", "TrainingTypeID": "e762f0c1-6792-475d-b1ad-3314150eb1b8", "TrainingClassID": "7a67f53a-5bd9-4cc1-82f9-89d3b6f17fed", "StartDate": "2024-10-06T07:35:06.0619263-04:00", "EndDate": "2024-10-06T07:35:06.0619263-04:00", "Deleted": true, "Amount": 4.0, "PersonID": "95ee5214-f86d-43a7-94ce-afc9c813fcd0", "Used": true, "UsedDateTime": "2024-10-06T07:35:06.0619263-04:00", "InventoryItemID": "5621c944-a2d5-43ee-a441-96fe474f2dfd" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "DiscountCodeID": "182759ea-c187-4b83-bbb0-530e68facbf9", "Code": "sample string 2", "TrainingTypeID": "868ac193-ef5e-41e4-ad3e-566122795d57", "TrainingClassID": "2245aa41-214f-4ac1-bbe3-8bf0b57db60d", "StartDate": "2024-10-06T07:35:06.0668817-04:00", "EndDate": "2024-10-06T07:35:06.0668817-04:00", "Deleted": true, "Amount": 4.0, "PersonID": "222966fd-2027-4871-8be3-aa8f3cd76913", "Used": true, "UsedDateTime": "2024-10-06T07:35:06.0668817-04:00", "InventoryItemID": "f58795f5-319a-471c-a3b3-88299b28182c" }