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-07-08T22:42:56.171886+03:00", "endDate": "2025-07-08T22:42:56.171886+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "2be8cbb6-5e0c-41a4-a0fa-46a47528fda6", "id": "45e48086-3484-40d2-a3a0-ef29fa3ae9c5", "companyID": "64cda6c0-fc14-47f1-9a10-4967575270bc" }
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>64cda6c0-fc14-47f1-9a10-4967575270bc</CompanyID> <ID>45e48086-3484-40d2-a3a0-ef29fa3ae9c5</ID> <Amount>6</Amount> <EndDate>2025-07-08T22:42:56.171886+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>2be8cbb6-5e0c-41a4-a0fa-46a47528fda6</RecipeID> <StartDate>2025-07-08T22:42:56.171886+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-07-08T22:42:56.171886+03:00","endDate":"2025-07-08T22:42:56.171886+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"2be8cbb6-5e0c-41a4-a0fa-46a47528fda6","id":"45e48086-3484-40d2-a3a0-ef29fa3ae9c5","companyID":"64cda6c0-fc14-47f1-9a10-4967575270bc"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.