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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

userID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrderApprovalViewModel
NameDescriptionTypeAdditional information
ShopperID

integer

None.

UserName

string

None.

ShopperMail

string

None.

OrderID

integer

None.

IsPGOrder

boolean

None.

OutBoundMessageID

integer

None.

ManagerID

integer

None.

ManagerName

string

None.

ManagerNameDisplay

string

None.

CreatedDate

date

None.

CreatedDateDisplay

string

None.

ModifiedDate

date

None.

ModifiedDateDisplay

string

None.

ApprovedBy

string

None.

ApprovalStatus

byte

None.

ApprovalStatusName

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "ShopperID": 1,
    "UserName": "sample string 2",
    "ShopperMail": "sample string 3",
    "OrderID": 4,
    "IsPGOrder": true,
    "OutBoundMessageID": 6,
    "ManagerID": 7,
    "ManagerName": "sample string 8",
    "ManagerNameDisplay": "sample string 8",
    "CreatedDate": "9/19/2024",
    "CreatedDateDisplay": "9/19/2024 8:45:22 AM",
    "ModifiedDate": "9/19/2024",
    "ModifiedDateDisplay": "9/19/2024 8:45:22 AM",
    "ApprovedBy": "sample string 10",
    "ApprovalStatus": 64,
    "ApprovalStatusName": null
  },
  {
    "ShopperID": 1,
    "UserName": "sample string 2",
    "ShopperMail": "sample string 3",
    "OrderID": 4,
    "IsPGOrder": true,
    "OutBoundMessageID": 6,
    "ManagerID": 7,
    "ManagerName": "sample string 8",
    "ManagerNameDisplay": "sample string 8",
    "CreatedDate": "9/19/2024",
    "CreatedDateDisplay": "9/19/2024 8:45:22 AM",
    "ModifiedDate": "9/19/2024",
    "ModifiedDateDisplay": "9/19/2024 8:45:22 AM",
    "ApprovedBy": "sample string 10",
    "ApprovalStatus": 64,
    "ApprovalStatusName": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderApprovalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers">
  <OrderApprovalViewModel>
    <ApprovalStatus>64</ApprovalStatus>
    <ApprovedBy>sample string 10</ApprovedBy>
    <CreatedDate>2024-09-19T08:45:22.7398594+00:00</CreatedDate>
    <IsPGOrder>true</IsPGOrder>
    <ManagerID>7</ManagerID>
    <ManagerName>sample string 8</ManagerName>
    <ModifiedDate>2024-09-19T08:45:22.7398594+00:00</ModifiedDate>
    <OrderID>4</OrderID>
    <OutBoundMessageID>6</OutBoundMessageID>
    <ShopperID>1</ShopperID>
    <ShopperMail>sample string 3</ShopperMail>
    <UserName>sample string 2</UserName>
  </OrderApprovalViewModel>
  <OrderApprovalViewModel>
    <ApprovalStatus>64</ApprovalStatus>
    <ApprovedBy>sample string 10</ApprovedBy>
    <CreatedDate>2024-09-19T08:45:22.7398594+00:00</CreatedDate>
    <IsPGOrder>true</IsPGOrder>
    <ManagerID>7</ManagerID>
    <ManagerName>sample string 8</ManagerName>
    <ModifiedDate>2024-09-19T08:45:22.7398594+00:00</ModifiedDate>
    <OrderID>4</OrderID>
    <OutBoundMessageID>6</OutBoundMessageID>
    <ShopperID>1</ShopperID>
    <ShopperMail>sample string 3</ShopperMail>
    <UserName>sample string 2</UserName>
  </OrderApprovalViewModel>
</ArrayOfOrderApprovalViewModel>