POST api/OrgApi/PostContactFiles

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
file
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ContactFileId": "2aeaa042-37e9-4f3f-a83f-4f170261a665",
  "ContactSaveId": "4d9f9534-2976-4803-be4a-1ae5bb50bc1f",
  "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": {
    "$id": "2",
    "SaveId": "7925ca49-61ea-4f81-b626-c8f934ea1aa6",
    "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-11-05T23:17:11.0627214+00:00",
    "LastActivity": "2025-11-05T23:17:11.0627214+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": "a1cc0fa8-b97c-4b21-9d41-f5f8db5e54f9",
          "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": "2454b24f-233b-4efe-bcc0-866cfd6f266e",
          "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": "b1b882e7-688b-4f0a-926e-653604d1c18f",
          "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": "c15517ee-ebba-4a02-94ea-ba3c3b46eec2",
          "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-11-05T23:17:11.0627214+00:00",
          "UserName": "sample string 6",
          "Message": "sample string 7",
          "ContactId": "f16ae24b-3082-4ea1-9318-211fb7d9c230",
          "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": "ad3845af-71cf-4d2c-98b3-42c1208e4bd4",
          "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": "899c1386-da3d-4f45-a658-575e53c56e3f",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "16"
        },
        {
          "$ref": "16"
        }
      ]
    },
    "BankDetail": {
      "$id": "17",
      "AccountId": "07824948-f620-4beb-b8b7-28f8242dcc47",
      "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": "49136b4c-ecf3-447a-8244-f0cbaf9ad739",
      "IsLicence": true,
      "LicenceNo": "sample string 3",
      "LicenceExpiryDate": "sample string 4",
      "Contact": {
        "$ref": "2"
      },
      "IsDeleted": true
    },
    "FinancialArrangement": {
      "$id": "19",
      "FinancialId": "461f3fd4-3e05-45b2-bf10-d8705c592798",
      "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": "3fa0cd51-cea1-4bf6-bf4e-e1b36b142173",
      "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": "5eb229d4-b972-4034-b899-3143ff34fbaa",
      "EmailForQuote": "sample string 2",
      "IsLogisticQuote": true,
      "IsLogisticFirm": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "Category": {
      "$id": "22",
      "CategoryId": "a84a58da-cae4-4874-87d4-5111135e6f21",
      "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": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "ContactMethod": {
      "$id": "24",
      "ContactMethodId": "a968ba5b-f204-4c35-be16-2faf36f60162",
      "LinkedIn": "sample string 2",
      "Twitter": "sample string 3",
      "FaceBook": "sample string 4",
      "IM": {
        "$id": "25",
        "$values": [
          {
            "$id": "26",
            "Id": 1,
            "Message": "sample string 2",
            "IMType": "sample string 3",
            "ContactMethodId": "a91a0cf8-9273-4599-b371-93602cceecdc",
            "ContactMethod": {
              "$ref": "24"
            },
            "IsDeleted": true
          },
          {
            "$ref": "26"
          },
          {
            "$ref": "26"
          }
        ]
      },
      "Contact": {
        "$ref": "2"
      }
    },
    "BuyingCriteria": {
      "$id": "27",
      "CriteriaId": "5ea1c2f2-5f14-4188-bcc8-47756c94b570",
      "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": "28",
      "Id": "9f74f7d3-bf5c-499b-b2e6-c3307ffcd4cc",
      "GiveDiscounts": "sample string 2",
      "ContactEvery": "sample string 3",
      "EmailMarketing": "sample string 4",
      "CurrentSupplier": "sample string 5",
      "Competitor": "sample string 6",
      "Competitors": {
        "$id": "29",
        "$values": [
          {
            "$id": "30",
            "Id": 1,
            "CompetitorName": "sample string 2",
            "SaleId": "00fcee53-aad4-4db3-b2df-978ec7f704b1",
            "SaleApproach": {
              "$ref": "28"
            },
            "IsDeleted": true
          },
          {
            "$ref": "30"
          },
          {
            "$ref": "30"
          }
        ]
      },
      "Suppliers": {
        "$id": "31",
        "$values": [
          {
            "$id": "32",
            "Id": 1,
            "SupplierName": "sample string 2",
            "SaleId": "56e90077-f6d2-4b96-8866-fe9b19785c0d",
            "SaleApproach": {
              "$ref": "28"
            },
            "IsDeleted": true
          },
          {
            "$ref": "32"
          },
          {
            "$ref": "32"
          }
        ]
      },
      "OurRelationship": "sample string 7",
      "RelationshipMgr": "sample string 8",
      "Contact": {
        "$ref": "2"
      }
    },
    "AppendNotes": {
      "$id": "33",
      "$values": [
        {
          "$id": "34",
          "AppendNoteId": 1,
          "CreatedDate": "2025-11-05T23:17:11.0627214+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": "e6ca38f4-4e85-4791-8cca-dd30616291aa",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "34"
        },
        {
          "$ref": "34"
        }
      ]
    },
    "Event": {
      "$id": "35",
      "$values": [
        {
          "$id": "36",
          "EventId": 1,
          "Subject": "sample string 2",
          "EventType": "sample string 3",
          "AssignTo": "sample string 4",
          "StartDate": "2025-11-05T23:17:11.0627214+00:00",
          "EndDate": "2025-11-05T23:17:11.0627214+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": "14645bc3-2dbe-449f-a2c4-e906e29645f4",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "36"
        },
        {
          "$ref": "36"
        }
      ]
    },
    "CreatedTimestamp": "2025-11-05T23:17:11.0627214+00:00",
    "IsClient": true,
    "RpsStatus": "sample string 21",
    "RpsUpdatedDate": "2025-11-05T23:17:11.0627214+00:00",
    "PersonalInformation": {
      "$id": "37",
      "PersonalId": "28e427b8-6ef2-4461-94a5-72aa5d404e26",
      "Gender": "sample string 1",
      "DateOfBirth": "2025-11-05T23:17:11.0627214+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": "7d7548e9-01d4-4a61-af2c-ea43c81e7e49",
    "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-11-05T23:17:11.0627214+00:00",
    "OrganisationId": "sample string 35",
    "Main": true,
    "WBSBookingId": "60fe7207-2211-4813-bf80-7c55c7b277db",
    "WBSFirmSaveId": "a90910e0-62ce-452c-8b62-3123c76fcab9",
    "WBSDriverSaveId": "d35f425d-c4dc-4cfc-9dc8-b95dbd6d25cf",
    "WBSUserId": "3db522d9-e595-4347-9ef5-cd84d77fc530",
    "WBSUserSaveId": "5366e529-deb2-44a1-952c-99df6ff9202a"
  }
}

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.