POST api/CRM/CreateCall
Request Information
URI Parameters
None.
Body Parameters
CRMCreateCallRequestVMName | Description | Type | Additional information |
---|---|---|---|
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. |
|
IsSyncToCalendar | boolean |
None. |
|
IsInvitationEnable | boolean |
None. |
|
PhoneType | CRMPhoneType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Agenda": "sample string 1", "SubAccountId": "sample string 2", "UserId": "sample string 3", "ParentAccountId": "sample string 4", "IsCompleted": true, "IsOutGoing": true, "WithContactId": "sample string 7", "TypeId": "sample string 8", "FollowUp": { "Id": "sample string 1", "Type": "Call" }, "MobileNumber": "sample string 9", "MobileCountryCode": 10, "CountryId": "sample string 11", "StartDateDetails": { "Date": "2024-11-20T18:55:59.7792892+00:00", "Hour": 1, "Minute": 2, "AM": true }, "EndDateDetails": { "Date": "2024-11-20T18:55:59.7792892+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": "2024-11-20T18:55:59.7792892+00:00", "MonthDay": 3, "FrequencyLength": 4, "RecurringException": [ "2024-11-20T18:55:59.7792892+00:00", "2024-11-20T18:55:59.7792892+00:00" ] }, "PrivateNotes": "sample string 12", "PrivateNotesRawText": "sample string 13", "AssignedTo": { "IsTeam": true, "Id": "sample string 2" }, "ResultId": "sample string 14", "OutComeId": "sample string 15", "ContactPhoneId": "sample string 16", "ContactPhone": { "CountryId": "sample string 1", "CountryCode": 2, "Number": "sample string 3", "LabelId": "sample string 4" }, "AllDay": true, "IsSyncToCalendar": true, "IsInvitationEnable": true, "PhoneType": "None" }
application/xml, text/xml
Sample:
<CRMCreateCallRequestVM 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 1</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 16</ContactPhoneId> <CountryId>sample string 11</CountryId> <EndDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel"> <d2p1:AM>true</d2p1:AM> <d2p1:Date>2024-11-20T18:55:59.7792892+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> <IsInvitationEnable>true</IsInvitationEnable> <IsOutGoing>true</IsOutGoing> <IsSyncToCalendar>true</IsSyncToCalendar> <MobileCountryCode>10</MobileCountryCode> <MobileNumber>sample string 9</MobileNumber> <OutComeId>sample string 15</OutComeId> <ParentAccountId>sample string 4</ParentAccountId> <PhoneType>None</PhoneType> <PrivateNotes>sample string 12</PrivateNotes> <PrivateNotesRawText>sample string 13</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-20T18:55:59.7792892+00:00</d3p1:dateTime> <d3p1:dateTime>2024-11-20T18:55:59.7792892+00:00</d3p1:dateTime> </RecurringException> <RepeatEndOnDate>2024-11-20T18:55:59.7792892+00:00</RepeatEndOnDate> <WeeklyFrequency>None</WeeklyFrequency> <YearlyOnOptionType>First</YearlyOnOptionType> <YearlyOnOptionValue>Sunday</YearlyOnOptionValue> <YearlyOptionType>None</YearlyOptionType> </RepeatSummary> <ResultId>sample string 14</ResultId> <StartDateDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel"> <d2p1:AM>true</d2p1:AM> <d2p1:Date>2024-11-20T18:55:59.7792892+00:00</d2p1:Date> <d2p1:Hour>1</d2p1:Hour> <d2p1:Minute>2</d2p1:Minute> </StartDateDetails> <SubAccountId>sample string 2</SubAccountId> <TypeId>sample string 8</TypeId> <UserId>sample string 3</UserId> <WithContactId>sample string 7</WithContactId> </CRMCreateCallRequestVM>
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.