POST api/TasksAppointments/PostTask

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
task
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "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": "2",
    "$values": [
      {
        "$id": "3",
        "CommentDescription": "sample string 1",
        "Task": {
          "$ref": "1"
        },
        "TaskSaveId": "0842bc0b-f238-4b9d-be45-b3f71eb4d36f",
        "SaveId": "c4050e02-7da2-42c8-8fad-e1cf1a0a554a",
        "Status": "sample string 4",
        "UserId": "sample string 5",
        "TenantId": "sample string 6",
        "LastUpdatedBy": "sample string 7",
        "CreatedDateTimeStamp": "2025-09-18T03:33:22.7367634+00:00",
        "UpdateDateTimeStamp": "2025-09-18T03:33:22.7367634+00:00"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "Appointment": {
    "$id": "4",
    "AppointmentName": "sample string 1",
    "AppointmentType": "sample string 2",
    "Message": "sample string 3",
    "Location": "sample string 4",
    "AppointmentNotes": "sample string 5",
    "FollowUpTasks": {
      "$id": "5",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "ConectedContacts": "sample string 6",
    "Owner": "sample string 7",
    "OwnerId": "sample string 8",
    "OtherContacts": {
      "$id": "6",
      "$values": [
        {
          "$id": "7",
          "ContactName": "sample string 1",
          "ContactEmail": "sample string 2",
          "ContactId": "sample string 3",
          "CRMTask": {
            "$ref": "1"
          },
          "TaskSaveId": "aef479df-d97d-44ce-9c5d-5c2df256068c",
          "Appointment": {
            "$ref": "4"
          },
          "AppointmentSaveId": "c2d635e3-a473-4316-94fe-9c72a4926860",
          "SaveId": "63fb0263-8f5f-43db-8e60-20388e967a5c",
          "Status": "sample string 5",
          "UserId": "sample string 6",
          "TenantId": "sample string 7",
          "LastUpdatedBy": "sample string 8",
          "CreatedDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00",
          "UpdateDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00"
        },
        {
          "$ref": "7"
        },
        {
          "$ref": "7"
        }
      ]
    },
    "StartBy": "2025-09-18T03:33:22.7523846+00:00",
    "CompleteBy": "2025-09-18T03:33:22.7523846+00:00",
    "RepeateBy": "sample string 11",
    "Reminders": "sample string 12",
    "EmailType": "sample string 13",
    "EmailedOn": "2025-09-18T03:33:22.7523846+00:00",
    "SubStatus": "sample string 15",
    "TimezoneOffset": "sample string 16",
    "SaveId": "2de2e58b-d74f-4f53-bc3c-c16af360e4f3",
    "Status": "sample string 18",
    "UserId": "sample string 19",
    "TenantId": "sample string 20",
    "LastUpdatedBy": "sample string 21",
    "CreatedDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00",
    "UpdateDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00"
  },
  "AppointmentSaveId": "96e04a41-dfd2-407f-9944-c8aacfb2fc35",
  "CallsLog": {
    "$id": "8",
    "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": "9",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "PreCallsLog": {
      "$ref": "8"
    },
    "PreCallsLogSaveId": "614e36c2-9e2d-411f-ac0b-b1a5a12c8794",
    "PostCallsLog": {
      "$id": "10",
      "$values": [
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Direction": "sample string 28",
    "CallsLogHistories": {
      "$id": "11",
      "$values": [
        {
          "$id": "12",
          "CallNotes": "sample string 1",
          "Direction": "sample string 2",
          "Duration": "sample string 3",
          "Operator": "sample string 4",
          "OperatorId": "sample string 5",
          "CallsLog": {
            "$ref": "8"
          },
          "CallsLogSaveId": "54b56b74-1d89-4ec8-a3d3-d2029557bcd9",
          "SaveId": "d1b50e94-dae4-4a8f-807b-0d8fc32de95e",
          "Status": "sample string 7",
          "UserId": "sample string 8",
          "TenantId": "sample string 9",
          "LastUpdatedBy": "sample string 10",
          "CreatedDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00",
          "UpdateDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00"
        },
        {
          "$ref": "12"
        },
        {
          "$ref": "12"
        }
      ]
    },
    "ConectedContacts": "sample string 29",
    "SaveId": "ea6b3035-2128-428f-a872-56b464663dee",
    "Status": "sample string 31",
    "UserId": "sample string 32",
    "TenantId": "sample string 33",
    "LastUpdatedBy": "sample string 34",
    "CreatedDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00",
    "UpdateDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00"
  },
  "CallsLogSaveId": "3e6d6e07-ad84-4920-b897-498119bb17f1",
  "ConectedContacts": "sample string 7",
  "Owner": "sample string 8",
  "OwnerId": "sample string 9",
  "OtherContacts": {
    "$id": "13",
    "$values": [
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "StartBy": "2025-09-18T03:33:22.7523846+00:00",
  "CompleteBy": "2025-09-18T03:33:22.7523846+00:00",
  "RepeateBy": "sample string 12",
  "Reminders": "sample string 13",
  "EmailType": "sample string 14",
  "EmailedOn": "2025-09-18T03:33:22.7523846+00:00",
  "SubStatus": "sample string 16",
  "TimezoneOffset": "sample string 17",
  "SaveId": "bae54206-c53f-4dd9-b5e4-4b9140ddcab2",
  "Status": "sample string 19",
  "UserId": "sample string 20",
  "TenantId": "sample string 21",
  "LastUpdatedBy": "sample string 22",
  "CreatedDateTimeStamp": "2025-09-18T03:33:22.7523846+00:00",
  "UpdateDateTimeStamp": "2025-09-18T03:33:22.7523846+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 'CRMTask'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.