POST api/Dealer/AddPayment
Request Information
URI Parameters
None.
Body Parameters
DealerPaymentAddDtoName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
Description | string |
None. |
|
Amount | decimal number |
None. |
|
DealerID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "date": "2025-07-08T21:36:43.7788329+03:00", "description": "sample string 2", "amount": 3.0, "dealerID": "5dbe1084-6917-49a9-bb60-c0e77c5a8f4a" }
application/xml, text/xml
Sample:
<DealerPaymentAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>3</Amount> <Date>2025-07-08T21:36:43.7788329+03:00</Date> <DealerID>5dbe1084-6917-49a9-bb60-c0e77c5a8f4a</DealerID> <Description>sample string 2</Description> </DealerPaymentAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"date":"2025-07-08T21:36:43.7788329+03:00","description":"sample string 2","amount":3.0,"dealerID":"5dbe1084-6917-49a9-bb60-c0e77c5a8f4a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.