PUT api/PayTRPayment/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-08T21:43:59.6219077+03:00", "endDate": "2025-07-08T21:43:59.6219077+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "0a2a7b6f-6508-4951-bef9-e991a9e1625b", "id": "fc599efd-d993-4141-a455-a1be7e835ae9", "companyID": "70c8a5b1-28cb-484a-9ec3-8c5768cccf87" }
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>70c8a5b1-28cb-484a-9ec3-8c5768cccf87</CompanyID> <ID>fc599efd-d993-4141-a455-a1be7e835ae9</ID> <Amount>6</Amount> <EndDate>2025-07-08T21:43:59.6219077+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>0a2a7b6f-6508-4951-bef9-e991a9e1625b</RecipeID> <StartDate>2025-07-08T21:43:59.6219077+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-07-08T21:43:59.6219077+03:00","endDate":"2025-07-08T21:43:59.6219077+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"0a2a7b6f-6508-4951-bef9-e991a9e1625b","id":"fc599efd-d993-4141-a455-a1be7e835ae9","companyID":"70c8a5b1-28cb-484a-9ec3-8c5768cccf87"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.