POST api/Dealer/UpdatePayment

Request Information

URI Parameters

None.

Body Parameters

DealerPaymentUpdateDto
NameDescriptionTypeAdditional information
Date

date

None.

Description

string

None.

Amount

decimal number

None.

DealerID

globally unique identifier

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2025-05-24T15:05:46.4918082+03:00",
  "description": "sample string 2",
  "amount": 3.0,
  "dealerID": "f281d462-cafb-41eb-beb4-23db88be7d0e",
  "id": "76dd9877-b1e3-4065-9bec-cf6191172d7c",
  "companyID": "5f37c02b-e35e-4238-8122-0d3ba9b70d64"
}

application/xml, text/xml

Sample:
<DealerPaymentUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>5f37c02b-e35e-4238-8122-0d3ba9b70d64</CompanyID>
  <ID>76dd9877-b1e3-4065-9bec-cf6191172d7c</ID>
  <Amount>3</Amount>
  <Date>2025-05-24T15:05:46.4918082+03:00</Date>
  <DealerID>f281d462-cafb-41eb-beb4-23db88be7d0e</DealerID>
  <Description>sample string 2</Description>
</DealerPaymentUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"date":"2025-05-24T15:05:46.4918082+03:00","description":"sample string 2","amount":3.0,"dealerID":"f281d462-cafb-41eb-beb4-23db88be7d0e","id":"76dd9877-b1e3-4065-9bec-cf6191172d7c","companyID":"5f37c02b-e35e-4238-8122-0d3ba9b70d64"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.