GET api/WebApiOdata/GetAllExistingShoppers?providerID={providerID}&managerID={managerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
managerID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of ExistingShoppersGridViewModelName | Description | Type | Additional information |
---|---|---|---|
ShopperID | integer |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
UserName | string |
None. |
|
CompanyName | string |
None. |
|
Status | boolean |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ShopperTypeID | integer |
None. |
|
ManagerID | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ShopperID": 1, "FullName": "sample string 2", "Email": "sample string 3", "UserName": "sample string 4", "CompanyName": "sample string 5", "Status": true, "FirstName": "sample string 7", "LastName": "sample string 8", "ShopperTypeID": 9, "ManagerID": 10 }, { "ShopperID": 1, "FullName": "sample string 2", "Email": "sample string 3", "UserName": "sample string 4", "CompanyName": "sample string 5", "Status": true, "FirstName": "sample string 7", "LastName": "sample string 8", "ShopperTypeID": 9, "ManagerID": 10 } ]
application/xml, text/xml
Sample:
<ArrayOfExistingShoppersGridViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers"> <ExistingShoppersGridViewModel> <CompanyName>sample string 5</CompanyName> <Email>sample string 3</Email> <FirstName>sample string 7</FirstName> <FullName>sample string 2</FullName> <LastName>sample string 8</LastName> <ManagerID>10</ManagerID> <ShopperID>1</ShopperID> <ShopperTypeID>9</ShopperTypeID> <Status>true</Status> <UserName>sample string 4</UserName> </ExistingShoppersGridViewModel> <ExistingShoppersGridViewModel> <CompanyName>sample string 5</CompanyName> <Email>sample string 3</Email> <FirstName>sample string 7</FirstName> <FullName>sample string 2</FullName> <LastName>sample string 8</LastName> <ManagerID>10</ManagerID> <ShopperID>1</ShopperID> <ShopperTypeID>9</ShopperTypeID> <Status>true</Status> <UserName>sample string 4</UserName> </ExistingShoppersGridViewModel> </ArrayOfExistingShoppersGridViewModel>