POST api/AddDelivery

Request Information

URI Parameters

None.

Body Parameters

AddDeliveryRequest
NameDescriptionTypeAdditional information
API_Key

string

None.

Token

string

None.

DealerId

integer

None.

CustomerId

integer

None.

CustomerPhone

string

None.

CustomerName

string

None.

CustomerAddress

string

None.

CustomerDistrict

string

None.

CustomerState

string

None.

PaymentMethod

string

None.

FinanceName

string

None.

MarginMoney

decimal number

None.

TractorExchange

string

None.

DateOfSale

string

None.

Sale_Model

string

None.

EngineNumber

string

None.

ChassisNumber

string

None.

Photo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "API_Key": "sample string 1",
  "Token": "sample string 2",
  "DealerId": 3,
  "CustomerId": 4,
  "CustomerPhone": "sample string 5",
  "CustomerName": "sample string 6",
  "CustomerAddress": "sample string 7",
  "CustomerDistrict": "sample string 8",
  "CustomerState": "sample string 9",
  "PaymentMethod": "sample string 10",
  "FinanceName": "sample string 11",
  "MarginMoney": 12.1,
  "TractorExchange": "sample string 13",
  "DateOfSale": "sample string 14",
  "Sale_Model": "sample string 15",
  "EngineNumber": "sample string 16",
  "ChassisNumber": "sample string 17",
  "Photo": "sample string 18"
}

application/xml, text/xml

Sample:
<AddDeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadsManager.Model">
  <API_Key>sample string 1</API_Key>
  <ChassisNumber>sample string 17</ChassisNumber>
  <CustomerAddress>sample string 7</CustomerAddress>
  <CustomerDistrict>sample string 8</CustomerDistrict>
  <CustomerId>4</CustomerId>
  <CustomerName>sample string 6</CustomerName>
  <CustomerPhone>sample string 5</CustomerPhone>
  <CustomerState>sample string 9</CustomerState>
  <DateOfSale>sample string 14</DateOfSale>
  <DealerId>3</DealerId>
  <EngineNumber>sample string 16</EngineNumber>
  <FinanceName>sample string 11</FinanceName>
  <MarginMoney>12.1</MarginMoney>
  <PaymentMethod>sample string 10</PaymentMethod>
  <Photo>sample string 18</Photo>
  <Sale_Model>sample string 15</Sale_Model>
  <Token>sample string 2</Token>
  <TractorExchange>sample string 13</TractorExchange>
</AddDeliveryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Response

string

None.

Code

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": "sample string 1",
  "Code": 2,
  "Message": "sample string 3",
  "Data": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UtilityManager.Model">
  <Code>2</Code>
  <Data>sample string 4</Data>
  <Message>sample string 3</Message>
  <Response>sample string 1</Response>
</ResponseModel>