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-05-24T14:52:34.8577102+03:00", "endDate": "2025-05-24T14:52:34.8577102+03:00", "promotionCode": "sample string 4", "package": "sample string 5", "amount": 6.0, "recipeID": "c3afc100-53a2-4ee9-a23c-9614cbf0963f", "id": "7d00af2d-1199-4348-a36f-6ada3cbd8200", "companyID": "a52058e6-ccc6-4942-bbe7-0ad8cfdfa5a1" }
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>a52058e6-ccc6-4942-bbe7-0ad8cfdfa5a1</CompanyID> <ID>7d00af2d-1199-4348-a36f-6ada3cbd8200</ID> <Amount>6</Amount> <EndDate>2025-05-24T14:52:34.8577102+03:00</EndDate> <Month>1</Month> <Package>sample string 5</Package> <PromotionCode>sample string 4</PromotionCode> <RecipeID>c3afc100-53a2-4ee9-a23c-9614cbf0963f</RecipeID> <StartDate>2025-05-24T14:52:34.8577102+03:00</StartDate> </CompanyAccountActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"month":1,"startDate":"2025-05-24T14:52:34.8577102+03:00","endDate":"2025-05-24T14:52:34.8577102+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"c3afc100-53a2-4ee9-a23c-9614cbf0963f","id":"7d00af2d-1199-4348-a36f-6ada3cbd8200","companyID":"a52058e6-ccc6-4942-bbe7-0ad8cfdfa5a1"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.