PUT api/CRM/UpdateCall

Request Information

URI Parameters

None.

Body Parameters

CRMUpdateCallRequestVM
NameDescriptionTypeAdditional information
Id

string

Required

RecurringException

Collection of date

None.

RecurringUntil

date

None.

UpdateType

CRMUpdateDeleteType

None.

IsCreateNewOccurance

boolean

None.

Agenda

string

Required

SubAccountId

string

Required

UserId

string

Required

ParentAccountId

string

Required

IsCompleted

boolean

None.

IsOutGoing

boolean

None.

WithContactId

string

Required

TypeId

string

Required

FollowUp

CRMCallFollowUpRequestVM

None.

MobileNumber

string

None.

MobileCountryCode

integer

None.

CountryId

string

None.

StartDateDetails

DateTimeViewModel

None.

EndDateDetails

DateTimeViewModel

None.

RepeatStartOption

CRMTaskRepeatStartOption

None.

AccessDetails

CRMAccessDetailsVM

None.

RepeatSummary

CRMRepeatOptionsVM

None.

PrivateNotes

string

None.

PrivateNotesRawText

string

None.

AssignedTo

CRMAssignedToRequestVM

None.

ResultId

string

None.

OutComeId

string

None.

ContactPhoneId

string

None.

ContactPhone

PhoneVM

None.

AllDay

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RecurringException": [
    "2022-12-02T22:42:43.2221903+00:00",
    "2022-12-02T22:42:43.2221903+00:00"
  ],
  "RecurringUntil": "2022-12-02T22:42:43.2221903+00:00",
  "UpdateType": "None",
  "IsCreateNewOccurance": true,
  "Agenda": "sample string 3",
  "SubAccountId": "sample string 4",
  "UserId": "sample string 5",
  "ParentAccountId": "sample string 6",
  "IsCompleted": true,
  "IsOutGoing": true,
  "WithContactId": "sample string 9",
  "TypeId": "sample string 10",
  "FollowUp": {
    "Id": "sample string 1",
    "Type": "Call"
  },
  "MobileNumber": "sample string 11",
  "MobileCountryCode": 12,
  "CountryId": "sample string 13",
  "StartDateDetails": {
    "Date": "2022-12-02T22:42:43.2221903+00:00",
    "Hour": 1,
    "Minute": 2,
    "AM": true
  },
  "EndDateDetails": {
    "Date": "2022-12-02T22:42:43.2221903+00:00",
    "Hour": 1,
    "Minute": 2,
    "AM": true
  },
  "RepeatStartOption": "Never",
  "AccessDetails": {
    "TeamUserSaveType": "All",
    "UserAndTeams": [
      {
        "IsTeam": true,
        "Id": "sample string 2"
      },
      {
        "IsTeam": true,
        "Id": "sample string 2"
      }
    ]
  },
  "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": "2022-12-02T22:42:43.2221903+00:00",
    "MonthDay": 3,
    "FrequencyLength": 4,
    "RecurringException": [
      "2022-12-02T22:42:43.2221903+00:00",
      "2022-12-02T22:42:43.2221903+00:00"
    ]
  },
  "PrivateNotes": "sample string 14",
  "PrivateNotesRawText": "sample string 15",
  "AssignedTo": {
    "IsTeam": true,
    "Id": "sample string 2"
  },
  "ResultId": "sample string 16",
  "OutComeId": "sample string 17",
  "ContactPhoneId": "sample string 18",
  "ContactPhone": {
    "CountryId": "sample string 1",
    "CountryCode": 2,
    "Number": "sample string 3",
    "LabelId": "sample string 4"
  },
  "AllDay": true
}

application/xml, text/xml

Sample:
<CRMUpdateCallRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM">
  <AccessDetails>
    <TeamUserSaveType>All</TeamUserSaveType>
    <UserAndTeams>
      <CRMAssignedToRequestVM>
        <Id>sample string 2</Id>
        <IsTeam>true</IsTeam>
      </CRMAssignedToRequestVM>
      <CRMAssignedToRequestVM>
        <Id>sample string 2</Id>
        <IsTeam>true</IsTeam>
      </CRMAssignedToRequestVM>
    </UserAndTeams>
  </AccessDetails>
  <Agenda>sample string 3</Agenda>
  <AllDay>true</AllDay>
  <AssignedTo>
    <Id>sample string 2</Id>
    <IsTeam>true</IsTeam>
  </AssignedTo>
  <ContactPhone>
    <CountryCode>2</CountryCode>
    <CountryId>sample string 1</CountryId>
    <LabelId>sample string 4</LabelId>
    <Number>sample string 3</Number>
  </ContactPhone>
  <ContactPhoneId>sample string 18</ContactPhoneId>
  <CountryId>sample string 13</CountryId>
  <EndDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel">
    <d2p1:AM>true</d2p1:AM>
    <d2p1:Date>2022-12-02T22:42:43.2221903+00:00</d2p1:Date>
    <d2p1:Hour>1</d2p1:Hour>
    <d2p1:Minute>2</d2p1:Minute>
  </EndDateDetails>
  <FollowUp>
    <Id>sample string 1</Id>
    <Type>Call</Type>
  </FollowUp>
  <IsCompleted>true</IsCompleted>
  <IsOutGoing>true</IsOutGoing>
  <MobileCountryCode>12</MobileCountryCode>
  <MobileNumber>sample string 11</MobileNumber>
  <OutComeId>sample string 17</OutComeId>
  <ParentAccountId>sample string 6</ParentAccountId>
  <PrivateNotes>sample string 14</PrivateNotes>
  <PrivateNotesRawText>sample string 15</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>2022-12-02T22:42:43.2221903+00:00</d3p1:dateTime>
      <d3p1:dateTime>2022-12-02T22:42:43.2221903+00:00</d3p1:dateTime>
    </RecurringException>
    <RepeatEndOnDate>2022-12-02T22:42:43.2221903+00:00</RepeatEndOnDate>
    <WeeklyFrequency>None</WeeklyFrequency>
    <YearlyOnOptionType>First</YearlyOnOptionType>
    <YearlyOnOptionValue>Sunday</YearlyOnOptionValue>
    <YearlyOptionType>None</YearlyOptionType>
  </RepeatSummary>
  <ResultId>sample string 16</ResultId>
  <StartDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel">
    <d2p1:AM>true</d2p1:AM>
    <d2p1:Date>2022-12-02T22:42:43.2221903+00:00</d2p1:Date>
    <d2p1:Hour>1</d2p1:Hour>
    <d2p1:Minute>2</d2p1:Minute>
  </StartDateDetails>
  <SubAccountId>sample string 4</SubAccountId>
  <TypeId>sample string 10</TypeId>
  <UserId>sample string 5</UserId>
  <WithContactId>sample string 9</WithContactId>
  <Id>sample string 1</Id>
  <IsCreateNewOccurance>true</IsCreateNewOccurance>
  <RecurringException xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2022-12-02T22:42:43.2221903+00:00</d2p1:dateTime>
    <d2p1:dateTime>2022-12-02T22:42:43.2221903+00:00</d2p1:dateTime>
  </RecurringException>
  <RecurringUntil>2022-12-02T22:42:43.2221903+00:00</RecurringUntil>
  <UpdateType>None</UpdateType>
</CRMUpdateCallRequestVM>

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.