PUT api/CRM/UpdateTask
Request Information
URI Parameters
None.
Body Parameters
CRMUpdateTaskRequestVMName | Description | Type | Additional information |
---|---|---|---|
Id | string |
Required |
|
RecurringException | Collection of date |
None. |
|
RecurringUntil | date |
None. |
|
UpdateType | CRMUpdateDeleteType |
None. |
|
IsCreateNewOccurance | boolean |
None. |
|
SubAccountId | string |
Required |
|
ParentAccountId | string |
Required |
|
UserId | string |
Required |
|
Title | string |
None. |
|
Detail | string |
Required |
|
Due | DateTimeViewModel |
None. |
|
AssignedTo | CRMAssignedToRequestVM |
None. |
|
CompletedPercentage | integer |
None. |
|
Priority | CRMTaskPriority |
None. |
|
RepeatStartOption | CRMTaskRepeatStartOption |
None. |
|
RepeatSummary | CRMRepeatOptionsVM |
None. |
|
AllDay | boolean |
None. |
|
WithContactId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "RecurringException": [ "2024-11-21T08:41:32.0432478+00:00", "2024-11-21T08:41:32.0432478+00:00" ], "RecurringUntil": "2024-11-21T08:41:32.0432478+00:00", "UpdateType": "None", "IsCreateNewOccurance": true, "SubAccountId": "sample string 3", "ParentAccountId": "sample string 4", "UserId": "sample string 5", "Title": "sample string 6", "Detail": "sample string 7", "Due": { "Date": "2024-11-21T08:41:32.0432478+00:00", "Hour": 1, "Minute": 2, "AM": true }, "AssignedTo": { "IsTeam": true, "Id": "sample string 2" }, "CompletedPercentage": 8, "Priority": "Normal", "RepeatStartOption": "Never", "RepeatSummary": { "MonthlyOptionType": "None", "EndOption": "Never", "MonthlyFrequency": "None", "YearlyOptionType": "None", "WeeklyFrequency": "None", "MonthOnOptionType": "First", "MonthOnOptionValue": "Sunday", "YearlyOnOptionType": "First", "YearlyOnOptionValue": "Sunday", "DaysOfWeek": [ "Sunday", "Sunday" ], "Month": 1, "EndAfterTimes": 2, "RepeatEndOnDate": "2024-11-21T08:41:32.0432478+00:00", "MonthDay": 3, "FrequencyLength": 4, "RecurringException": [ "2024-11-21T08:41:32.0432478+00:00", "2024-11-21T08:41:32.0432478+00:00" ] }, "AllDay": true, "WithContactId": "sample string 10" }
application/xml, text/xml
Sample:
<CRMUpdateTaskRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM"> <AllDay>true</AllDay> <AssignedTo> <Id>sample string 2</Id> <IsTeam>true</IsTeam> </AssignedTo> <CompletedPercentage>8</CompletedPercentage> <Detail>sample string 7</Detail> <Due xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel"> <d2p1:AM>true</d2p1:AM> <d2p1:Date>2024-11-21T08:41:32.0432478+00:00</d2p1:Date> <d2p1:Hour>1</d2p1:Hour> <d2p1:Minute>2</d2p1:Minute> </Due> <ParentAccountId>sample string 4</ParentAccountId> <Priority>Normal</Priority> <RepeatStartOption>Never</RepeatStartOption> <RepeatSummary> <DaysOfWeek xmlns:d3p1="http://schemas.datacontract.org/2004/07/MindMe.Shared.Common"> <d3p1:DaysOfWeek>Sunday</d3p1:DaysOfWeek> <d3p1:DaysOfWeek>Sunday</d3p1:DaysOfWeek> </DaysOfWeek> <EndAfterTimes>2</EndAfterTimes> <EndOption>Never</EndOption> <FrequencyLength>4</FrequencyLength> <Month>1</Month> <MonthDay>3</MonthDay> <MonthOnOptionType>First</MonthOnOptionType> <MonthOnOptionValue>Sunday</MonthOnOptionValue> <MonthlyFrequency>None</MonthlyFrequency> <MonthlyOptionType>None</MonthlyOptionType> <RecurringException xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:dateTime>2024-11-21T08:41:32.0432478+00:00</d3p1:dateTime> <d3p1:dateTime>2024-11-21T08:41:32.0432478+00:00</d3p1:dateTime> </RecurringException> <RepeatEndOnDate>2024-11-21T08:41:32.0432478+00:00</RepeatEndOnDate> <WeeklyFrequency>None</WeeklyFrequency> <YearlyOnOptionType>First</YearlyOnOptionType> <YearlyOnOptionValue>Sunday</YearlyOnOptionValue> <YearlyOptionType>None</YearlyOptionType> </RepeatSummary> <SubAccountId>sample string 3</SubAccountId> <Title>sample string 6</Title> <UserId>sample string 5</UserId> <WithContactId>sample string 10</WithContactId> <Id>sample string 1</Id> <IsCreateNewOccurance>true</IsCreateNewOccurance> <RecurringException xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:dateTime>2024-11-21T08:41:32.0432478+00:00</d2p1:dateTime> <d2p1:dateTime>2024-11-21T08:41:32.0432478+00:00</d2p1:dateTime> </RecurringException> <RecurringUntil>2024-11-21T08:41:32.0432478+00:00</RecurringUntil> <UpdateType>None</UpdateType> </CRMUpdateTaskRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.