POST api/TasksAppointments/PostAppointment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
appointment
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AppointmentName": "sample string 1",
  "AppointmentType": "sample string 2",
  "Message": "sample string 3",
  "Location": "sample string 4",
  "AppointmentNotes": "sample string 5",
  "FollowUpTasks": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "RelatedContact": "sample string 1",
        "RelatedContactId": "sample string 2",
        "TaskName": "sample string 3",
        "TaskType": "sample string 4",
        "TaskResultOutcome": "sample string 5",
        "CommentDescription": "sample string 6",
        "ProgressHistories": {
          "$id": "4",
          "$values": [
            {
              "$id": "5",
              "CommentDescription": "sample string 1",
              "Task": {
                "$ref": "3"
              },
              "TaskSaveId": "f223379b-c15f-4d9c-8247-bcce4bc1fa88",
              "SaveId": "62d06cbc-595c-44d4-b2c5-b58509392d74",
              "Status": "sample string 4",
              "UserId": "sample string 5",
              "TenantId": "sample string 6",
              "LastUpdatedBy": "sample string 7",
              "CreatedDateTimeStamp": "2026-11-05T05:20:54.5908707+00:00",
              "UpdateDateTimeStamp": "2026-11-05T05:20:54.5908707+00:00"
            },
            {
              "$ref": "5"
            },
            {
              "$ref": "5"
            }
          ]
        },
        "Appointment": {
          "$ref": "1"
        },
        "AppointmentSaveId": "455f796b-f043-4c4c-be70-32094289642c",
        "CallsLog": {
          "$id": "6",
          "CallDuration": "sample string 1",
          "Operator": "sample string 2",
          "OperatorId": "sample string 3",
          "CallerContact": "sample string 4",
          "CallerContactId": "sample string 5",
          "Title": "sample string 6",
          "FirstName": "sample string 7",
          "LastName": "sample string 8",
          "OrganisationName": "sample string 9",
          "AddressLine1": "sample string 10",
          "AddressLine2": "sample string 11",
          "TownLocality": "sample string 12",
          "CityRegion": "sample string 13",
          "State": "sample string 14",
          "PostalZipCode": "sample string 15",
          "Country": "sample string 16",
          "LandLineNo": "sample string 17",
          "MobileNo": "sample string 18",
          "MainEmail": "sample string 19",
          "OtherEmail": "sample string 20",
          "CallSubject": "sample string 21",
          "CallReason": "sample string 22",
          "EngageMethod": "sample string 23",
          "CallForUser": "sample string 24",
          "CallForUserId": "sample string 25",
          "CallOutcome": "sample string 26",
          "CallNotes": "sample string 27",
          "FollowUpTasks": {
            "$id": "7",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "PreCallsLog": {
            "$ref": "6"
          },
          "PreCallsLogSaveId": "de499e02-b94b-4ace-9c43-91c26cf12f40",
          "PostCallsLog": {
            "$id": "8",
            "$values": [
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              }
            ]
          },
          "Direction": "sample string 28",
          "CallsLogHistories": {
            "$id": "9",
            "$values": [
              {
                "$id": "10",
                "CallNotes": "sample string 1",
                "Direction": "sample string 2",
                "Duration": "sample string 3",
                "Operator": "sample string 4",
                "OperatorId": "sample string 5",
                "CallsLog": {
                  "$ref": "6"
                },
                "CallsLogSaveId": "83174899-f12c-4478-b0d2-c94298fca462",
                "SaveId": "d63b51d7-0103-40f3-b60b-13536d2cf23e",
                "Status": "sample string 7",
                "UserId": "sample string 8",
                "TenantId": "sample string 9",
                "LastUpdatedBy": "sample string 10",
                "CreatedDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00",
                "UpdateDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00"
              },
              {
                "$ref": "10"
              },
              {
                "$ref": "10"
              }
            ]
          },
          "ConectedContacts": "sample string 29",
          "SaveId": "0f29915a-34f1-4048-bc9e-d27a7d90b4ea",
          "Status": "sample string 31",
          "UserId": "sample string 32",
          "TenantId": "sample string 33",
          "LastUpdatedBy": "sample string 34",
          "CreatedDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00",
          "UpdateDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00"
        },
        "CallsLogSaveId": "49495e18-a479-45f9-9a03-a6b8b8d0da76",
        "ConectedContacts": "sample string 7",
        "Owner": "sample string 8",
        "OwnerId": "sample string 9",
        "OtherContacts": {
          "$id": "11",
          "$values": [
            {
              "$id": "12",
              "ContactName": "sample string 1",
              "ContactEmail": "sample string 2",
              "ContactId": "sample string 3",
              "CRMTask": {
                "$ref": "3"
              },
              "TaskSaveId": "499039b8-4464-4475-a3a9-785cb395ab03",
              "Appointment": {
                "$ref": "1"
              },
              "AppointmentSaveId": "0de7fc56-8de0-4fae-9a69-8449d647c0b0",
              "SaveId": "6821adc1-fd9d-4978-851c-a4d2d0ad59a9",
              "Status": "sample string 5",
              "UserId": "sample string 6",
              "TenantId": "sample string 7",
              "LastUpdatedBy": "sample string 8",
              "CreatedDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00",
              "UpdateDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00"
            },
            {
              "$ref": "12"
            },
            {
              "$ref": "12"
            }
          ]
        },
        "StartBy": "2026-11-05T05:20:54.6064997+00:00",
        "CompleteBy": "2026-11-05T05:20:54.6064997+00:00",
        "RepeateBy": "sample string 12",
        "Reminders": "sample string 13",
        "EmailType": "sample string 14",
        "EmailedOn": "2026-11-05T05:20:54.6064997+00:00",
        "SubStatus": "sample string 16",
        "TimezoneOffset": "sample string 17",
        "SaveId": "94626aea-f392-4765-93f8-9df9cc7058b0",
        "Status": "sample string 19",
        "UserId": "sample string 20",
        "TenantId": "sample string 21",
        "LastUpdatedBy": "sample string 22",
        "CreatedDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00",
        "UpdateDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ConectedContacts": "sample string 6",
  "Owner": "sample string 7",
  "OwnerId": "sample string 8",
  "OtherContacts": {
    "$id": "13",
    "$values": [
      {
        "$ref": "12"
      },
      {
        "$ref": "12"
      },
      {
        "$ref": "12"
      }
    ]
  },
  "StartBy": "2026-11-05T05:20:54.6064997+00:00",
  "CompleteBy": "2026-11-05T05:20:54.6064997+00:00",
  "RepeateBy": "sample string 11",
  "Reminders": "sample string 12",
  "EmailType": "sample string 13",
  "EmailedOn": "2026-11-05T05:20:54.6064997+00:00",
  "SubStatus": "sample string 15",
  "TimezoneOffset": "sample string 16",
  "SaveId": "489b799a-0ec5-4729-b0cd-22cd7570f4ef",
  "Status": "sample string 18",
  "UserId": "sample string 19",
  "TenantId": "sample string 20",
  "LastUpdatedBy": "sample string 21",
  "CreatedDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00",
  "UpdateDateTimeStamp": "2026-11-05T05:20:54.6064997+00:00"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: One or more errors occurred.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: One or more errors occurred.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Appointment'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.