POST api/distributor/insert
Request Information
URI Parameters
None.
Body Parameters
DistributorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| DistributorID | string |
None. |
|
| DistributorName | string |
None. |
|
| DistributorWebsite | string |
None. |
|
| HQ_Location | string |
None. |
|
| IndiaOffice | string |
None. |
|
| Manufacturer1 | string |
None. |
|
| Manufacturer1Category | string |
None. |
|
| Manufacturer2 | string |
None. |
|
| Manufacturer2Category | string |
None. |
|
| Manufacturer3 | string |
None. |
|
| Manufacturer3Category | string |
None. |
|
| Manufacturer4 | string |
None. |
|
| Manufacturer4Category | string |
None. |
|
| Manufacturer5 | string |
None. |
|
| Manufacturer5Category | string |
None. |
|
| Manufacturer6 | string |
None. |
|
| Manufacturer6Category | string |
None. |
|
| Manufacturer7 | string |
None. |
|
| Manufacturer7Category | string |
None. |
|
| Manufacturer8 | string |
None. |
|
| Manufacturer8Category | string |
None. |
|
| WarehouseLocation1 | string |
None. |
|
| WarehouseLocation2 | string |
None. |
|
| WarehouseLocation3 | string |
None. |
|
| Rep1Designation | string |
None. |
|
| Rep1Name | string |
None. |
|
| Rep1Location | string |
None. |
|
| Rep1Email | string |
None. |
|
| Rep1Phone | string |
None. |
|
| Rep2Designation | string |
None. |
|
| Rep2Name | string |
None. |
|
| Rep2Location | string |
None. |
|
| Rep2Email | string |
None. |
|
| Rep2Phone | string |
None. |
|
| Rep3Designation | string |
None. |
|
| Rep3Name | string |
None. |
|
| Rep3Location | string |
None. |
|
| Rep3Email | string |
None. |
|
| Rep3Phone | string |
None. |
|
| Rep4Designation | string |
None. |
|
| Rep4Name | string |
None. |
|
| Rep4Location | string |
None. |
|
| Rep4Email | string |
None. |
|
| Rep4Phone | string |
None. |
|
| Rep5Designation | string |
None. |
|
| Rep5Name | string |
None. |
|
| Rep5Location | string |
None. |
|
| Rep5Email | string |
None. |
|
| Rep5Phone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"DistributorID": "sample string 2",
"DistributorName": "sample string 3",
"DistributorWebsite": "sample string 4",
"HQ_Location": "sample string 5",
"IndiaOffice": "sample string 6",
"Manufacturer1": "sample string 7",
"Manufacturer1Category": "sample string 8",
"Manufacturer2": "sample string 9",
"Manufacturer2Category": "sample string 10",
"Manufacturer3": "sample string 11",
"Manufacturer3Category": "sample string 12",
"Manufacturer4": "sample string 13",
"Manufacturer4Category": "sample string 14",
"Manufacturer5": "sample string 15",
"Manufacturer5Category": "sample string 16",
"Manufacturer6": "sample string 17",
"Manufacturer6Category": "sample string 18",
"Manufacturer7": "sample string 19",
"Manufacturer7Category": "sample string 20",
"Manufacturer8": "sample string 21",
"Manufacturer8Category": "sample string 22",
"WarehouseLocation1": "sample string 23",
"WarehouseLocation2": "sample string 24",
"WarehouseLocation3": "sample string 25",
"Rep1Designation": "sample string 26",
"Rep1Name": "sample string 27",
"Rep1Location": "sample string 28",
"Rep1Email": "sample string 29",
"Rep1Phone": "sample string 30",
"Rep2Designation": "sample string 31",
"Rep2Name": "sample string 32",
"Rep2Location": "sample string 33",
"Rep2Email": "sample string 34",
"Rep2Phone": "sample string 35",
"Rep3Designation": "sample string 36",
"Rep3Name": "sample string 37",
"Rep3Location": "sample string 38",
"Rep3Email": "sample string 39",
"Rep3Phone": "sample string 40",
"Rep4Designation": "sample string 41",
"Rep4Name": "sample string 42",
"Rep4Location": "sample string 43",
"Rep4Email": "sample string 44",
"Rep4Phone": "sample string 45",
"Rep5Designation": "sample string 46",
"Rep5Name": "sample string 47",
"Rep5Location": "sample string 48",
"Rep5Email": "sample string 49",
"Rep5Phone": "sample string 50"
}
application/xml, text/xml
Sample:
<DistributorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OEMWebAPI.Models"> <DistributorID>sample string 2</DistributorID> <DistributorName>sample string 3</DistributorName> <DistributorWebsite>sample string 4</DistributorWebsite> <HQ_Location>sample string 5</HQ_Location> <Id>sample string 1</Id> <IndiaOffice>sample string 6</IndiaOffice> <Manufacturer1>sample string 7</Manufacturer1> <Manufacturer1Category>sample string 8</Manufacturer1Category> <Manufacturer2>sample string 9</Manufacturer2> <Manufacturer2Category>sample string 10</Manufacturer2Category> <Manufacturer3>sample string 11</Manufacturer3> <Manufacturer3Category>sample string 12</Manufacturer3Category> <Manufacturer4>sample string 13</Manufacturer4> <Manufacturer4Category>sample string 14</Manufacturer4Category> <Manufacturer5>sample string 15</Manufacturer5> <Manufacturer5Category>sample string 16</Manufacturer5Category> <Manufacturer6>sample string 17</Manufacturer6> <Manufacturer6Category>sample string 18</Manufacturer6Category> <Manufacturer7>sample string 19</Manufacturer7> <Manufacturer7Category>sample string 20</Manufacturer7Category> <Manufacturer8>sample string 21</Manufacturer8> <Manufacturer8Category>sample string 22</Manufacturer8Category> <Rep1Designation>sample string 26</Rep1Designation> <Rep1Email>sample string 29</Rep1Email> <Rep1Location>sample string 28</Rep1Location> <Rep1Name>sample string 27</Rep1Name> <Rep1Phone>sample string 30</Rep1Phone> <Rep2Designation>sample string 31</Rep2Designation> <Rep2Email>sample string 34</Rep2Email> <Rep2Location>sample string 33</Rep2Location> <Rep2Name>sample string 32</Rep2Name> <Rep2Phone>sample string 35</Rep2Phone> <Rep3Designation>sample string 36</Rep3Designation> <Rep3Email>sample string 39</Rep3Email> <Rep3Location>sample string 38</Rep3Location> <Rep3Name>sample string 37</Rep3Name> <Rep3Phone>sample string 40</Rep3Phone> <Rep4Designation>sample string 41</Rep4Designation> <Rep4Email>sample string 44</Rep4Email> <Rep4Location>sample string 43</Rep4Location> <Rep4Name>sample string 42</Rep4Name> <Rep4Phone>sample string 45</Rep4Phone> <Rep5Designation>sample string 46</Rep5Designation> <Rep5Email>sample string 49</Rep5Email> <Rep5Location>sample string 48</Rep5Location> <Rep5Name>sample string 47</Rep5Name> <Rep5Phone>sample string 50</Rep5Phone> <WarehouseLocation1>sample string 23</WarehouseLocation1> <WarehouseLocation2>sample string 24</WarehouseLocation2> <WarehouseLocation3>sample string 25</WarehouseLocation3> </DistributorModel>
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.