POST api/Purchase/UpdateTransportCostByCarDealerID

Request Information

URI Parameters

None.

Body Parameters

NewCarDealer
NameDescriptionTypeAdditional information
CarDealerID

integer

None.

CarDealerName

string

None.

Email

string

None.

PhoneNumber

string

None.

StatePL

integer

None.

CountryPL

integer

None.

StreetName

string

None.

Suburb

string

None.

PostalCode

string

None.

City

string

None.

LmctNumber

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

TransportZoneID

integer

None.

TransportCost

decimal number

None.

DealerAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CarDealerID": 1,
  "CarDealerName": "sample string 2",
  "Email": "sample string 3",
  "PhoneNumber": "sample string 4",
  "StatePL": 5,
  "CountryPL": 6,
  "StreetName": "sample string 7",
  "Suburb": "sample string 8",
  "PostalCode": "sample string 9",
  "City": "sample string 10",
  "LmctNumber": "sample string 11",
  "CreatedBy": 12,
  "CreatedDate": "2020-02-27T04:50:26.0661114+11:00",
  "ModifiedBy": 14,
  "ModifiedDate": "2020-02-27T04:50:26.0661114+11:00",
  "TransportZoneID": 16,
  "TransportCost": 17.0,
  "DealerAddress": "sample string 18"
}

application/xml, text/xml

Sample:
<NewCarDealer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <CarDealerID>1</CarDealerID>
  <CarDealerName>sample string 2</CarDealerName>
  <City>sample string 10</City>
  <CountryPL>6</CountryPL>
  <CreatedBy>12</CreatedBy>
  <CreatedDate>2020-02-27T04:50:26.0661114+11:00</CreatedDate>
  <DealerAddress>sample string 18</DealerAddress>
  <Email>sample string 3</Email>
  <LmctNumber>sample string 11</LmctNumber>
  <ModifiedBy>14</ModifiedBy>
  <ModifiedDate>2020-02-27T04:50:26.0661114+11:00</ModifiedDate>
  <PhoneNumber>sample string 4</PhoneNumber>
  <PostalCode>sample string 9</PostalCode>
  <StatePL>5</StatePL>
  <StreetName>sample string 7</StreetName>
  <Suburb>sample string 8</Suburb>
  <TransportCost>17</TransportCost>
  <TransportZoneID>16</TransportZoneID>
</NewCarDealer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.