POST api/AddEnquiry
Request Information
URI Parameters
None.
Body Parameters
AddEnquiryRequest| Name | Description | Type | Additional 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. |
|
| Sale_Model | string |
None. |
|
| Remarks | string |
None. |
|
| LiklYiDateOfPurchase | 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",
"Sale_Model": "sample string 14",
"Remarks": "sample string 15",
"LiklYiDateOfPurchase": "sample string 16"
}
application/xml, text/xml
Sample:
<AddEnquiryRequest 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> <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> <DealerId>3</DealerId> <FinanceName>sample string 11</FinanceName> <LiklYiDateOfPurchase>sample string 16</LiklYiDateOfPurchase> <MarginMoney>12.1</MarginMoney> <PaymentMethod>sample string 10</PaymentMethod> <Remarks>sample string 15</Remarks> <Sale_Model>sample string 14</Sale_Model> <Token>sample string 2</Token> <TractorExchange>sample string 13</TractorExchange> </AddEnquiryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional 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>