POST api/Values/MAddVendorDrafts
Request Information
URI Parameters
None.
Body Parameters
Collection of VendorDraftDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| AppVendorID | integer |
None. |
|
| ShopName | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactNumber | string |
None. |
|
| ShopLatitude | decimal number |
None. |
|
| ShopLongitude | decimal number |
None. |
|
| VendorTypeID | integer |
None. |
|
| PicturePath | string |
None. |
|
| UserID | integer |
None. |
|
| CreatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AppVendorID": 1,
"ShopName": "sample string 2",
"ContactPerson": "sample string 3",
"ContactNumber": "sample string 4",
"ShopLatitude": 5.0,
"ShopLongitude": 6.0,
"VendorTypeID": 7,
"PicturePath": "sample string 8",
"UserID": 9,
"CreatedDate": "2026-09-23T11:05:22.6484209+05:00"
},
{
"AppVendorID": 1,
"ShopName": "sample string 2",
"ContactPerson": "sample string 3",
"ContactNumber": "sample string 4",
"ShopLatitude": 5.0,
"ShopLongitude": 6.0,
"VendorTypeID": 7,
"PicturePath": "sample string 8",
"UserID": 9,
"CreatedDate": "2026-09-23T11:05:22.6484209+05:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfVendorDraftDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPITest.Models">
<VendorDraftDomain>
<AppVendorID>1</AppVendorID>
<ContactNumber>sample string 4</ContactNumber>
<ContactPerson>sample string 3</ContactPerson>
<CreatedDate>2026-09-23T11:05:22.6484209+05:00</CreatedDate>
<PicturePath>sample string 8</PicturePath>
<ShopLatitude>5</ShopLatitude>
<ShopLongitude>6</ShopLongitude>
<ShopName>sample string 2</ShopName>
<UserID>9</UserID>
<VendorTypeID>7</VendorTypeID>
</VendorDraftDomain>
<VendorDraftDomain>
<AppVendorID>1</AppVendorID>
<ContactNumber>sample string 4</ContactNumber>
<ContactPerson>sample string 3</ContactPerson>
<CreatedDate>2026-09-23T11:05:22.6484209+05:00</CreatedDate>
<PicturePath>sample string 8</PicturePath>
<ShopLatitude>5</ShopLatitude>
<ShopLongitude>6</ShopLongitude>
<ShopName>sample string 2</ShopName>
<UserID>9</UserID>
<VendorTypeID>7</VendorTypeID>
</VendorDraftDomain>
</ArrayOfVendorDraftDomain>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |