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-05-24T15:03:23.4197044+03:00", "endDate": "2025-05-24T15:03:23.4197044+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "a01a61a7-cf22-4369-8ca8-d1ea4488bc9d", "id": "bd644d55-a0a5-4d08-8926-d3942a2d4e98", "companyID": "e31f0ab3-e904-4419-9c4a-4d6e7bed6c13" }
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>e31f0ab3-e904-4419-9c4a-4d6e7bed6c13</CompanyID> <ID>bd644d55-a0a5-4d08-8926-d3942a2d4e98</ID> <Amount>6</Amount> <EndDate>2025-05-24T15:03:23.4197044+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>a01a61a7-cf22-4369-8ca8-d1ea4488bc9d</RecipeID> <StartDate>2025-05-24T15:03:23.4197044+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-05-24T15:03:23.4197044+03:00","endDate":"2025-05-24T15:03:23.4197044+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"a01a61a7-cf22-4369-8ca8-d1ea4488bc9d","id":"bd644d55-a0a5-4d08-8926-d3942a2d4e98","companyID":"e31f0ab3-e904-4419-9c4a-4d6e7bed6c13"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.