POST api/Contact/AddOrUpdateAddress

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
address
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "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": "82fc478c-7ac3-4a17-82ed-538c13a3540d",
  "Contact": {
    "$id": "2",
    "SaveId": "f121aea2-94d5-4ce1-a7e7-48e8c7928b12",
    "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:18:09.2087079+00:00",
    "LastActivity": "2025-11-05T23:18:09.2087079+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": "7f91027d-f3a5-43b9-af52-6c3543bee0b0",
          "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": "5f92b0ad-eb53-45f8-8b50-a983c05a2e2d",
          "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": "33763203-3b16-4839-a3a2-bfc0911d8242",
          "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": "612d2784-1def-4b67-83b7-f9740fd950cf",
          "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:18:09.2087079+00:00",
          "UserName": "sample string 6",
          "Message": "sample string 7",
          "ContactId": "6ffe084d-faac-46be-ad49-c747b727e8d3",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "12"
        },
        {
          "$ref": "12"
        }
      ]
    },
    "Address": {
      "$id": "13",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "Carrier": {
      "$id": "14",
      "$values": [
        {
          "$id": "15",
          "CarrierId": 1,
          "LogisticCompany": "sample string 2",
          "AccountNumber": "sample string 3",
          "TaxNumber": "sample string 4",
          "TaxType": "sample string 5",
          "IsMain": true,
          "ContactId": "936167e7-689f-4af4-86ca-1645739783b6",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "15"
        },
        {
          "$ref": "15"
        }
      ]
    },
    "BankDetail": {
      "$id": "16",
      "AccountId": "bac3d5d2-5b6f-4638-90a3-9a9d3728e106",
      "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": "17",
      "ControlsLicenceId": "e9f9c6f8-61be-4de8-8816-a3930e562869",
      "IsLicence": true,
      "LicenceNo": "sample string 3",
      "LicenceExpiryDate": "sample string 4",
      "Contact": {
        "$ref": "2"
      },
      "IsDeleted": true
    },
    "FinancialArrangement": {
      "$id": "18",
      "FinancialId": "ba204dad-4c79-419e-bf2f-f79c87df8d20",
      "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": "19",
      "Id": "72ce6bbb-2901-4e03-b933-cc267ae3b076",
      "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": "20",
      "Id": "d7e41e06-55fc-49ce-b98b-e62969a986ed",
      "EmailForQuote": "sample string 2",
      "IsLogisticQuote": true,
      "IsLogisticFirm": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "Category": {
      "$id": "21",
      "CategoryId": "8b742790-05f9-4599-9efa-f64afa109acf",
      "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": "22",
      "$values": [
        {
          "$id": "23",
          "ContactFileId": "f868822b-be67-440f-b540-771d70eef62c",
          "ContactSaveId": "3d8b8103-5c41-4b80-9331-18e639b00da4",
          "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": "23"
        },
        {
          "$ref": "23"
        }
      ]
    },
    "ContactMethod": {
      "$id": "24",
      "ContactMethodId": "39999d40-680c-42c5-97ef-84fadbad6592",
      "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": "95d621e6-644f-44aa-8742-e6f3fc9e57fd",
            "ContactMethod": {
              "$ref": "24"
            },
            "IsDeleted": true
          },
          {
            "$ref": "26"
          },
          {
            "$ref": "26"
          }
        ]
      },
      "Contact": {
        "$ref": "2"
      }
    },
    "BuyingCriteria": {
      "$id": "27",
      "CriteriaId": "fe9a556a-8bba-416d-9e4b-650a5ad17ee6",
      "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": "19dd83ee-da69-4379-aa33-d22a052dfb17",
      "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": "2d813143-f17d-4a89-beba-fc5def294fee",
            "SaleApproach": {
              "$ref": "28"
            },
            "IsDeleted": true
          },
          {
            "$ref": "30"
          },
          {
            "$ref": "30"
          }
        ]
      },
      "Suppliers": {
        "$id": "31",
        "$values": [
          {
            "$id": "32",
            "Id": 1,
            "SupplierName": "sample string 2",
            "SaleId": "139b3bc4-9dca-4cb3-9fc8-208be3090feb",
            "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:18:09.2087079+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": "7cc5b464-9898-4a80-bc5a-2361a3e2062b",
          "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:18:09.2087079+00:00",
          "EndDate": "2025-11-05T23:18:09.2087079+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": "d7b938c5-c8d6-429b-b399-e1802840b25e",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "36"
        },
        {
          "$ref": "36"
        }
      ]
    },
    "CreatedTimestamp": "2025-11-05T23:18:09.2087079+00:00",
    "IsClient": true,
    "RpsStatus": "sample string 21",
    "RpsUpdatedDate": "2025-11-05T23:18:09.2087079+00:00",
    "PersonalInformation": {
      "$id": "37",
      "PersonalId": "28e1f779-6a0c-4b5c-a37d-3dfe45fb7364",
      "Gender": "sample string 1",
      "DateOfBirth": "2025-11-05T23:18:09.2087079+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": "1f3540b4-c9b1-4d46-b27d-93a4165b6a4e",
    "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:18:09.2087079+00:00",
    "OrganisationId": "sample string 35",
    "Main": true,
    "WBSBookingId": "3246ae2b-c70a-4b3b-894a-c212deab0307",
    "WBSFirmSaveId": "c2bee1fb-3ab1-4c1a-9606-27015fd7239d",
    "WBSDriverSaveId": "d2206c53-7ab8-415c-9db2-ceed0c5f4278",
    "WBSUserId": "6e3d1789-236b-4798-b549-429a0e0d3f4e",
    "WBSUserSaveId": "c81f882d-1f15-4728-9d0e-1acbf3141fa0"
  },
  "IsDeleted": true
}

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>