POST api/Dealer/AddPackage
Request Information
URI Parameters
None.
Body Parameters
DealerPackageAddDtoName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
DealerPackegeType | DealerPackageType |
None. |
|
SubscribeTitle | string |
None. |
|
SubscribeDescription | string |
None. |
|
Amount | decimal number |
None. |
|
KDV | KDV |
None. |
|
KDVAmount | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
Credit | integer |
None. |
|
DealerID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "dealerPackegeType": 1, "subscribeTitle": "sample string 2", "subscribeDescription": "sample string 3", "amount": 4.1, "kdv": 0, "kdvAmount": 5.1, "totalAmount": 6.1, "credit": 7, "dealerID": "ce85c175-0cf0-4777-8a92-376c5a3a37f3" }
application/xml, text/xml
Sample:
<DealerPackageAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>4.1</Amount> <Credit>7</Credit> <DealerID>ce85c175-0cf0-4777-8a92-376c5a3a37f3</DealerID> <DealerPackegeType>Subscriptions</DealerPackegeType> <KDV>KDV0</KDV> <KDVAmount>5.1</KDVAmount> <SubscribeDescription>sample string 3</SubscribeDescription> <SubscribeTitle>sample string 2</SubscribeTitle> <Title>sample string 1</Title> <TotalAmount>6.1</TotalAmount> </DealerPackageAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"title":"sample string 1","dealerPackegeType":1,"subscribeTitle":"sample string 2","subscribeDescription":"sample string 3","amount":4.1,"kdv":0,"kdvAmount":5.1,"totalAmount":6.1,"credit":7,"dealerID":"ce85c175-0cf0-4777-8a92-376c5a3a37f3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.