GET api/WebApiOdata/GetOrderApprovalManagers?providerID={providerID}&userID={userID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

userID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of ApprovalManagerViewModel
NameDescriptionTypeAdditional information
ShopperID

integer

None.

Name

string

None.

Status

boolean

None.

ShoppersCount

integer

None.

PendingOrdersCount

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "ShopperID": 1,
    "Name": "sample string 2",
    "Status": true,
    "ShoppersCount": 4,
    "PendingOrdersCount": 5
  },
  {
    "ShopperID": 1,
    "Name": "sample string 2",
    "Status": true,
    "ShoppersCount": 4,
    "PendingOrdersCount": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfApprovalManagerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers">
  <ApprovalManagerViewModel>
    <Name>sample string 2</Name>
    <PendingOrdersCount>5</PendingOrdersCount>
    <ShopperID>1</ShopperID>
    <ShoppersCount>4</ShoppersCount>
    <Status>true</Status>
  </ApprovalManagerViewModel>
  <ApprovalManagerViewModel>
    <Name>sample string 2</Name>
    <PendingOrdersCount>5</PendingOrdersCount>
    <ShopperID>1</ShopperID>
    <ShoppersCount>4</ShoppersCount>
    <Status>true</Status>
  </ApprovalManagerViewModel>
</ArrayOfApprovalManagerViewModel>