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-04T22:42:41.5391153+03:00", "endDate": "2025-08-04T22:42:41.5391153+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "e4587a10-ec93-4713-8f0d-7389f670611b", "id": "a3dedf9f-8c83-4a69-8ef0-ca1f0b972bf2", "companyID": "455433ad-4b72-44cf-a204-20eb77722b3b" }
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>455433ad-4b72-44cf-a204-20eb77722b3b</CompanyID> <ID>a3dedf9f-8c83-4a69-8ef0-ca1f0b972bf2</ID> <Amount>6</Amount> <EndDate>2025-08-04T22:42:41.5391153+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>e4587a10-ec93-4713-8f0d-7389f670611b</RecipeID> <StartDate>2025-08-04T22:42:41.5391153+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-08-04T22:42:41.5391153+03:00","endDate":"2025-08-04T22:42:41.5391153+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"e4587a10-ec93-4713-8f0d-7389f670611b","id":"a3dedf9f-8c83-4a69-8ef0-ca1f0b972bf2","companyID":"455433ad-4b72-44cf-a204-20eb77722b3b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.