PUT api/TestPayTRPayment/Update

Request Information

URI Parameters

None.

Body Parameters

CompanyAccountActionUpdateDto
NameDescriptionTypeAdditional 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-24T17:04:31.3175086+03:00",
  "endDate": "2025-05-24T17:04:31.3175086+03:00",
  "promotionCode": "sample string 4",
  "package": "sample string 5",
  "amount": 6.0,
  "recipeID": "22e277de-052f-4bb8-8567-f8b6c43b787c",
  "id": "a0689c5b-a5c6-41c7-80c5-09e19c8e59e1",
  "companyID": "4fca3689-3e52-45da-aab7-dbd0988746a6"
}

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>4fca3689-3e52-45da-aab7-dbd0988746a6</CompanyID>
  <ID>a0689c5b-a5c6-41c7-80c5-09e19c8e59e1</ID>
  <Amount>6</Amount>
  <EndDate>2025-05-24T17:04:31.3175086+03:00</EndDate>
  <Month>1</Month>
  <Package>sample string 5</Package>
  <PromotionCode>sample string 4</PromotionCode>
  <RecipeID>22e277de-052f-4bb8-8567-f8b6c43b787c</RecipeID>
  <StartDate>2025-05-24T17:04:31.3175086+03:00</StartDate>
</CompanyAccountActionUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"month":1,"startDate":"2025-05-24T17:04:31.3175086+03:00","endDate":"2025-05-24T17:04:31.3175086+03:00","promotionCode":"sample string 4","package":"sample string 5","amount":6.0,"recipeID":"22e277de-052f-4bb8-8567-f8b6c43b787c","id":"a0689c5b-a5c6-41c7-80c5-09e19c8e59e1","companyID":"4fca3689-3e52-45da-aab7-dbd0988746a6"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.