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-29T12:28:37.8485633+03:00", "endDate": "2025-08-29T12:28:37.8485633+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "98abeecd-8c73-440b-9b71-c9528c5c98c0", "id": "ec0af098-1d9e-4e27-96e3-a130d340914a", "companyID": "7a35b7ea-3a23-4db5-b8b3-ea4b1c707148" }
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>7a35b7ea-3a23-4db5-b8b3-ea4b1c707148</CompanyID> <ID>ec0af098-1d9e-4e27-96e3-a130d340914a</ID> <Amount>6</Amount> <EndDate>2025-08-29T12:28:37.8485633+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>98abeecd-8c73-440b-9b71-c9528c5c98c0</RecipeID> <StartDate>2025-08-29T12:28:37.8485633+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-08-29T12:28:37.8485633+03:00","endDate":"2025-08-29T12:28:37.8485633+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"98abeecd-8c73-440b-9b71-c9528c5c98c0","id":"ec0af098-1d9e-4e27-96e3-a130d340914a","companyID":"7a35b7ea-3a23-4db5-b8b3-ea4b1c707148"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.