GET api/WebApiOdata/GetAllClientShoppers?companycode={companycode}&providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companycode | string |
Required |
|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ShopperGridName | Description | Type | Additional information |
---|---|---|---|
ShopperId | integer |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
UserName | string |
None. |
|
Role | string |
None. |
|
PhoneNumber | string |
None. |
|
CompanyCode | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ShopperId": 1, "FullName": "sample string 2", "Email": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "UserName": "sample string 6", "Role": "sample string 7", "PhoneNumber": "sample string 8", "CompanyCode": "sample string 9", "Status": true }, { "ShopperId": 1, "FullName": "sample string 2", "Email": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "UserName": "sample string 6", "Role": "sample string 7", "PhoneNumber": "sample string 8", "CompanyCode": "sample string 9", "Status": true } ]
application/xml, text/xml
Sample:
<ArrayOfShopperGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers"> <ShopperGrid> <CompanyCode>sample string 9</CompanyCode> <Email>sample string 3</Email> <FirstName>sample string 4</FirstName> <FullName>sample string 2</FullName> <LastName>sample string 5</LastName> <PhoneNumber>sample string 8</PhoneNumber> <Role>sample string 7</Role> <ShopperId>1</ShopperId> <Status>true</Status> <UserName>sample string 6</UserName> </ShopperGrid> <ShopperGrid> <CompanyCode>sample string 9</CompanyCode> <Email>sample string 3</Email> <FirstName>sample string 4</FirstName> <FullName>sample string 2</FullName> <LastName>sample string 5</LastName> <PhoneNumber>sample string 8</PhoneNumber> <Role>sample string 7</Role> <ShopperId>1</ShopperId> <Status>true</Status> <UserName>sample string 6</UserName> </ShopperGrid> </ArrayOfShopperGrid>