POST api/Tasks/EditEventTask
Update event
Request Information
URI Parameters
None.
Body Parameters
CreateEditEventProcessModelName | Description | Type | Additional information |
---|---|---|---|
SerialNumber | string |
None. |
|
Body | string |
None. |
|
Location | string |
None. |
|
Subject | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
ReviewUserComment | string |
None. |
|
MDName | string |
None. |
|
MDEmail | string |
None. |
|
IsAllDayEvent | boolean |
None. |
|
Status | string |
None. |
|
EventType | string |
None. |
|
IsRecurring | boolean |
None. |
|
ParticipantsList | Collection of EventPerson |
None. |
|
Message | string |
None. |
|
EventRecurrence | EventRecurrence |
None. |
|
Participants | string |
None. |
|
CC | string |
None. |
|
Agenda | string |
None. |
|
HasAttachments | boolean |
None. |
|
EventOrganizer | string |
None. |
|
InstanceId | string |
None. |
|
CalendarId | string |
None. |
|
Role | integer |
None. |
|
wxUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SerialNumber": "sample string 1", "Body": "sample string 2", "Location": "sample string 3", "Subject": "sample string 4", "StartDate": "2025-04-04T01:14:37.1849223+01:00", "EndDate": "2025-04-04T01:14:37.1849223+01:00", "ReviewUserComment": "sample string 7", "MDName": "sample string 8", "MDEmail": "sample string 9", "IsAllDayEvent": true, "Status": "sample string 11", "EventType": "sample string 12", "IsRecurring": true, "ParticipantsList": [ { "Id": 1, "EmailAddress": "sample string 2", "Name": "sample string 3", "IsRequired": true, "UserType": "sample string 5", "IsPR": true, "Entity": "sample string 7", "Acknowledgment": true }, { "Id": 1, "EmailAddress": "sample string 2", "Name": "sample string 3", "IsRequired": true, "UserType": "sample string 5", "IsPR": true, "Entity": "sample string 7", "Acknowledgment": true } ], "Message": "sample string 14", "EventRecurrence": { "Type": 0, "Day": 1, "DayOfWeek": 0, "Month": 1, "LastOccurrence": "2025-04-04T01:14:37.1849223+01:00" }, "Participants": "sample string 15", "CC": "sample string 16", "Agenda": "sample string 17", "HasAttachments": true, "EventOrganizer": "sample string 19", "InstanceId": "sample string 20", "CalendarId": "sample string 21", "Role": 22, "wxUserID": 23 }
application/xml, text/xml
Sample:
<CalendarModel.CreateEditEventProcessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <Agenda>sample string 17</Agenda> <Body>sample string 2</Body> <CalendarId>sample string 21</CalendarId> <EndDate>2025-04-04T01:14:37.1849223+01:00</EndDate> <EventOrganizer>sample string 19</EventOrganizer> <EventRecurrence> <Day>1</Day> <DayOfWeek>Sunday</DayOfWeek> <LastOccurrence>2025-04-04T01:14:37.1849223+01:00</LastOccurrence> <Month>1</Month> <Type>Daily</Type> </EventRecurrence> <EventType>sample string 12</EventType> <HasAttachments>true</HasAttachments> <InstanceId>sample string 20</InstanceId> <IsAllDayEvent>true</IsAllDayEvent> <IsRecurring>true</IsRecurring> <Location>sample string 3</Location> <MDEmail>sample string 9</MDEmail> <MDName>sample string 8</MDName> <Message>sample string 14</Message> <ParticipantsList> <CalendarModel.EventPerson> <Acknowledgment>true</Acknowledgment> <EmailAddress>sample string 2</EmailAddress> <Entity>sample string 7</Entity> <Id>1</Id> <IsPR>true</IsPR> <IsRequired>true</IsRequired> <Name>sample string 3</Name> <UserType>sample string 5</UserType> </CalendarModel.EventPerson> <CalendarModel.EventPerson> <Acknowledgment>true</Acknowledgment> <EmailAddress>sample string 2</EmailAddress> <Entity>sample string 7</Entity> <Id>1</Id> <IsPR>true</IsPR> <IsRequired>true</IsRequired> <Name>sample string 3</Name> <UserType>sample string 5</UserType> </CalendarModel.EventPerson> </ParticipantsList> <ReviewUserComment>sample string 7</ReviewUserComment> <Role>22</Role> <SerialNumber>sample string 1</SerialNumber> <StartDate>2025-04-04T01:14:37.1849223+01:00</StartDate> <Status>sample string 11</Status> <Subject>sample string 4</Subject> <wxUserID>23</wxUserID> </CalendarModel.CreateEditEventProcessModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |