POST api/Purchase/UpdateTransportCostByCarDealerID
Request Information
URI Parameters
None.
Body Parameters
NewCarDealer| Name | Description | Type | Additional information |
|---|---|---|---|
| CarDealerID | integer |
None. |
|
| CarDealerName | string |
None. |
|
| 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. |
|
| BSB | string |
None. |
|
| ACC | string |
None. |
|
| Name | 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": "2021-02-24T12:53:59.169977+11:00",
"ModifiedBy": 14,
"ModifiedDate": "2021-02-24T12:53:59.169977+11:00",
"TransportZoneID": 16,
"TransportCost": 17.0,
"DealerAddress": "sample string 18",
"BSB": "sample string 19",
"ACC": "sample string 20",
"Name": "sample string 21"
}
application/xml, text/xml
Sample:
<NewCarDealer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models"> <ACC>sample string 20</ACC> <BSB>sample string 19</BSB> <CarDealerID>1</CarDealerID> <CarDealerName>sample string 2</CarDealerName> <City>sample string 10</City> <CountryPL>6</CountryPL> <CreatedBy>12</CreatedBy> <CreatedDate>2021-02-24T12:53:59.169977+11:00</CreatedDate> <DealerAddress>sample string 18</DealerAddress> <Email>sample string 3</Email> <LmctNumber>sample string 11</LmctNumber> <ModifiedBy>14</ModifiedBy> <ModifiedDate>2021-02-24T12:53:59.169977+11:00</ModifiedDate> <Name>sample string 21</Name> <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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.