POST task/deletereptask

Request Information

URI Parameters

None.

Body Parameters

LabCare.Data.WebApi.Models.TaskViewModel
NameDescriptionTypeAdditional information
scheduled_time

date

None.

created_date

date

None.

notify_before_push_time

integer

None.

notify_before_email_time

integer

None.

notify_before_sms_time

integer

None.

notify_before_call_time

integer

None.

notify_before_whatsapp_time

integer

None.

notify_before_alexa_time

integer

None.

is_edit

boolean

None.

ip_add

string

None.

modified_by

integer

None.

category_id

integer

None.

category_name

string

None.

message_text

string

None.

email_text

string

None.

client_id

integer

None.

source_id

integer

None.

source_name

string

None.

scheduled_local_time

date

None.

cc_user_ids

Collection of integer

None.

cc_list

string

None.

is_push_notify

boolean

None.

is_sms_notify

boolean

None.

is_call_notify

boolean

None.

is_email_notify

boolean

None.

is_private

boolean

None.

is_completed

boolean

None.

created_by

integer

None.

created_by_name

string

None.

description

string

None.

comments

string

None.

type

LabCare.Data.Enums.TaskType

None.

type_text

string

None.

assignee

integer

None.

assignee_name

string

None.

notify_before

integer

None.

task_cal

string

None.

recorded_by

integer

None.

recorded_by_name

string

None.

url

string

None.

megacode_category_id

integer

None.

megacode_ids

Collection of integer

None.

task_detail_id

integer

None.

is_whatsapp_notify

boolean

None.

is_alexa_notify

boolean

None.

task_repetition

LabCare.Data.Enums.TaskRepetition

None.

week_day

System.DayOfWeek

None.

task_repetition_end_date

date

None.

alexa_text

string

None.

master_link_id

integer

None.

whatsapp_text

string

None.

id

integer

None.

title

string

None.

client_name

string

None.

scheduled_local_time_text

string

None.

task_url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "scheduled_time": "2026-06-16T18:47:52.2342589+00:00",
  "created_date": "2026-06-16T18:47:52.2342589+00:00",
  "notify_before_push_time": 2,
  "notify_before_email_time": 3,
  "notify_before_sms_time": 4,
  "notify_before_call_time": 5,
  "notify_before_whatsapp_time": 6,
  "notify_before_alexa_time": 7,
  "is_edit": true,
  "ip_add": "sample string 9",
  "modified_by": 1,
  "category_id": 10,
  "category_name": "sample string 11",
  "message_text": "sample string 12",
  "email_text": "sample string 13",
  "client_id": 14,
  "source_id": 1,
  "source_name": "sample string 15",
  "scheduled_local_time": "2026-06-16T18:47:52.2366017+00:00",
  "cc_user_ids": [
    1,
    2
  ],
  "cc_list": "sample string 16",
  "is_push_notify": true,
  "is_sms_notify": true,
  "is_call_notify": true,
  "is_email_notify": true,
  "is_private": true,
  "is_completed": true,
  "created_by": 23,
  "created_by_name": "sample string 24",
  "description": "sample string 25",
  "comments": "sample string 26",
  "type": 1,
  "type_text": "sample string 27",
  "assignee": 1,
  "assignee_name": "sample string 28",
  "notify_before": 29,
  "task_cal": "sample string 30",
  "recorded_by": 31,
  "recorded_by_name": "sample string 32",
  "url": "sample string 33",
  "megacode_category_id": 1,
  "megacode_ids": [
    1,
    2
  ],
  "task_detail_id": 1,
  "is_whatsapp_notify": true,
  "is_alexa_notify": true,
  "task_repetition": 1,
  "week_day": 0,
  "task_repetition_end_date": "2026-06-16T18:47:52.2388383+00:00",
  "alexa_text": "sample string 37",
  "master_link_id": 38,
  "whatsapp_text": "sample string 39",
  "id": 40,
  "title": "sample string 41",
  "client_name": "sample string 42",
  "scheduled_local_time_text": "sample string 43",
  "task_url": "sample string 44"
}

application/xml, text/xml

Sample:
<TaskViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.WebApi.Models">
  <ClientName>sample string 42</ClientName>
  <Id>40</Id>
  <ScheduledLocalTimeText>sample string 43</ScheduledLocalTimeText>
  <TaskURL>sample string 44</TaskURL>
  <Title>sample string 41</Title>
  <AlexaContent>sample string 37</AlexaContent>
  <Assignee>1</Assignee>
  <AssigneeName>sample string 28</AssigneeName>
  <CCUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CCUserIds>
  <CCUsers>sample string 16</CCUsers>
  <CategoryId>10</CategoryId>
  <CategoryName>sample string 11</CategoryName>
  <ClientId>14</ClientId>
  <Comments>sample string 26</Comments>
  <CreatedByName>sample string 24</CreatedByName>
  <DayInWeek>Sunday</DayInWeek>
  <Description>sample string 25</Description>
  <EmailContent>sample string 13</EmailContent>
  <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>38</MasterTrId>
  <MegacodeCategoryId>1</MegacodeCategoryId>
  <MegacodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MegacodeIds>
  <NotifyBefore>29</NotifyBefore>
  <PageURL>sample string 33</PageURL>
  <RecordBy>23</RecordBy>
  <RecordDate>0001-01-01T00:00:00</RecordDate>
  <RecordedBy>31</RecordedBy>
  <RecordedByName>sample string 32</RecordedByName>
  <SMSPushMessage>sample string 12</SMSPushMessage>
  <ScheduledLocalTime>2026-06-16T18:47:52.2366017+00:00</ScheduledLocalTime>
  <SourceId>1</SourceId>
  <SourceName>sample string 15</SourceName>
  <TaskCalendar>sample string 30</TaskCalendar>
  <TaskDetailId>1</TaskDetailId>
  <TaskRepetition>Daily</TaskRepetition>
  <TaskRepetitionEndDate>2026-06-16T18:47:52.2388383+00:00</TaskRepetitionEndDate>
  <Type>Labcare</Type>
  <TypeText>sample string 27</TypeText>
  <WhatsappContent>sample string 39</WhatsappContent>
  <IPAdress>sample string 9</IPAdress>
  <IsEdit>true</IsEdit>
  <ModifiedBy>1</ModifiedBy>
  <NotifyBeforeTimeAlexa>7</NotifyBeforeTimeAlexa>
  <NotifyBeforeTimeCall>5</NotifyBeforeTimeCall>
  <NotifyBeforeTimeEmail>3</NotifyBeforeTimeEmail>
  <NotifyBeforeTimePush>2</NotifyBeforeTimePush>
  <NotifyBeforeTimeSMS>4</NotifyBeforeTimeSMS>
  <NotifyBeforeTimeWhatsapp>6</NotifyBeforeTimeWhatsapp>
  <RecordDate>2026-06-16T18:47:52.2342589+00:00</RecordDate>
  <ScheduleTime>2026-06-16T18:47:52.2342589+00:00</ScheduleTime>
</TaskViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaskViewModel'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.