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-05-24T17:10:34.1344927+03:00", "description": "sample string 2", "amount": 3.0, "dealerID": "8d8c5c30-f3d0-49b5-bbc4-641d25258d57" }
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-05-24T17:10:34.1344927+03:00</Date> <DealerID>8d8c5c30-f3d0-49b5-bbc4-641d25258d57</DealerID> <Description>sample string 2</Description> </DealerPaymentAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"date":"2025-05-24T17:10:34.1344927+03:00","description":"sample string 2","amount":3.0,"dealerID":"8d8c5c30-f3d0-49b5-bbc4-641d25258d57"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.