GET api/members
Get a list of members ordered by create date. The list can be filtered by program. The offset and count parameters can be used to specify the set of members.
Request Information
URI Parameters
Query String: programId={programId}&query={query}&showDisabled={showDisabled}&sort={sort}&dateFrom={dateFrom}&dateTo={dateTo}&offset={offset}&count={count}
Name | Description | Type | Additional information |
---|---|---|---|
programId |
ID of the program, program name, or program title. Optional. |
string |
None. |
query |
If specified, a member must have this value as its email address, internal id, external id, referral code. If the string matches an internal member id, the member is returned regardless of any filters. Optional. |
string |
None. |
showDisabled |
Set True to display disabled member. Set False to Show Active Members. Optional. |
boolean |
None. |
sort |
Column to sort by. Accepted values: Member_Views_Desc, Member_Views_Asc, Page_Views_Desc, Page_Views_Asc, Lead_Count_Desc, Lead_Count_Asc, Reward_Issued_Total_Desc, Reward_Issued_Total_Asc, Member_Full_Name_Desc, Member_Full_Name_Asc, Create_Dt_Desc , Create_Dt_Asc . Optional. |
string |
Default value is Create_Dt_Desc |
dateFrom |
Show all members created after this date. Optional. |
date |
None. |
dateTo |
Show all members created before this date. Optional. |
date |
None. |
offset |
Starting index (0 based) of the members. Optional. |
integer |
Default value is 0 |
count |
Count of members returned. Optional. |
integer |
Default value is 2147483647 |
Body Parameters
None.
Response Information
Resource Description
[HTTP Status 200 - OK] A set of members.
Type: MemberSet
Name | Description | Type | Additional information |
---|---|---|---|
members | Collection of Member |
None. |
|
offset |
Starting index (0 based) of the elements in the set. |
integer |
None. |
total |
Total number of elements in the set. |
integer |
None. |
message |
The message provides more information about the results of the client's request. Review this field for error information. |
string |
None. |
Response Formats
application/json, text/json
{ "offset": 1, "total": 2, "message": "sample string 3", "members": [ { "id": "60902ad1-1a5a-435f-be1c-6e46674c5d55", "displayName": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "email": "sample string 4", "phone": "sample string 5", "externalIdentifier": "sample string 6", "dateOfBirth": "2024-11-07T17:59:27.1525987Z", "addressLine1": "sample string 7", "addressLine2": "sample string 8", "city": "sample string 9", "countrySubdivision": "sample string 10", "country": "sample string 11", "postalCode": "sample string 12", "disabledFlag": true, "customOverrideURL": "sample string 13", "payoutInfo": { "payoutType": "sample string 1", "useDefaultValues": true, "email": "sample string 3" }, "customOption1Name": "sample string 14", "customOption1Value": "sample string 15", "customText1Name": "sample string 16", "customText1Value": "sample string 17", "customText2Name": "sample string 18", "customText2Value": "sample string 19", "programId": "f2c16a7c-9e13-47fb-be27-7f1c107fcb2f", "programTitle": "sample string 21", "programName": "sample string 22", "referralUrl": "sample string 24", "referralCode": "sample string 23", "memberUrl": "sample string 25", "emailShares": 26, "socialShares": 27, "views": 28, "referrals": 29, "lastShare": "2024-11-07T17:59:27.1525987Z", "referralsApproved": 30, "referralsQualified": 31, "referralsPending": 32, "referralsApprovedAmount": 33.0, "rewardsPendingAmount": 34.0, "rewardsIssuedAmount": 35.0, "rewardAmountTotal": 36.0, "rewards": 37, "createDt": "2024-11-07T17:59:27.1682277Z", "utmSource": "sample string 38", "utmMedium": "sample string 39", "utmCampaign": "sample string 40", "browserReferrerUrl": "sample string 41", "lastViewIPAddress": "sample string 42", "firstMemberShareDate": "2024-11-07T17:59:27.1682277Z", "firstMemberViewDate": "2024-11-07T17:59:27.1682277Z", "firstReferralViewDate": "2024-11-07T17:59:27.1682277Z", "lastReferralAddDate": "2024-11-07T17:59:27.1682277Z", "firstReferralAddDate": "2024-11-07T17:59:27.1682277Z", "lastMemberRewardAddDate": "2024-11-07T17:59:27.1682277Z", "firstMemberRewardAddDate": "2024-11-07T17:59:27.1682277Z", "activatedDate": "2024-11-07T17:59:27.1682277Z", "lastActiveDate": "2024-11-07T17:59:27.1682277Z" }, { "id": "60902ad1-1a5a-435f-be1c-6e46674c5d55", "displayName": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "email": "sample string 4", "phone": "sample string 5", "externalIdentifier": "sample string 6", "dateOfBirth": "2024-11-07T17:59:27.1525987Z", "addressLine1": "sample string 7", "addressLine2": "sample string 8", "city": "sample string 9", "countrySubdivision": "sample string 10", "country": "sample string 11", "postalCode": "sample string 12", "disabledFlag": true, "customOverrideURL": "sample string 13", "payoutInfo": { "payoutType": "sample string 1", "useDefaultValues": true, "email": "sample string 3" }, "customOption1Name": "sample string 14", "customOption1Value": "sample string 15", "customText1Name": "sample string 16", "customText1Value": "sample string 17", "customText2Name": "sample string 18", "customText2Value": "sample string 19", "programId": "f2c16a7c-9e13-47fb-be27-7f1c107fcb2f", "programTitle": "sample string 21", "programName": "sample string 22", "referralUrl": "sample string 24", "referralCode": "sample string 23", "memberUrl": "sample string 25", "emailShares": 26, "socialShares": 27, "views": 28, "referrals": 29, "lastShare": "2024-11-07T17:59:27.1525987Z", "referralsApproved": 30, "referralsQualified": 31, "referralsPending": 32, "referralsApprovedAmount": 33.0, "rewardsPendingAmount": 34.0, "rewardsIssuedAmount": 35.0, "rewardAmountTotal": 36.0, "rewards": 37, "createDt": "2024-11-07T17:59:27.1682277Z", "utmSource": "sample string 38", "utmMedium": "sample string 39", "utmCampaign": "sample string 40", "browserReferrerUrl": "sample string 41", "lastViewIPAddress": "sample string 42", "firstMemberShareDate": "2024-11-07T17:59:27.1682277Z", "firstMemberViewDate": "2024-11-07T17:59:27.1682277Z", "firstReferralViewDate": "2024-11-07T17:59:27.1682277Z", "lastReferralAddDate": "2024-11-07T17:59:27.1682277Z", "firstReferralAddDate": "2024-11-07T17:59:27.1682277Z", "lastMemberRewardAddDate": "2024-11-07T17:59:27.1682277Z", "firstMemberRewardAddDate": "2024-11-07T17:59:27.1682277Z", "activatedDate": "2024-11-07T17:59:27.1682277Z", "lastActiveDate": "2024-11-07T17:59:27.1682277Z" } ] }
application/xml, text/xml
<MemberSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <offset>1</offset> <total>2</total> <message>sample string 3</message> <members> <member> <id>60902ad1-1a5a-435f-be1c-6e46674c5d55</id> <displayName>sample string 1</displayName> <firstName>sample string 2</firstName> <lastName>sample string 3</lastName> <email>sample string 4</email> <phone>sample string 5</phone> <externalIdentifier>sample string 6</externalIdentifier> <dateOfBirth>2024-11-07T17:59:27.1525987+00:00</dateOfBirth> <addressLine1>sample string 7</addressLine1> <addressLine2>sample string 8</addressLine2> <city>sample string 9</city> <countrySubdivision>sample string 10</countrySubdivision> <country>sample string 11</country> <postalCode>sample string 12</postalCode> <disabledFlag>true</disabledFlag> <customOverrideURL>sample string 13</customOverrideURL> <payoutInfo> <email>sample string 3</email> <payoutType>sample string 1</payoutType> <useDefaultValues>true</useDefaultValues> </payoutInfo> <customOption1Name>sample string 14</customOption1Name> <customOption1Value>sample string 15</customOption1Value> <customText1Name>sample string 16</customText1Name> <customText1Value>sample string 17</customText1Value> <customText2Name>sample string 18</customText2Name> <customText2Value>sample string 19</customText2Value> <programId>f2c16a7c-9e13-47fb-be27-7f1c107fcb2f</programId> <programTitle>sample string 21</programTitle> <programName>sample string 22</programName> <referralUrl>sample string 24</referralUrl> <referralCode>sample string 23</referralCode> <memberUrl>sample string 25</memberUrl> <emailShares>26</emailShares> <socialShares>27</socialShares> <views>28</views> <referrals>29</referrals> <lastShare>2024-11-07T17:59:27.1525987+00:00</lastShare> <referralsApproved>30</referralsApproved> <referralsQualified>31</referralsQualified> <referralsPending>32</referralsPending> <referralsApprovedAmount>33</referralsApprovedAmount> <rewardsPendingAmount>34</rewardsPendingAmount> <rewardsIssuedAmount>35</rewardsIssuedAmount> <rewardAmountTotal>36</rewardAmountTotal> <rewards>37</rewards> <createDt>2024-11-07T17:59:27.1682277+00:00</createDt> <utmSource>sample string 38</utmSource> <utmMedium>sample string 39</utmMedium> <utmCampaign>sample string 40</utmCampaign> <browserReferrerUrl>sample string 41</browserReferrerUrl> <lastViewIPAddress>sample string 42</lastViewIPAddress> <firstMemberShareDate>2024-11-07T17:59:27.1682277+00:00</firstMemberShareDate> <firstMemberViewDate>2024-11-07T17:59:27.1682277+00:00</firstMemberViewDate> <firstReferralViewDate>2024-11-07T17:59:27.1682277+00:00</firstReferralViewDate> <lastReferralAddDate>2024-11-07T17:59:27.1682277+00:00</lastReferralAddDate> <firstReferralAddDate>2024-11-07T17:59:27.1682277+00:00</firstReferralAddDate> <lastMemberRewardAddDate>2024-11-07T17:59:27.1682277+00:00</lastMemberRewardAddDate> <firstMemberRewardAddDate>2024-11-07T17:59:27.1682277+00:00</firstMemberRewardAddDate> <activatedDate>2024-11-07T17:59:27.1682277+00:00</activatedDate> <lastActiveDate>2024-11-07T17:59:27.1682277+00:00</lastActiveDate> </member> <member> <id>60902ad1-1a5a-435f-be1c-6e46674c5d55</id> <displayName>sample string 1</displayName> <firstName>sample string 2</firstName> <lastName>sample string 3</lastName> <email>sample string 4</email> <phone>sample string 5</phone> <externalIdentifier>sample string 6</externalIdentifier> <dateOfBirth>2024-11-07T17:59:27.1525987+00:00</dateOfBirth> <addressLine1>sample string 7</addressLine1> <addressLine2>sample string 8</addressLine2> <city>sample string 9</city> <countrySubdivision>sample string 10</countrySubdivision> <country>sample string 11</country> <postalCode>sample string 12</postalCode> <disabledFlag>true</disabledFlag> <customOverrideURL>sample string 13</customOverrideURL> <payoutInfo> <email>sample string 3</email> <payoutType>sample string 1</payoutType> <useDefaultValues>true</useDefaultValues> </payoutInfo> <customOption1Name>sample string 14</customOption1Name> <customOption1Value>sample string 15</customOption1Value> <customText1Name>sample string 16</customText1Name> <customText1Value>sample string 17</customText1Value> <customText2Name>sample string 18</customText2Name> <customText2Value>sample string 19</customText2Value> <programId>f2c16a7c-9e13-47fb-be27-7f1c107fcb2f</programId> <programTitle>sample string 21</programTitle> <programName>sample string 22</programName> <referralUrl>sample string 24</referralUrl> <referralCode>sample string 23</referralCode> <memberUrl>sample string 25</memberUrl> <emailShares>26</emailShares> <socialShares>27</socialShares> <views>28</views> <referrals>29</referrals> <lastShare>2024-11-07T17:59:27.1525987+00:00</lastShare> <referralsApproved>30</referralsApproved> <referralsQualified>31</referralsQualified> <referralsPending>32</referralsPending> <referralsApprovedAmount>33</referralsApprovedAmount> <rewardsPendingAmount>34</rewardsPendingAmount> <rewardsIssuedAmount>35</rewardsIssuedAmount> <rewardAmountTotal>36</rewardAmountTotal> <rewards>37</rewards> <createDt>2024-11-07T17:59:27.1682277+00:00</createDt> <utmSource>sample string 38</utmSource> <utmMedium>sample string 39</utmMedium> <utmCampaign>sample string 40</utmCampaign> <browserReferrerUrl>sample string 41</browserReferrerUrl> <lastViewIPAddress>sample string 42</lastViewIPAddress> <firstMemberShareDate>2024-11-07T17:59:27.1682277+00:00</firstMemberShareDate> <firstMemberViewDate>2024-11-07T17:59:27.1682277+00:00</firstMemberViewDate> <firstReferralViewDate>2024-11-07T17:59:27.1682277+00:00</firstReferralViewDate> <lastReferralAddDate>2024-11-07T17:59:27.1682277+00:00</lastReferralAddDate> <firstReferralAddDate>2024-11-07T17:59:27.1682277+00:00</firstReferralAddDate> <lastMemberRewardAddDate>2024-11-07T17:59:27.1682277+00:00</lastMemberRewardAddDate> <firstMemberRewardAddDate>2024-11-07T17:59:27.1682277+00:00</firstMemberRewardAddDate> <activatedDate>2024-11-07T17:59:27.1682277+00:00</activatedDate> <lastActiveDate>2024-11-07T17:59:27.1682277+00:00</lastActiveDate> </member> </members> </MemberSet>