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-04T22:51:42.9312183+03:00", "endDate": "2025-08-04T22:51:42.9312183+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "db216024-9d22-46e0-945f-b1fdc4038ea6", "id": "417d8a99-b8f0-41ff-94f5-bfe1222282c9", "companyID": "d5a43729-e43e-4e18-a4f1-9a400e3057c4" }
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>d5a43729-e43e-4e18-a4f1-9a400e3057c4</CompanyID> <ID>417d8a99-b8f0-41ff-94f5-bfe1222282c9</ID> <Amount>6</Amount> <EndDate>2025-08-04T22:51:42.9312183+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>db216024-9d22-46e0-945f-b1fdc4038ea6</RecipeID> <StartDate>2025-08-04T22:51:42.9312183+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-08-04T22:51:42.9312183+03:00","endDate":"2025-08-04T22:51:42.9312183+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"db216024-9d22-46e0-945f-b1fdc4038ea6","id":"417d8a99-b8f0-41ff-94f5-bfe1222282c9","companyID":"d5a43729-e43e-4e18-a4f1-9a400e3057c4"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.