PUT Update
Request Information
URI Parameters
None.
Body Parameters
CompanyAccountActionUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Month | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
PromotionCode | string |
None. |
|
Package | string |
None. |
|
Amount | decimal number |
None. |
|
RecipeID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "month": 1, "startDate": "2025-05-24T18:09:30.9235584+03:00", "endDate": "2025-05-24T18:09:30.9235584+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "261f76bd-699c-45c3-b91d-f53f01986049", "id": "de9d655e-12ae-4b70-a810-47c2ffa18818", "companyID": "053cb7e3-a61e-4966-88a8-99834a701404" }
application/xml, text/xml
Sample:
<CompanyAccountActionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>053cb7e3-a61e-4966-88a8-99834a701404</CompanyID> <ID>de9d655e-12ae-4b70-a810-47c2ffa18818</ID> <Amount>6</Amount> <EndDate>2025-05-24T18:09:30.9235584+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>261f76bd-699c-45c3-b91d-f53f01986049</RecipeID> <StartDate>2025-05-24T18:09:30.9235584+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-05-24T18:09:30.9235584+03:00","endDate":"2025-05-24T18:09:30.9235584+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"261f76bd-699c-45c3-b91d-f53f01986049","id":"de9d655e-12ae-4b70-a810-47c2ffa18818","companyID":"053cb7e3-a61e-4966-88a8-99834a701404"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.