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-24T15:44:35.7737491+03:00", "endDate": "2025-05-24T15:44:35.7737491+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "d6fb6947-2b11-44b1-9e23-a55107f23d85", "id": "243b4308-9a6f-43df-8375-3e8f442872d8", "companyID": "f944a3a3-e939-486b-b96e-9efde2e773c3" }
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>f944a3a3-e939-486b-b96e-9efde2e773c3</CompanyID> <ID>243b4308-9a6f-43df-8375-3e8f442872d8</ID> <Amount>6</Amount> <EndDate>2025-05-24T15:44:35.7737491+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>d6fb6947-2b11-44b1-9e23-a55107f23d85</RecipeID> <StartDate>2025-05-24T15:44:35.7737491+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-05-24T15:44:35.7737491+03:00","endDate":"2025-05-24T15:44:35.7737491+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"d6fb6947-2b11-44b1-9e23-a55107f23d85","id":"243b4308-9a6f-43df-8375-3e8f442872d8","companyID":"f944a3a3-e939-486b-b96e-9efde2e773c3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.