GET api/WebApiOdata/GetOrderApprovals?providerID={providerID}&userID={userID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
userID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OrderApprovalViewModelName | Description | Type | Additional 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. |
|
FirstName | string |
None. |
|
LastName | 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": "1/22/2025", "CreatedDateDisplay": "1/22/2025 2:01:35 PM", "ModifiedDate": "1/22/2025", "ModifiedDateDisplay": "1/22/2025 2:01:35 PM", "ApprovedBy": "sample string 10", "FirstName": "sample string 11", "LastName": "sample string 12", "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": "1/22/2025", "CreatedDateDisplay": "1/22/2025 2:01:35 PM", "ModifiedDate": "1/22/2025", "ModifiedDateDisplay": "1/22/2025 2:01:35 PM", "ApprovedBy": "sample string 10", "FirstName": "sample string 11", "LastName": "sample string 12", "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>2025-01-22T14:01:35.4252359+00:00</CreatedDate> <FirstName>sample string 11</FirstName> <IsPGOrder>true</IsPGOrder> <LastName>sample string 12</LastName> <ManagerID>7</ManagerID> <ManagerName>sample string 8</ManagerName> <ModifiedDate>2025-01-22T14:01:35.4252359+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>2025-01-22T14:01:35.4252359+00:00</CreatedDate> <FirstName>sample string 11</FirstName> <IsPGOrder>true</IsPGOrder> <LastName>sample string 12</LastName> <ManagerID>7</ManagerID> <ManagerName>sample string 8</ManagerName> <ModifiedDate>2025-01-22T14:01:35.4252359+00:00</ModifiedDate> <OrderID>4</OrderID> <OutBoundMessageID>6</OutBoundMessageID> <ShopperID>1</ShopperID> <ShopperMail>sample string 3</ShopperMail> <UserName>sample string 2</UserName> </OrderApprovalViewModel> </ArrayOfOrderApprovalViewModel>