POST task/sync-tasks?userid={userid}&ismobile={ismobile}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | integer |
Required |
|
| ismobile | boolean |
Default value is False |
Body Parameters
Collection of LabCare.Data.Configuration.Models.TaskManager| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| CategoryId | integer |
None. |
|
| SMSPushMessage | string |
None. |
|
| EmailContent | string |
None. |
|
| ClientId | integer |
None. |
|
| SourceId | integer |
None. |
|
| ModuleId | LabCare.Data.Enums.Module |
None. |
|
| ScheduleTime | date |
None. |
|
| ScheduledLocalTime | date |
None. |
|
| Assignee | integer |
None. |
|
| CCUserIds | Collection of integer |
None. |
|
| NotifyBefore | integer |
None. |
|
| RecordDate | date |
None. |
|
| RecordBy | integer |
None. |
|
| IsPushNotify | boolean |
None. |
|
| IsSMSNotify | boolean |
None. |
|
| IsCallNotify | boolean |
None. |
|
| IsEmailNotify | boolean |
None. |
|
| IsCompleted | boolean |
None. |
|
| IsPrivate | boolean |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| PushNotifyBefore | integer |
None. |
|
| EmailNotifyBefore | integer |
None. |
|
| SMSNotifyBefore | integer |
None. |
|
| CallNotifyBefore | integer |
None. |
|
| WhatsappNotifyBefore | integer |
None. |
|
| AlexaNotifyBefore | integer |
None. |
|
| OverDueScheduledTime | date |
None. |
|
| CreatedNotifySentStatus | LabCare.Data.Enums.NotificationStatus |
None. |
|
| ScheduledNotifySentStatus | LabCare.Data.Enums.NotificationStatus |
None. |
|
| status | LabCare.Data.Enums.RecordStatus |
None. |
|
| Description | string |
None. |
|
| Comments | string |
None. |
|
| CompletedNotifySentStatus | LabCare.Data.Enums.NotificationStatus |
None. |
|
| OverdueNotifySentStatus | LabCare.Data.Enums.NotificationStatus |
None. |
|
| NotifyProcessBy | integer |
None. |
|
| CompletedDate | date |
None. |
|
| Type | LabCare.Data.Enums.TaskType |
None. |
|
| TaskRepetition | LabCare.Data.Enums.TaskRepetition |
None. |
|
| DayInWeek | System.DayOfWeek |
None. |
|
| WhatsappContent | string |
None. |
|
| AlexaContent | string |
None. |
|
| IsWhatsappNotify | boolean |
None. |
|
| IsAlexaNotify | boolean |
None. |
|
| TaskRepetitionEndDate | date |
None. |
|
| MasterTrId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Title": "sample string 2",
"CategoryId": 3,
"SMSPushMessage": "sample string 4",
"EmailContent": "sample string 5",
"ClientId": 1,
"SourceId": 1,
"ModuleId": 0,
"ScheduleTime": "2026-06-16T18:47:51.6503863+00:00",
"ScheduledLocalTime": "2026-06-16T18:47:51.6517947+00:00",
"Assignee": 1,
"CCUserIds": [
1,
2
],
"NotifyBefore": 6,
"RecordDate": "2026-06-16T18:47:51.6526371+00:00",
"RecordBy": 1,
"IsPushNotify": true,
"IsSMSNotify": true,
"IsCallNotify": true,
"IsEmailNotify": true,
"IsCompleted": true,
"IsPrivate": true,
"ModifiedDate": "2026-06-16T18:47:51.6526371+00:00",
"ModifiedBy": 1,
"PushNotifyBefore": 14,
"EmailNotifyBefore": 15,
"SMSNotifyBefore": 16,
"CallNotifyBefore": 17,
"WhatsappNotifyBefore": 18,
"AlexaNotifyBefore": 19,
"OverDueScheduledTime": "2026-06-16T18:47:51.6540121+00:00",
"CreatedNotifySentStatus": 0,
"ScheduledNotifySentStatus": 0,
"status": 1521,
"Description": "sample string 20",
"Comments": "sample string 21",
"CompletedNotifySentStatus": 0,
"OverdueNotifySentStatus": 0,
"NotifyProcessBy": 1,
"CompletedDate": "2026-06-16T18:47:51.6548957+00:00",
"Type": 1,
"TaskRepetition": 1,
"DayInWeek": 0,
"WhatsappContent": "sample string 22",
"AlexaContent": "sample string 23",
"IsWhatsappNotify": true,
"IsAlexaNotify": true,
"TaskRepetitionEndDate": "2026-06-16T18:47:51.6548957+00:00",
"MasterTrId": 26
},
{
"Id": 1,
"Title": "sample string 2",
"CategoryId": 3,
"SMSPushMessage": "sample string 4",
"EmailContent": "sample string 5",
"ClientId": 1,
"SourceId": 1,
"ModuleId": 0,
"ScheduleTime": "2026-06-16T18:47:51.6503863+00:00",
"ScheduledLocalTime": "2026-06-16T18:47:51.6517947+00:00",
"Assignee": 1,
"CCUserIds": [
1,
2
],
"NotifyBefore": 6,
"RecordDate": "2026-06-16T18:47:51.6526371+00:00",
"RecordBy": 1,
"IsPushNotify": true,
"IsSMSNotify": true,
"IsCallNotify": true,
"IsEmailNotify": true,
"IsCompleted": true,
"IsPrivate": true,
"ModifiedDate": "2026-06-16T18:47:51.6526371+00:00",
"ModifiedBy": 1,
"PushNotifyBefore": 14,
"EmailNotifyBefore": 15,
"SMSNotifyBefore": 16,
"CallNotifyBefore": 17,
"WhatsappNotifyBefore": 18,
"AlexaNotifyBefore": 19,
"OverDueScheduledTime": "2026-06-16T18:47:51.6540121+00:00",
"CreatedNotifySentStatus": 0,
"ScheduledNotifySentStatus": 0,
"status": 1521,
"Description": "sample string 20",
"Comments": "sample string 21",
"CompletedNotifySentStatus": 0,
"OverdueNotifySentStatus": 0,
"NotifyProcessBy": 1,
"CompletedDate": "2026-06-16T18:47:51.6548957+00:00",
"Type": 1,
"TaskRepetition": 1,
"DayInWeek": 0,
"WhatsappContent": "sample string 22",
"AlexaContent": "sample string 23",
"IsWhatsappNotify": true,
"IsAlexaNotify": true,
"TaskRepetitionEndDate": "2026-06-16T18:47:51.6548957+00:00",
"MasterTrId": 26
}
]
application/xml, text/xml
Sample:
<ArrayOfTaskManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.Configuration.Models">
<TaskManager>
<AlexaContent>sample string 23</AlexaContent>
<AlexaNotifyBefore>19</AlexaNotifyBefore>
<Assignee>1</Assignee>
<CCUserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</CCUserIds>
<CallNotifyBefore>17</CallNotifyBefore>
<CategoryId>3</CategoryId>
<ClientId>1</ClientId>
<Comments>sample string 21</Comments>
<CompletedDate>2026-06-16T18:47:51.6548957+00:00</CompletedDate>
<CompletedNotifySentStatus>None</CompletedNotifySentStatus>
<CreatedNotifySentStatus>None</CreatedNotifySentStatus>
<DayInWeek>Sunday</DayInWeek>
<Description>sample string 20</Description>
<EmailContent>sample string 5</EmailContent>
<EmailNotifyBefore>15</EmailNotifyBefore>
<Id>1</Id>
<IsAlexaNotify>true</IsAlexaNotify>
<IsCallNotify>true</IsCallNotify>
<IsCompleted>true</IsCompleted>
<IsEmailNotify>true</IsEmailNotify>
<IsPrivate>true</IsPrivate>
<IsPushNotify>true</IsPushNotify>
<IsSMSNotify>true</IsSMSNotify>
<IsWhatsappNotify>true</IsWhatsappNotify>
<MasterTrId>26</MasterTrId>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2026-06-16T18:47:51.6526371+00:00</ModifiedDate>
<ModuleId>None</ModuleId>
<NotifyBefore>6</NotifyBefore>
<NotifyProcessBy>1</NotifyProcessBy>
<OverDueScheduledTime>2026-06-16T18:47:51.6540121+00:00</OverDueScheduledTime>
<OverdueNotifySentStatus>None</OverdueNotifySentStatus>
<PushNotifyBefore>14</PushNotifyBefore>
<RecordBy>1</RecordBy>
<RecordDate>2026-06-16T18:47:51.6526371+00:00</RecordDate>
<SMSNotifyBefore>16</SMSNotifyBefore>
<SMSPushMessage>sample string 4</SMSPushMessage>
<ScheduleTime>2026-06-16T18:47:51.6503863+00:00</ScheduleTime>
<ScheduledLocalTime>2026-06-16T18:47:51.6517947+00:00</ScheduledLocalTime>
<ScheduledNotifySentStatus>None</ScheduledNotifySentStatus>
<SourceId>1</SourceId>
<TaskRepetition>Daily</TaskRepetition>
<TaskRepetitionEndDate>2026-06-16T18:47:51.6548957+00:00</TaskRepetitionEndDate>
<Title>sample string 2</Title>
<Type>Labcare</Type>
<WhatsappContent>sample string 22</WhatsappContent>
<WhatsappNotifyBefore>18</WhatsappNotifyBefore>
<status>Active</status>
</TaskManager>
<TaskManager>
<AlexaContent>sample string 23</AlexaContent>
<AlexaNotifyBefore>19</AlexaNotifyBefore>
<Assignee>1</Assignee>
<CCUserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</CCUserIds>
<CallNotifyBefore>17</CallNotifyBefore>
<CategoryId>3</CategoryId>
<ClientId>1</ClientId>
<Comments>sample string 21</Comments>
<CompletedDate>2026-06-16T18:47:51.6548957+00:00</CompletedDate>
<CompletedNotifySentStatus>None</CompletedNotifySentStatus>
<CreatedNotifySentStatus>None</CreatedNotifySentStatus>
<DayInWeek>Sunday</DayInWeek>
<Description>sample string 20</Description>
<EmailContent>sample string 5</EmailContent>
<EmailNotifyBefore>15</EmailNotifyBefore>
<Id>1</Id>
<IsAlexaNotify>true</IsAlexaNotify>
<IsCallNotify>true</IsCallNotify>
<IsCompleted>true</IsCompleted>
<IsEmailNotify>true</IsEmailNotify>
<IsPrivate>true</IsPrivate>
<IsPushNotify>true</IsPushNotify>
<IsSMSNotify>true</IsSMSNotify>
<IsWhatsappNotify>true</IsWhatsappNotify>
<MasterTrId>26</MasterTrId>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2026-06-16T18:47:51.6526371+00:00</ModifiedDate>
<ModuleId>None</ModuleId>
<NotifyBefore>6</NotifyBefore>
<NotifyProcessBy>1</NotifyProcessBy>
<OverDueScheduledTime>2026-06-16T18:47:51.6540121+00:00</OverDueScheduledTime>
<OverdueNotifySentStatus>None</OverdueNotifySentStatus>
<PushNotifyBefore>14</PushNotifyBefore>
<RecordBy>1</RecordBy>
<RecordDate>2026-06-16T18:47:51.6526371+00:00</RecordDate>
<SMSNotifyBefore>16</SMSNotifyBefore>
<SMSPushMessage>sample string 4</SMSPushMessage>
<ScheduleTime>2026-06-16T18:47:51.6503863+00:00</ScheduleTime>
<ScheduledLocalTime>2026-06-16T18:47:51.6517947+00:00</ScheduledLocalTime>
<ScheduledNotifySentStatus>None</ScheduledNotifySentStatus>
<SourceId>1</SourceId>
<TaskRepetition>Daily</TaskRepetition>
<TaskRepetitionEndDate>2026-06-16T18:47:51.6548957+00:00</TaskRepetitionEndDate>
<Title>sample string 2</Title>
<Type>Labcare</Type>
<WhatsappContent>sample string 22</WhatsappContent>
<WhatsappNotifyBefore>18</WhatsappNotifyBefore>
<status>Active</status>
</TaskManager>
</ArrayOfTaskManager>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.