POST api/Event

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
value
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "Subject": "sample string 2",
  "EventType": "sample string 3",
  "AssignTo": "sample string 4",
  "StartDate": "2025-09-18T03:33:27.9252877+00:00",
  "EndDate": "2025-09-18T03:33:27.9252877+00:00",
  "IsAllDayEvent": "sample string 7",
  "ContactName": "sample string 8",
  "ContactEmail": "sample string 9",
  "ContactMethod": "sample string 10",
  "Location": "sample string 11",
  "Status": "sample string 12",
  "IsCalendarEvent": "sample string 13",
  "Note": "sample string 14",
  "SenderComapny": "sample string 15",
  "SenderEmail": "sample string 16",
  "MainEventId": 17,
  "ContactId": "106c832b-09ee-4995-bcf0-bc90d3f54f50",
  "Contact": {
    "$id": "2",
    "SaveId": "4aca9718-d3b4-4d03-8628-47ab6ad5bcdb",
    "TenantId": "sample string 2",
    "EdgeTenantId": "sample string 3",
    "EdgeCompanyName": "sample string 4",
    "ContactSignature": "sample string 5",
    "UserId": "sample string 6",
    "ContactSource": "sample string 7",
    "UserName": "sample string 8",
    "Status": "sample string 9",
    "PreferredTradeCurrency": "sample string 10",
    "MaxCreditLimit": 11.1,
    "CreditCurrency": "sample string 12",
    "DueTimeTill": 13,
    "KnownSince": "2025-09-18T03:33:27.9252877+00:00",
    "LastActivity": "2025-09-18T03:33:27.9252877+00:00",
    "XeroShortCode": "sample string 14",
    "Image": "sample string 15",
    "Categories": "sample string 16",
    "CreditRating": "sample string 17",
    "Grade": "sample string 18",
    "Phone": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "Id": 1,
          "PhoneNo": "sample string 2",
          "PhoneExt": "sample string 3",
          "PhoneType": "sample string 4",
          "ContactId": "b923661b-337d-4791-bc27-389f778b8648",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "SocialChannel": {
      "$id": "5",
      "$values": [
        {
          "$id": "6",
          "Id": 1,
          "ContactChannel": "sample string 2",
          "ChannelType": "sample string 3",
          "ContactId": "8e83059b-3374-492c-bdf8-7a71fe618caa",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "Website": {
      "$id": "7",
      "$values": [
        {
          "$id": "8",
          "Id": 1,
          "WebName": "sample string 2",
          "WebType": "sample string 3",
          "ContactId": "5eedc9e1-016b-445e-9c9c-b9f0c06d0396",
          "IsDeleted": true,
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Email": {
      "$id": "9",
      "$values": [
        {
          "$id": "10",
          "Id": 1,
          "ContactEmail": "sample string 2",
          "EmailType": "sample string 3",
          "ContactId": "828f07d1-fcf6-45fb-a5c7-700c44d854da",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "10"
        },
        {
          "$ref": "10"
        }
      ]
    },
    "Note": {
      "$id": "11",
      "$values": [
        {
          "$id": "12",
          "Id": 1,
          "UserId": "sample string 2",
          "Activity": "sample string 3",
          "Detail": "sample string 4",
          "CreatdTimestamp": "2025-09-18T03:33:27.9252877+00:00",
          "UserName": "sample string 6",
          "Message": "sample string 7",
          "ContactId": "e69a4fb0-10d2-4312-ad58-14b47871936c",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "12"
        },
        {
          "$ref": "12"
        }
      ]
    },
    "Address": {
      "$id": "13",
      "$values": [
        {
          "$id": "14",
          "AddressId": 1,
          "CountryName": "sample string 2",
          "AddressType": "sample string 3",
          "AddressLine1": "sample string 4",
          "AddressLine2": "sample string 5",
          "TownLocality": "sample string 6",
          "CityRegion": "sample string 7",
          "PostalZipCode": "sample string 8",
          "State": "sample string 9",
          "INState": "sample string 10",
          "MXState": "sample string 11",
          "BRState": "sample string 12",
          "CAState": "sample string 13",
          "SiteName": "sample string 14",
          "IsMain": true,
          "ContactId": "a06421e2-e20e-4a2a-87c5-d2d4d01d8426",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "14"
        },
        {
          "$ref": "14"
        }
      ]
    },
    "Carrier": {
      "$id": "15",
      "$values": [
        {
          "$id": "16",
          "CarrierId": 1,
          "LogisticCompany": "sample string 2",
          "AccountNumber": "sample string 3",
          "TaxNumber": "sample string 4",
          "TaxType": "sample string 5",
          "IsMain": true,
          "ContactId": "9d3a3820-cad6-4adf-955a-569c2b17385c",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "16"
        },
        {
          "$ref": "16"
        }
      ]
    },
    "BankDetail": {
      "$id": "17",
      "AccountId": "dd8d0900-fbe5-49b9-a671-a1f0e46dd984",
      "AccountName": "sample string 2",
      "AccountNo": "sample string 3",
      "SortCode": "sample string 4",
      "BankIBAN": "sample string 5",
      "BankSwift": "sample string 6",
      "Contact": {
        "$ref": "2"
      }
    },
    "ControlsLicence": {
      "$id": "18",
      "ControlsLicenceId": "3dfe9d00-0ead-4993-a1f3-d788b8652625",
      "IsLicence": true,
      "LicenceNo": "sample string 3",
      "LicenceExpiryDate": "sample string 4",
      "Contact": {
        "$ref": "2"
      },
      "IsDeleted": true
    },
    "FinancialArrangement": {
      "$id": "19",
      "FinancialId": "b8a774de-472d-4fda-9442-b3ab0f32a497",
      "PaymentTerm": "sample string 2",
      "PaymentTermValue": "sample string 3",
      "PaymentMethod": "sample string 4",
      "PaymentMethodValue": "sample string 5",
      "Discount": 6.1,
      "Commission": 7.1,
      "BankAccountName": "sample string 8",
      "BankAccountNumber": "sample string 9",
      "BankSortCode": "sample string 10",
      "SaleTaxRegistration": "sample string 11",
      "SaleTax": "sample string 12",
      "CompanyRegistrationNumber": "sample string 13",
      "CustomerAccNo": "sample string 14",
      "EoriNumber": "sample string 15",
      "Contact": {
        "$ref": "2"
      }
    },
    "Supplier": {
      "$id": "20",
      "Id": "223644a9-f501-4a2a-aa1e-d7abb06f7220",
      "AccountNo": "sample string 2",
      "SupplierId": "sample string 3",
      "NormalLeadTime": 4.0,
      "ActualLeadTime": 5.0,
      "OrderQuantity": 6.0,
      "OrderValue": 7.0,
      "CallOff": 8.0,
      "IsSupplier": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "Logistic": {
      "$id": "21",
      "Id": "f630ed1c-de92-4cf2-aeea-313d05bcc028",
      "EmailForQuote": "sample string 2",
      "IsLogisticQuote": true,
      "IsLogisticFirm": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "Category": {
      "$id": "22",
      "CategoryId": "deab14a1-e620-4500-be4d-a4f1380921de",
      "IsAgent": true,
      "IsConsultant": true,
      "IsCustomer": true,
      "IsDistributor": true,
      "IsFinancer": true,
      "IsFreightForwarder": true,
      "IsInsurer": true,
      "IsReferrer": true,
      "IsManufacturer": true,
      "IsFriend": true,
      "IsProcessor": true,
      "IsStaff": true,
      "IsOther": true,
      "IsConsignor": true,
      "IsSupplier": true,
      "IsInstaller": true,
      "IsDriver": true,
      "IsSubContractor": true,
      "Miscellaneous": "sample string 20",
      "IsRetailer": true,
      "IsSeller": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "ContactFiles": {
      "$id": "23",
      "$values": [
        {
          "$id": "24",
          "ContactFileId": "f65bc908-3d88-4962-b555-c3a3f08cbb8d",
          "ContactSaveId": "d9b24c12-ecd3-4413-8a66-538390a5f405",
          "SpecificationType": "sample string 3",
          "FileName": "sample string 4",
          "DocType": "sample string 5",
          "WhenAttached": "sample string 6",
          "ValidTillDateTime": "sample string 7",
          "NoOfPages": "sample string 8",
          "FileData": "sample string 9",
          "FilePath": "sample string 10",
          "Comments": "sample string 11",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "24"
        },
        {
          "$ref": "24"
        }
      ]
    },
    "ContactMethod": {
      "$id": "25",
      "ContactMethodId": "3428ed74-0b11-419b-bc23-f3859a7a257d",
      "LinkedIn": "sample string 2",
      "Twitter": "sample string 3",
      "FaceBook": "sample string 4",
      "IM": {
        "$id": "26",
        "$values": [
          {
            "$id": "27",
            "Id": 1,
            "Message": "sample string 2",
            "IMType": "sample string 3",
            "ContactMethodId": "9d631904-eb2f-40c4-a96e-f995288ff394",
            "ContactMethod": {
              "$ref": "25"
            },
            "IsDeleted": true
          },
          {
            "$ref": "27"
          },
          {
            "$ref": "27"
          }
        ]
      },
      "Contact": {
        "$ref": "2"
      }
    },
    "BuyingCriteria": {
      "$id": "28",
      "CriteriaId": "fd1e8267-580c-440a-aaac-2f8278fbbde6",
      "AuthoriseToBuy": "sample string 2",
      "Period": "sample string 3",
      "Method": "sample string 4",
      "Power": "sample string 5",
      "Expectation": "sample string 6",
      "Need": "sample string 7",
      "Contact": {
        "$ref": "2"
      }
    },
    "SaleApproach": {
      "$id": "29",
      "Id": "4f8d0bb5-fc35-4b82-8083-2f934e6671b8",
      "GiveDiscounts": "sample string 2",
      "ContactEvery": "sample string 3",
      "EmailMarketing": "sample string 4",
      "CurrentSupplier": "sample string 5",
      "Competitor": "sample string 6",
      "Competitors": {
        "$id": "30",
        "$values": [
          {
            "$id": "31",
            "Id": 1,
            "CompetitorName": "sample string 2",
            "SaleId": "eb218040-e4a9-4193-8ab6-3fc7ac8f6a5a",
            "SaleApproach": {
              "$ref": "29"
            },
            "IsDeleted": true
          },
          {
            "$ref": "31"
          },
          {
            "$ref": "31"
          }
        ]
      },
      "Suppliers": {
        "$id": "32",
        "$values": [
          {
            "$id": "33",
            "Id": 1,
            "SupplierName": "sample string 2",
            "SaleId": "bda9623a-9e8c-46ee-8b7d-ade57a6f8e07",
            "SaleApproach": {
              "$ref": "29"
            },
            "IsDeleted": true
          },
          {
            "$ref": "33"
          },
          {
            "$ref": "33"
          }
        ]
      },
      "OurRelationship": "sample string 7",
      "RelationshipMgr": "sample string 8",
      "Contact": {
        "$ref": "2"
      }
    },
    "AppendNotes": {
      "$id": "34",
      "$values": [
        {
          "$id": "35",
          "AppendNoteId": 1,
          "CreatedDate": "2025-09-18T03:33:27.9252877+00:00",
          "CreatedBy": "sample string 3",
          "ActivityNote": "sample string 4",
          "AppendNote": "sample string 5",
          "Subject": "sample string 6",
          "ContactName": "sample string 7",
          "ContactMethod": "sample string 8",
          "Location": "sample string 9",
          "ChildAppendNotes": "sample string 10",
          "ContactId": "df9f8bec-8725-423e-aab5-2e1e4664b5c9",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "35"
        },
        {
          "$ref": "35"
        }
      ]
    },
    "Event": {
      "$id": "36",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "CreatedTimestamp": "2025-09-18T03:33:27.9252877+00:00",
    "IsClient": true,
    "RpsStatus": "sample string 21",
    "RpsUpdatedDate": "2025-09-18T03:33:27.9252877+00:00",
    "PersonalInformation": {
      "$id": "37",
      "PersonalId": "7aaf5ca6-4754-4255-b55e-0eb93a08883c",
      "Gender": "sample string 1",
      "DateOfBirth": "2025-09-18T03:33:27.9252877+00:00",
      "NotifyBirthday": "sample string 2",
      "Occupation": "sample string 3",
      "MaritalStatus": "sample string 4",
      "PersonalStatus": "sample string 5",
      "Interests": "sample string 6",
      "NationalInsuranceNo": "sample string 7",
      "Contact": {
        "$ref": "2"
      }
    },
    "MinExpiryDays": 22,
    "CountryList": {
      "$id": "38",
      "$values": [
        {
          "$id": "39",
          "Id": 1,
          "CountryCode": "sample string 2",
          "Name": "sample string 3",
          "Type": "sample string 4"
        },
        {
          "$ref": "39"
        },
        {
          "$ref": "39"
        }
      ]
    },
    "XeroId": "1d6f7c2e-aa05-4f7f-b74e-56fa26dccb94",
    "OwingAmount": 24.1,
    "OwingCcy": "sample string 25",
    "FreeAgentId": "sample string 26",
    "QuickBookId": "sample string 27",
    "QuickBookSupplierId": "sample string 28",
    "SageOneId": "sample string 29",
    "ShopifyId": "sample string 30",
    "BigCommerceId": "sample string 31",
    "FaireId": "sample string 32",
    "WooCommerceId": "sample string 33",
    "UpdatedDateTimeStamp": "2025-09-18T03:33:27.9252877+00:00",
    "OrganisationId": "sample string 35",
    "Main": true,
    "WBSBookingId": "452b6f27-6151-4d51-9dd2-fd3d0511a783",
    "WBSFirmSaveId": "31e820ef-8d8a-4832-bf05-dbff375968be",
    "WBSDriverSaveId": "d3b81fbe-c2a2-46a9-b386-322cd818fadf",
    "WBSUserId": "f8e55a9a-f71c-4127-827d-44223cc13c46",
    "WBSUserSaveId": "0cb301f8-9c69-4ee5-87b6-3c499180c7c7"
  }
}

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 'Event'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.