GET v2/GetOpportunities/{memberId}
Get the list of todays opportunity alerts for a member.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberId |
The member id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
a list of .
Collection of OpportunityResponseModelName | Description | Type | Additional information |
---|---|---|---|
currentMember |
The current member |
MemberModel |
None. |
members |
The list of members |
Collection of MemberModel |
None. |
opportunities |
The SalesBoomerangs for a member |
None. |
Response Formats
application/json, text/json
Sample:
[ { "currentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" }, "members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" } ], "opportunities": [ { "oportunityId": 1, "opportunityType": "sample string 2", "opportunityTypeDisplay": "sample string 3", "opportunityName": "sample string 4", "opportunityDetails": "sample string 5", "dispositions": [ { "dispositionId": 1, "dispositionName": "sample string 2" }, { "dispositionId": 1, "dispositionName": "sample string 2" } ], "completedDisposition": "sample string 6", "contactId": 7, "name": "sample string 8", "displayName": "sample string 9", "email": "sample string 10", "birthDay": "sample string 11", "mobilePhone": "sample string 12", "workPhone": "sample string 13", "homePhone": "sample string 14", "loanId": 15, "loanAnniversary": "sample string 16", "loanType": "sample string 17", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 18", "address": { "addressType": "sample string 1", "companyName": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7" }, "referrals": [ { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" }, { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" } ], "viewContactUrl": "sample string 19", "editContactUrl": "sample string 20", "completedDate": "sample string 21", "dismissedDate": "sample string 22", "alertDisplay": "sample string 23" }, { "oportunityId": 1, "opportunityType": "sample string 2", "opportunityTypeDisplay": "sample string 3", "opportunityName": "sample string 4", "opportunityDetails": "sample string 5", "dispositions": [ { "dispositionId": 1, "dispositionName": "sample string 2" }, { "dispositionId": 1, "dispositionName": "sample string 2" } ], "completedDisposition": "sample string 6", "contactId": 7, "name": "sample string 8", "displayName": "sample string 9", "email": "sample string 10", "birthDay": "sample string 11", "mobilePhone": "sample string 12", "workPhone": "sample string 13", "homePhone": "sample string 14", "loanId": 15, "loanAnniversary": "sample string 16", "loanType": "sample string 17", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 18", "address": { "addressType": "sample string 1", "companyName": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7" }, "referrals": [ { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" }, { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" } ], "viewContactUrl": "sample string 19", "editContactUrl": "sample string 20", "completedDate": "sample string 21", "dismissedDate": "sample string 22", "alertDisplay": "sample string 23" } ], "emptyOpportunityDisplay": "sample string 1" }, { "currentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" }, "members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 3", "lastName": "sample string 4", "fullName": "sample string 5", "usherpaLOToken": "sample string 6", "memberPhotoUrl": "sample string 7" } ], "opportunities": [ { "oportunityId": 1, "opportunityType": "sample string 2", "opportunityTypeDisplay": "sample string 3", "opportunityName": "sample string 4", "opportunityDetails": "sample string 5", "dispositions": [ { "dispositionId": 1, "dispositionName": "sample string 2" }, { "dispositionId": 1, "dispositionName": "sample string 2" } ], "completedDisposition": "sample string 6", "contactId": 7, "name": "sample string 8", "displayName": "sample string 9", "email": "sample string 10", "birthDay": "sample string 11", "mobilePhone": "sample string 12", "workPhone": "sample string 13", "homePhone": "sample string 14", "loanId": 15, "loanAnniversary": "sample string 16", "loanType": "sample string 17", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 18", "address": { "addressType": "sample string 1", "companyName": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7" }, "referrals": [ { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" }, { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" } ], "viewContactUrl": "sample string 19", "editContactUrl": "sample string 20", "completedDate": "sample string 21", "dismissedDate": "sample string 22", "alertDisplay": "sample string 23" }, { "oportunityId": 1, "opportunityType": "sample string 2", "opportunityTypeDisplay": "sample string 3", "opportunityName": "sample string 4", "opportunityDetails": "sample string 5", "dispositions": [ { "dispositionId": 1, "dispositionName": "sample string 2" }, { "dispositionId": 1, "dispositionName": "sample string 2" } ], "completedDisposition": "sample string 6", "contactId": 7, "name": "sample string 8", "displayName": "sample string 9", "email": "sample string 10", "birthDay": "sample string 11", "mobilePhone": "sample string 12", "workPhone": "sample string 13", "homePhone": "sample string 14", "loanId": 15, "loanAnniversary": "sample string 16", "loanType": "sample string 17", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 18", "address": { "addressType": "sample string 1", "companyName": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7" }, "referrals": [ { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" }, { "type": "sample string 1", "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" } ], "viewContactUrl": "sample string 19", "editContactUrl": "sample string 20", "completedDate": "sample string 21", "dismissedDate": "sample string 22", "alertDisplay": "sample string 23" } ], "emptyOpportunityDisplay": "sample string 1" } ]
application/xml, text/xml
Sample:
<ArrayOfOpportunityResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models.V2"> <OpportunityResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </CurrentMember> <EmptyOpportunityDisplay>sample string 1</EmptyOpportunityDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d3p1:MemberModel> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </d3p1:MemberModel> <d3p1:MemberModel> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </d3p1:MemberModel> </Members> <Opportunities> <OpportunityModel> <Address> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <AddressType>sample string 1</AddressType> <City>sample string 5</City> <CompanyName>sample string 2</CompanyName> <PostalCode>sample string 7</PostalCode> <State>sample string 6</State> </Address> <BirthDay>sample string 11</BirthDay> <CompletedDate>sample string 21</CompletedDate> <ContactId>7</ContactId> <ContactType>sample string 18</ContactType> <DismissedDate>sample string 22</DismissedDate> <DisplayName>sample string 9</DisplayName> <DisplayText>sample string 23</DisplayText> <EditContactUrl>sample string 20</EditContactUrl> <Email>sample string 10</Email> <HomePhone>sample string 14</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 16</LoanAnniversary> <LoanId>15</LoanId> <LoanType>sample string 17</LoanType> <MobilePhone>sample string 12</MobilePhone> <Name>sample string 8</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> </Referrals> <ViewContactUrl>sample string 19</ViewContactUrl> <WorkPhone>sample string 13</WorkPhone> <CompletedDisposition>sample string 6</CompletedDisposition> <Dispositions> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> </Dispositions> <OpportunityDetails>sample string 5</OpportunityDetails> <OpportunityId>1</OpportunityId> <OpportunityName>sample string 4</OpportunityName> <OpportunityType>sample string 2</OpportunityType> <OpportunityTypeDisplay>sample string 3</OpportunityTypeDisplay> </OpportunityModel> <OpportunityModel> <Address> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <AddressType>sample string 1</AddressType> <City>sample string 5</City> <CompanyName>sample string 2</CompanyName> <PostalCode>sample string 7</PostalCode> <State>sample string 6</State> </Address> <BirthDay>sample string 11</BirthDay> <CompletedDate>sample string 21</CompletedDate> <ContactId>7</ContactId> <ContactType>sample string 18</ContactType> <DismissedDate>sample string 22</DismissedDate> <DisplayName>sample string 9</DisplayName> <DisplayText>sample string 23</DisplayText> <EditContactUrl>sample string 20</EditContactUrl> <Email>sample string 10</Email> <HomePhone>sample string 14</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 16</LoanAnniversary> <LoanId>15</LoanId> <LoanType>sample string 17</LoanType> <MobilePhone>sample string 12</MobilePhone> <Name>sample string 8</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> </Referrals> <ViewContactUrl>sample string 19</ViewContactUrl> <WorkPhone>sample string 13</WorkPhone> <CompletedDisposition>sample string 6</CompletedDisposition> <Dispositions> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> </Dispositions> <OpportunityDetails>sample string 5</OpportunityDetails> <OpportunityId>1</OpportunityId> <OpportunityName>sample string 4</OpportunityName> <OpportunityType>sample string 2</OpportunityType> <OpportunityTypeDisplay>sample string 3</OpportunityTypeDisplay> </OpportunityModel> </Opportunities> </OpportunityResponseModel> <OpportunityResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </CurrentMember> <EmptyOpportunityDisplay>sample string 1</EmptyOpportunityDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d3p1:MemberModel> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </d3p1:MemberModel> <d3p1:MemberModel> <d3p1:FirstName>sample string 3</d3p1:FirstName> <d3p1:FullName>sample string 5</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 4</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 7</d3p1:MemberPhotoUrl> <d3p1:UsherpaLOToken>sample string 6</d3p1:UsherpaLOToken> </d3p1:MemberModel> </Members> <Opportunities> <OpportunityModel> <Address> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <AddressType>sample string 1</AddressType> <City>sample string 5</City> <CompanyName>sample string 2</CompanyName> <PostalCode>sample string 7</PostalCode> <State>sample string 6</State> </Address> <BirthDay>sample string 11</BirthDay> <CompletedDate>sample string 21</CompletedDate> <ContactId>7</ContactId> <ContactType>sample string 18</ContactType> <DismissedDate>sample string 22</DismissedDate> <DisplayName>sample string 9</DisplayName> <DisplayText>sample string 23</DisplayText> <EditContactUrl>sample string 20</EditContactUrl> <Email>sample string 10</Email> <HomePhone>sample string 14</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 16</LoanAnniversary> <LoanId>15</LoanId> <LoanType>sample string 17</LoanType> <MobilePhone>sample string 12</MobilePhone> <Name>sample string 8</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> </Referrals> <ViewContactUrl>sample string 19</ViewContactUrl> <WorkPhone>sample string 13</WorkPhone> <CompletedDisposition>sample string 6</CompletedDisposition> <Dispositions> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> </Dispositions> <OpportunityDetails>sample string 5</OpportunityDetails> <OpportunityId>1</OpportunityId> <OpportunityName>sample string 4</OpportunityName> <OpportunityType>sample string 2</OpportunityType> <OpportunityTypeDisplay>sample string 3</OpportunityTypeDisplay> </OpportunityModel> <OpportunityModel> <Address> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <AddressType>sample string 1</AddressType> <City>sample string 5</City> <CompanyName>sample string 2</CompanyName> <PostalCode>sample string 7</PostalCode> <State>sample string 6</State> </Address> <BirthDay>sample string 11</BirthDay> <CompletedDate>sample string 21</CompletedDate> <ContactId>7</ContactId> <ContactType>sample string 18</ContactType> <DismissedDate>sample string 22</DismissedDate> <DisplayName>sample string 9</DisplayName> <DisplayText>sample string 23</DisplayText> <EditContactUrl>sample string 20</EditContactUrl> <Email>sample string 10</Email> <HomePhone>sample string 14</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 16</LoanAnniversary> <LoanId>15</LoanId> <LoanType>sample string 17</LoanType> <MobilePhone>sample string 12</MobilePhone> <Name>sample string 8</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> <d5p1:ReferralModel> <d5p1:Email>sample string 3</d5p1:Email> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Phone>sample string 4</d5p1:Phone> <d5p1:Type>sample string 1</d5p1:Type> </d5p1:ReferralModel> </Referrals> <ViewContactUrl>sample string 19</ViewContactUrl> <WorkPhone>sample string 13</WorkPhone> <CompletedDisposition>sample string 6</CompletedDisposition> <Dispositions> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> <DispositionModel> <DispositionId>1</DispositionId> <DispositionName>sample string 2</DispositionName> </DispositionModel> </Dispositions> <OpportunityDetails>sample string 5</OpportunityDetails> <OpportunityId>1</OpportunityId> <OpportunityName>sample string 4</OpportunityName> <OpportunityType>sample string 2</OpportunityType> <OpportunityTypeDisplay>sample string 3</OpportunityTypeDisplay> </OpportunityModel> </Opportunities> </OpportunityResponseModel> </ArrayOfOpportunityResponseModel>