POST api/Dealer/UpdatePackage
Request Information
URI Parameters
None.
Body Parameters
DealerPackageUpdateDtoName | 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. |
|
ID | globally unique identifier |
Required |
|
CompanyID | 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": "9040c217-93df-4531-93c7-418eafa9e67b", "id": "d5b5befb-bb81-4d05-ba61-b3678f43b210", "companyID": "a1e17364-be97-4010-8913-b20de36e3db7" }
application/xml, text/xml
Sample:
<DealerPackageUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>a1e17364-be97-4010-8913-b20de36e3db7</CompanyID> <ID>d5b5befb-bb81-4d05-ba61-b3678f43b210</ID> <Amount>4.1</Amount> <Credit>7</Credit> <DealerID>9040c217-93df-4531-93c7-418eafa9e67b</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> </DealerPackageUpdateDto>
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":"9040c217-93df-4531-93c7-418eafa9e67b","id":"d5b5befb-bb81-4d05-ba61-b3678f43b210","companyID":"a1e17364-be97-4010-8913-b20de36e3db7"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.