PUT api/TestPayTRPayment/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:27:04.2092686+03:00", "endDate": "2025-08-05T21:27:04.2092686+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "518e977f-7642-4c7d-8530-66915f4de261", "id": "6eb8b080-7ed1-49cb-967a-3c0c1a9ab47c", "companyID": "c8b4c4c3-1e3f-48fc-9907-92eced4f165c" }
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>c8b4c4c3-1e3f-48fc-9907-92eced4f165c</CompanyID> <ID>6eb8b080-7ed1-49cb-967a-3c0c1a9ab47c</ID> <Amount>6</Amount> <EndDate>2025-08-05T21:27:04.2092686+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>518e977f-7642-4c7d-8530-66915f4de261</RecipeID> <StartDate>2025-08-05T21:27:04.2092686+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-08-05T21:27:04.2092686+03:00","endDate":"2025-08-05T21:27:04.2092686+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"518e977f-7642-4c7d-8530-66915f4de261","id":"6eb8b080-7ed1-49cb-967a-3c0c1a9ab47c","companyID":"c8b4c4c3-1e3f-48fc-9907-92eced4f165c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.