GET api/WebApiOdata/GetPOPaymentShoppers?providerID={providerID}&poPaymentID={poPaymentID}&searchShopperString={searchShopperString}&onlyPOShoppers={onlyPOShoppers}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

poPaymentID

integer

Required

searchShopperString

string

None.

onlyPOShoppers

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of POPaymentShopperViewModel
NameDescriptionTypeAdditional information
ShopperID

integer

None.

ShopperName

string

None.

CompanyName

string

None.

CompanyNameDisplay

string

None.

UserName

string

None.

Status

boolean

None.

PreferredGroupID

integer

None.

POPaymentName

string

None.

GroupNameDisplay

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",
    "CompanyNameDisplay": "sample string 3",
    "UserName": "sample string 4",
    "Status": true,
    "PreferredGroupID": 6,
    "POPaymentName": "sample string 7",
    "GroupNameDisplay": "sample string 7",
    "Email": "sample string 8",
    "ShopperTypeID": 9
  },
  {
    "ShopperID": 1,
    "ShopperName": "sample string 2",
    "CompanyName": "sample string 3",
    "CompanyNameDisplay": "sample string 3",
    "UserName": "sample string 4",
    "Status": true,
    "PreferredGroupID": 6,
    "POPaymentName": "sample string 7",
    "GroupNameDisplay": "sample string 7",
    "Email": "sample string 8",
    "ShopperTypeID": 9
  }
]

application/xml, text/xml

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