POST api/Dealer/UpdatePackage

Request Information

URI Parameters

None.

Body Parameters

DealerPackageUpdateDto
NameDescriptionTypeAdditional 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": "bc3b33cc-c822-4cac-a758-ef3ba73a9fd5",
  "id": "e67bc184-d89b-4912-a052-dac8cd3eb7e0",
  "companyID": "6698900e-a17c-487c-9853-f01fc2824dd8"
}

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>6698900e-a17c-487c-9853-f01fc2824dd8</CompanyID>
  <ID>e67bc184-d89b-4912-a052-dac8cd3eb7e0</ID>
  <Amount>4.1</Amount>
  <Credit>7</Credit>
  <DealerID>bc3b33cc-c822-4cac-a758-ef3ba73a9fd5</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":"bc3b33cc-c822-4cac-a758-ef3ba73a9fd5","id":"e67bc184-d89b-4912-a052-dac8cd3eb7e0","companyID":"6698900e-a17c-487c-9853-f01fc2824dd8"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.