GET api/task/GetTasks/{memberId}?startDate={startDate}&endDate={endDate}&showDismissed={showDismissed}
Get the list of tasks for a member.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberId |
The member id. |
integer |
Required |
startDate |
The start date to search. |
date |
Required |
endDate |
The end date to search. |
date |
Required |
showDismissed |
The flag to show dismissed tasks |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
a list of .
Collection of TaskResponseModelName | Description | Type | Additional information |
---|---|---|---|
CurrentMember |
The current member |
MobileMemberModel |
None. |
Members |
The list of members |
Collection of MobileMemberModel |
None. |
Tasks |
The tasks for a member |
Collection of TaskModel |
None. |
EmptyAlertDisplay |
The text displayed if no tasks are available |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CurrentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, "Members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" } ], "Tasks": [ { "TaskId": 1, "TaskType": "sample string 2", "TaskDetails": "sample string 3", "contactId": 4, "name": "sample string 5", "displayName": "sample string 6", "email": "sample string 7", "birthDay": "sample string 8", "mobilePhone": "sample string 9", "workPhone": "sample string 10", "homePhone": "sample string 11", "loanId": 12, "loanAnniversary": "sample string 13", "loanType": "sample string 14", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 15", "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 16", "editContactUrl": "sample string 17", "completedDate": "sample string 18", "dismissedDate": "sample string 19", "alertDisplay": "sample string 20" }, { "TaskId": 1, "TaskType": "sample string 2", "TaskDetails": "sample string 3", "contactId": 4, "name": "sample string 5", "displayName": "sample string 6", "email": "sample string 7", "birthDay": "sample string 8", "mobilePhone": "sample string 9", "workPhone": "sample string 10", "homePhone": "sample string 11", "loanId": 12, "loanAnniversary": "sample string 13", "loanType": "sample string 14", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 15", "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 16", "editContactUrl": "sample string 17", "completedDate": "sample string 18", "dismissedDate": "sample string 19", "alertDisplay": "sample string 20" } ], "EmptyAlertDisplay": "sample string 1" }, { "CurrentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, "Members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" } ], "Tasks": [ { "TaskId": 1, "TaskType": "sample string 2", "TaskDetails": "sample string 3", "contactId": 4, "name": "sample string 5", "displayName": "sample string 6", "email": "sample string 7", "birthDay": "sample string 8", "mobilePhone": "sample string 9", "workPhone": "sample string 10", "homePhone": "sample string 11", "loanId": 12, "loanAnniversary": "sample string 13", "loanType": "sample string 14", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 15", "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 16", "editContactUrl": "sample string 17", "completedDate": "sample string 18", "dismissedDate": "sample string 19", "alertDisplay": "sample string 20" }, { "TaskId": 1, "TaskType": "sample string 2", "TaskDetails": "sample string 3", "contactId": 4, "name": "sample string 5", "displayName": "sample string 6", "email": "sample string 7", "birthDay": "sample string 8", "mobilePhone": "sample string 9", "workPhone": "sample string 10", "homePhone": "sample string 11", "loanId": 12, "loanAnniversary": "sample string 13", "loanType": "sample string 14", "loanAmount": 1.0, "interestRate": 1.0, "contactType": "sample string 15", "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 16", "editContactUrl": "sample string 17", "completedDate": "sample string 18", "dismissedDate": "sample string 19", "alertDisplay": "sample string 20" } ], "EmptyAlertDisplay": "sample string 1" } ]
application/xml, text/xml
Sample:
<ArrayOfTaskResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <TaskResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </CurrentMember> <EmptyAlertDisplay>sample string 1</EmptyAlertDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> </Members> <Tasks> <TaskModel> <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> <AlertDisplay>sample string 20</AlertDisplay> <BirthDay>sample string 8</BirthDay> <CompletedDate>sample string 18</CompletedDate> <ContactId>4</ContactId> <ContactType>sample string 15</ContactType> <DismissedDate>sample string 19</DismissedDate> <DisplayName>sample string 6</DisplayName> <EditContactUrl>sample string 17</EditContactUrl> <Email>sample string 7</Email> <HomePhone>sample string 11</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 13</LoanAnniversary> <LoanId>12</LoanId> <LoanType>sample string 14</LoanType> <MobilePhone>sample string 9</MobilePhone> <Name>sample string 5</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d5p1:MobileReferralModel> <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:MobileReferralModel> <d5p1:MobileReferralModel> <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:MobileReferralModel> </Referrals> <ViewContactUrl>sample string 16</ViewContactUrl> <WorkPhone>sample string 10</WorkPhone> <TaskDetails>sample string 3</TaskDetails> <TaskId>1</TaskId> <TaskType>sample string 2</TaskType> </TaskModel> <TaskModel> <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> <AlertDisplay>sample string 20</AlertDisplay> <BirthDay>sample string 8</BirthDay> <CompletedDate>sample string 18</CompletedDate> <ContactId>4</ContactId> <ContactType>sample string 15</ContactType> <DismissedDate>sample string 19</DismissedDate> <DisplayName>sample string 6</DisplayName> <EditContactUrl>sample string 17</EditContactUrl> <Email>sample string 7</Email> <HomePhone>sample string 11</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 13</LoanAnniversary> <LoanId>12</LoanId> <LoanType>sample string 14</LoanType> <MobilePhone>sample string 9</MobilePhone> <Name>sample string 5</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d5p1:MobileReferralModel> <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:MobileReferralModel> <d5p1:MobileReferralModel> <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:MobileReferralModel> </Referrals> <ViewContactUrl>sample string 16</ViewContactUrl> <WorkPhone>sample string 10</WorkPhone> <TaskDetails>sample string 3</TaskDetails> <TaskId>1</TaskId> <TaskType>sample string 2</TaskType> </TaskModel> </Tasks> </TaskResponseModel> <TaskResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </CurrentMember> <EmptyAlertDisplay>sample string 1</EmptyAlertDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> </Members> <Tasks> <TaskModel> <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> <AlertDisplay>sample string 20</AlertDisplay> <BirthDay>sample string 8</BirthDay> <CompletedDate>sample string 18</CompletedDate> <ContactId>4</ContactId> <ContactType>sample string 15</ContactType> <DismissedDate>sample string 19</DismissedDate> <DisplayName>sample string 6</DisplayName> <EditContactUrl>sample string 17</EditContactUrl> <Email>sample string 7</Email> <HomePhone>sample string 11</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 13</LoanAnniversary> <LoanId>12</LoanId> <LoanType>sample string 14</LoanType> <MobilePhone>sample string 9</MobilePhone> <Name>sample string 5</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d5p1:MobileReferralModel> <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:MobileReferralModel> <d5p1:MobileReferralModel> <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:MobileReferralModel> </Referrals> <ViewContactUrl>sample string 16</ViewContactUrl> <WorkPhone>sample string 10</WorkPhone> <TaskDetails>sample string 3</TaskDetails> <TaskId>1</TaskId> <TaskType>sample string 2</TaskType> </TaskModel> <TaskModel> <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> <AlertDisplay>sample string 20</AlertDisplay> <BirthDay>sample string 8</BirthDay> <CompletedDate>sample string 18</CompletedDate> <ContactId>4</ContactId> <ContactType>sample string 15</ContactType> <DismissedDate>sample string 19</DismissedDate> <DisplayName>sample string 6</DisplayName> <EditContactUrl>sample string 17</EditContactUrl> <Email>sample string 7</Email> <HomePhone>sample string 11</HomePhone> <InterestRate>1</InterestRate> <LoanAmount>1</LoanAmount> <LoanAnniversary>sample string 13</LoanAnniversary> <LoanId>12</LoanId> <LoanType>sample string 14</LoanType> <MobilePhone>sample string 9</MobilePhone> <Name>sample string 5</Name> <Referrals xmlns:d5p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d5p1:MobileReferralModel> <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:MobileReferralModel> <d5p1:MobileReferralModel> <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:MobileReferralModel> </Referrals> <ViewContactUrl>sample string 16</ViewContactUrl> <WorkPhone>sample string 10</WorkPhone> <TaskDetails>sample string 3</TaskDetails> <TaskId>1</TaskId> <TaskType>sample string 2</TaskType> </TaskModel> </Tasks> </TaskResponseModel> </ArrayOfTaskResponseModel>