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-08-05T21:21:23.3288369+03:00", "endDate": "2025-08-05T21:21:23.3288369+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "06c5aff5-2885-4955-95c8-35733e1d9ead", "id": "150d5e28-1074-4fa3-897f-f776f4f00b88", "companyID": "fd9004dd-2342-4782-b3e5-2669a012b9f9" }
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>fd9004dd-2342-4782-b3e5-2669a012b9f9</CompanyID> <ID>150d5e28-1074-4fa3-897f-f776f4f00b88</ID> <Amount>6</Amount> <EndDate>2025-08-05T21:21:23.3288369+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>06c5aff5-2885-4955-95c8-35733e1d9ead</RecipeID> <StartDate>2025-08-05T21:21:23.3288369+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-08-05T21:21:23.3288369+03:00","endDate":"2025-08-05T21:21:23.3288369+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"06c5aff5-2885-4955-95c8-35733e1d9ead","id":"150d5e28-1074-4fa3-897f-f776f4f00b88","companyID":"fd9004dd-2342-4782-b3e5-2669a012b9f9"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.