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": "29838d26-0fa6-4818-9b5c-45919f9e382d", "id": "69cbfe6b-e9b2-4d12-a754-7845e5797add", "companyID": "45b211d4-2198-4b7f-87e4-ca14971f9d8b" }
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>45b211d4-2198-4b7f-87e4-ca14971f9d8b</CompanyID> <ID>69cbfe6b-e9b2-4d12-a754-7845e5797add</ID> <Amount>4.1</Amount> <Credit>7</Credit> <DealerID>29838d26-0fa6-4818-9b5c-45919f9e382d</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":"29838d26-0fa6-4818-9b5c-45919f9e382d","id":"69cbfe6b-e9b2-4d12-a754-7845e5797add","companyID":"45b211d4-2198-4b7f-87e4-ca14971f9d8b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.