POST api/CRM/SaveAppointment

Request Information

URI Parameters

None.

Body Parameters

CRMCreateAppointmentRequestVM
NameDescriptionTypeAdditional information
UserId

string

Required

SubAccountId

string

Required

ParentAccountId

string

Required

IsCompleted

boolean

None.

Agenda

string

None.

Type

CRMAppointmentLocationType

None.

TypeId

string

Required

Details

CRMAppointmentLocationVM

Required

StartDateDetails

DateTimeViewModel

None.

EndDateDetails

DateTimeViewModel

None.

PrivateNotes

string

None.

PrivateNotesRawText

string

None.

WithContactIds

Collection of string

None.

AssignedTo

CRMAssignedToRequestVM

None.

IsSendTextReminer

boolean

None.

TextReminderSettings

CRMSendTextReminderRequestVM

None.

RepeatSummary

CRMRepeatOptionsVM

None.

RepeatStartOption

CRMTaskRepeatStartOption

None.

ResultId

string

None.

OutComeId

string

None.

AllDay

boolean

None.

IsSyncToCalendar

boolean

None.

IsInvitationEnable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "SubAccountId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "IsCompleted": true,
  "Agenda": "sample string 5",
  "Type": "None",
  "TypeId": "sample string 6",
  "Details": {
    "Address": {
      "Id": "sample string 1",
      "AddressType": "Home",
      "Address1": "sample string 2",
      "Address2": "sample string 3",
      "Address3": "sample string 4",
      "City": "sample string 5",
      "StateId": "sample string 6",
      "StateName": "sample string 7",
      "AbbrivatedStateName": "sample string 8",
      "CountryId": "sample string 9",
      "CountryName": "sample string 10",
      "ZipCode": "sample string 11"
    },
    "MeetingLink": "sample string 1",
    "MeetingPassword": "sample string 2",
    "MobileCountryCode": 3,
    "MobileNumber": "sample string 4",
    "MobileCountryId": "sample string 5",
    "AccessCode": "sample string 6",
    "MeetingType": "Zoom"
  },
  "StartDateDetails": {
    "Date": "2024-11-20T13:06:27.8700706+00:00",
    "Hour": 1,
    "Minute": 2,
    "AM": true
  },
  "EndDateDetails": {
    "Date": "2024-11-20T13:06:27.8700706+00:00",
    "Hour": 1,
    "Minute": 2,
    "AM": true
  },
  "PrivateNotes": "sample string 7",
  "PrivateNotesRawText": "sample string 8",
  "WithContactIds": [
    "sample string 1",
    "sample string 2"
  ],
  "AssignedTo": {
    "IsTeam": true,
    "Id": "sample string 2"
  },
  "IsSendTextReminer": true,
  "TextReminderSettings": {
    "From": "sample string 1",
    "IntervalLength": 2,
    "IntervalType": "Minute"
  },
  "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-20T13:06:27.8700706+00:00",
    "MonthDay": 3,
    "FrequencyLength": 4,
    "RecurringException": [
      "2024-11-20T13:06:27.8700706+00:00",
      "2024-11-20T13:06:27.8700706+00:00"
    ]
  },
  "RepeatStartOption": "Never",
  "ResultId": "sample string 10",
  "OutComeId": "sample string 11",
  "AllDay": true,
  "IsSyncToCalendar": true,
  "IsInvitationEnable": true
}

application/xml, text/xml

Sample:
<CRMCreateAppointmentRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM">
  <Agenda>sample string 5</Agenda>
  <AllDay>true</AllDay>
  <AssignedTo>
    <Id>sample string 2</Id>
    <IsTeam>true</IsTeam>
  </AssignedTo>
  <Details>
    <AccessCode>sample string 6</AccessCode>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
      <d3p1:AbbrivatedStateName>sample string 8</d3p1:AbbrivatedStateName>
      <d3p1:Address1>sample string 2</d3p1:Address1>
      <d3p1:Address2>sample string 3</d3p1:Address2>
      <d3p1:Address3>sample string 4</d3p1:Address3>
      <d3p1:AddressType>Home</d3p1:AddressType>
      <d3p1:City>sample string 5</d3p1:City>
      <d3p1:CountryId>sample string 9</d3p1:CountryId>
      <d3p1:CountryName>sample string 10</d3p1:CountryName>
      <d3p1:Id>sample string 1</d3p1:Id>
      <d3p1:StateId>sample string 6</d3p1:StateId>
      <d3p1:StateName>sample string 7</d3p1:StateName>
      <d3p1:ZipCode>sample string 11</d3p1:ZipCode>
    </Address>
    <MeetingLink>sample string 1</MeetingLink>
    <MeetingPassword>sample string 2</MeetingPassword>
    <MeetingType>Zoom</MeetingType>
    <MobileCountryCode>3</MobileCountryCode>
    <MobileCountryId>sample string 5</MobileCountryId>
    <MobileNumber>sample string 4</MobileNumber>
  </Details>
  <EndDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel">
    <d2p1:AM>true</d2p1:AM>
    <d2p1:Date>2024-11-20T13:06:27.8700706+00:00</d2p1:Date>
    <d2p1:Hour>1</d2p1:Hour>
    <d2p1:Minute>2</d2p1:Minute>
  </EndDateDetails>
  <IsCompleted>true</IsCompleted>
  <IsInvitationEnable>true</IsInvitationEnable>
  <IsSendTextReminer>true</IsSendTextReminer>
  <IsSyncToCalendar>true</IsSyncToCalendar>
  <OutComeId>sample string 11</OutComeId>
  <ParentAccountId>sample string 3</ParentAccountId>
  <PrivateNotes>sample string 7</PrivateNotes>
  <PrivateNotesRawText>sample string 8</PrivateNotesRawText>
  <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-20T13:06:27.8700706+00:00</d3p1:dateTime>
      <d3p1:dateTime>2024-11-20T13:06:27.8700706+00:00</d3p1:dateTime>
    </RecurringException>
    <RepeatEndOnDate>2024-11-20T13:06:27.8700706+00:00</RepeatEndOnDate>
    <WeeklyFrequency>None</WeeklyFrequency>
    <YearlyOnOptionType>First</YearlyOnOptionType>
    <YearlyOnOptionValue>Sunday</YearlyOnOptionValue>
    <YearlyOptionType>None</YearlyOptionType>
  </RepeatSummary>
  <ResultId>sample string 10</ResultId>
  <StartDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel">
    <d2p1:AM>true</d2p1:AM>
    <d2p1:Date>2024-11-20T13:06:27.8700706+00:00</d2p1:Date>
    <d2p1:Hour>1</d2p1:Hour>
    <d2p1:Minute>2</d2p1:Minute>
  </StartDateDetails>
  <SubAccountId>sample string 2</SubAccountId>
  <TextReminderSettings>
    <From>sample string 1</From>
    <IntervalLength>2</IntervalLength>
    <IntervalType>Minute</IntervalType>
  </TextReminderSettings>
  <Type>None</Type>
  <TypeId>sample string 6</TypeId>
  <UserId>sample string 1</UserId>
  <WithContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WithContactIds>
</CRMCreateAppointmentRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.