POST Admin/B2GSubPage/GetVendorList
Request Information
URI Parameters
None.
Body Parameters
FrontVenderFilterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorTypeCode | integer |
None. |
|
| CompanyName | string |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| Search | string |
None. |
|
| OrderBy | string |
None. |
|
| OrderByAsc | integer |
None. |
|
| IsPostBack | boolean |
None. |
|
| AdvanceSearchModel | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"VendorTypeCode": 1,
"CompanyName": "sample string 2",
"Page": 3,
"PageSize": 4,
"Search": "sample string 5",
"OrderBy": "sample string 6",
"OrderByAsc": 7,
"IsPostBack": true,
"AdvanceSearchModel": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<FrontVenderFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.WebsiteModel">
<AdvanceSearchModel xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</AdvanceSearchModel>
<IsPostBack xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">true</IsPostBack>
<OrderBy xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">sample string 6</OrderBy>
<OrderByAsc xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">7</OrderByAsc>
<Page xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">3</Page>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">4</PageSize>
<Search xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">sample string 5</Search>
<CompanyName>sample string 2</CompanyName>
<VendorTypeCode>1</VendorTypeCode>
</FrontVenderFilterModel>
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="VendorTypeCode" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CompanyName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Page" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PageSize" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Search" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="OrderBy" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="OrderByAsc" 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsPostBack" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[0].Key" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[0].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[1].Key" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[1].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.