POST api/Processes/CreateEvent/pr?calendarName={calendarName}

Create Event PR

Request Information

URI Parameters

NameDescriptionTypeAdditional information
calendarName

string

Required

Body Parameters

ConveneMeetingModel
NameDescriptionTypeAdditional information
EventProcess

CreateEditEventProcessModel

None.

Attachments

Collection of AttachmentShort

None.

InstanceID

string

None.

TimeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventProcess": {
    "SerialNumber": "sample string 1",
    "Body": "sample string 2",
    "Location": "sample string 3",
    "Subject": "sample string 4",
    "StartDate": "2024-10-18T05:22:24.2281368+01:00",
    "EndDate": "2024-10-18T05:22:24.2281368+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": "2024-10-18T05:22:24.2281368+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
  },
  "Attachments": [
    {
      "Id": 1,
      "ParentId": "sample string 2",
      "Source": 0,
      "SourceId": "sample string 3",
      "SourceName": "sample string 4",
      "ApplicationId": 1
    },
    {
      "Id": 1,
      "ParentId": "sample string 2",
      "Source": 0,
      "SourceId": "sample string 3",
      "SourceName": "sample string 4",
      "ApplicationId": 1
    }
  ],
  "InstanceID": "sample string 1",
  "TimeZone": "sample string 2"
}

application/xml, text/xml

Sample:
<ConveneMeetingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models">
  <Attachments>
    <AttachmentsModel.AttachmentShort>
      <ApplicationId>1</ApplicationId>
      <Id>1</Id>
      <ParentId>sample string 2</ParentId>
      <Source>Undefined</Source>
      <SourceId>sample string 3</SourceId>
      <SourceName>sample string 4</SourceName>
    </AttachmentsModel.AttachmentShort>
    <AttachmentsModel.AttachmentShort>
      <ApplicationId>1</ApplicationId>
      <Id>1</Id>
      <ParentId>sample string 2</ParentId>
      <Source>Undefined</Source>
      <SourceId>sample string 3</SourceId>
      <SourceName>sample string 4</SourceName>
    </AttachmentsModel.AttachmentShort>
  </Attachments>
  <EventProcess>
    <Agenda>sample string 17</Agenda>
    <Body>sample string 2</Body>
    <CalendarId>sample string 21</CalendarId>
    <EndDate>2024-10-18T05:22:24.2281368+01:00</EndDate>
    <EventOrganizer>sample string 19</EventOrganizer>
    <EventRecurrence>
      <Day>1</Day>
      <DayOfWeek>Sunday</DayOfWeek>
      <LastOccurrence>2024-10-18T05:22:24.2281368+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>2024-10-18T05:22:24.2281368+01:00</StartDate>
    <Status>sample string 11</Status>
    <Subject>sample string 4</Subject>
    <wxUserID>23</wxUserID>
  </EventProcess>
  <InstanceID>sample string 1</InstanceID>
  <TimeZone>sample string 2</TimeZone>
</ConveneMeetingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>