GET api/WebApiOdata/GetApproveManagerShoppers?providerID={providerID}&userID={userID}&searchShopperString={searchShopperString}&onlyManagerShoppers={onlyManagerShoppers}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

userID

integer

Required

searchShopperString

string

None.

onlyManagerShoppers

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of ManagerShopperViewModel
NameDescriptionTypeAdditional information
ShopperID

integer

None.

ShopperName

string

None.

CompanyName

string

None.

UserName

string

None.

Status

boolean

None.

ManagerID

integer

None.

ManagerName

string

None.

ManagerNameDisplay

string

None.

Email

string

None.

ShopperTypeID

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "ShopperID": 1,
    "ShopperName": "sample string 2",
    "CompanyName": "sample string 3",
    "UserName": "sample string 4",
    "Status": true,
    "ManagerID": 6,
    "ManagerName": "sample string 7",
    "ManagerNameDisplay": "sample string 7",
    "Email": "sample string 8",
    "ShopperTypeID": 9
  },
  {
    "ShopperID": 1,
    "ShopperName": "sample string 2",
    "CompanyName": "sample string 3",
    "UserName": "sample string 4",
    "Status": true,
    "ManagerID": 6,
    "ManagerName": "sample string 7",
    "ManagerNameDisplay": "sample string 7",
    "Email": "sample string 8",
    "ShopperTypeID": 9
  }
]

application/xml, text/xml

Sample:
<ArrayOfManagerShopperViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers">
  <ManagerShopperViewModel>
    <CompanyName>sample string 3</CompanyName>
    <Email>sample string 8</Email>
    <ManagerID>6</ManagerID>
    <ManagerName>sample string 7</ManagerName>
    <ShopperID>1</ShopperID>
    <ShopperName>sample string 2</ShopperName>
    <ShopperTypeID>9</ShopperTypeID>
    <Status>true</Status>
    <UserName>sample string 4</UserName>
  </ManagerShopperViewModel>
  <ManagerShopperViewModel>
    <CompanyName>sample string 3</CompanyName>
    <Email>sample string 8</Email>
    <ManagerID>6</ManagerID>
    <ManagerName>sample string 7</ManagerName>
    <ShopperID>1</ShopperID>
    <ShopperName>sample string 2</ShopperName>
    <ShopperTypeID>9</ShopperTypeID>
    <Status>true</Status>
    <UserName>sample string 4</UserName>
  </ManagerShopperViewModel>
</ArrayOfManagerShopperViewModel>