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