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": "84bac52b-3734-4355-a6a7-236264fc0236",
  "Contact": {
    "$id": "2",
    "SaveId": "3d37553f-17a9-43dd-a73e-c3e8be8edeaf",
    "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": "2026-02-04T02:40:58.5799258+00:00",
    "LastActivity": "2026-02-04T02:40:58.5799258+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": "fb68e3d4-a94c-49ae-81c5-dd5e4b47fab1",
          "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": "4b6c79a1-bca7-4ae1-83fd-a5fcdabfb5e5",
          "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": "c3d5e001-45c6-4f27-9483-738597bcef77",
          "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": "a33a8633-d0af-4732-b734-cf0313d19576",
          "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": "2026-02-04T02:40:58.5799258+00:00",
          "UserName": "sample string 6",
          "Message": "sample string 7",
          "ContactId": "f0868bad-ab35-4915-a900-74120de47c0f",
          "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": "ebf06ea7-57c8-4f26-bbe8-4bb3434a699c",
          "Contact": {
            "$ref": "2"
          },
          "IsDeleted": true
        },
        {
          "$ref": "15"
        },
        {
          "$ref": "15"
        }
      ]
    },
    "BankDetail": {
      "$id": "16",
      "AccountId": "4da4abc9-afe6-4679-a6e1-4e44e9ffaa25",
      "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": "e4c1e31d-3934-475a-892d-2d56f5b64738",
      "IsLicence": true,
      "LicenceNo": "sample string 3",
      "LicenceExpiryDate": "sample string 4",
      "Contact": {
        "$ref": "2"
      },
      "IsDeleted": true
    },
    "FinancialArrangement": {
      "$id": "18",
      "FinancialId": "749b9254-55ab-4305-a349-a2b2609860a4",
      "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": "bfea558a-2be0-40f7-8914-20943a63df03",
      "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": "83b779a6-6f6e-4cfd-a18c-138399818392",
      "EmailForQuote": "sample string 2",
      "IsLogisticQuote": true,
      "IsLogisticFirm": true,
      "Contact": {
        "$ref": "2"
      }
    },
    "Category": {
      "$id": "21",
      "CategoryId": "d2815ea8-4dc3-4f95-bb59-9562561086fe",
      "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": "48bfe340-3ac1-467e-94cb-df752bb8a9f7",
          "ContactSaveId": "98f8a0d7-a949-4546-8176-f057848dfcd9",
          "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": "b0ce45d8-0e53-4d2e-b4b9-4949cf6adb96",
      "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": "314977b5-b57d-4a08-8269-eb2d44636531",
            "ContactMethod": {
              "$ref": "24"
            },
            "IsDeleted": true
          },
          {
            "$ref": "26"
          },
          {
            "$ref": "26"
          }
        ]
      },
      "Contact": {
        "$ref": "2"
      }
    },
    "BuyingCriteria": {
      "$id": "27",
      "CriteriaId": "76cb3924-de08-4317-a691-e529e830174a",
      "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": "acfe7c73-801b-4089-a54f-cb97dbaa6b40",
      "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": "7b5d8ed0-a574-450b-b0d8-2e80d2fc4de6",
            "SaleApproach": {
              "$ref": "28"
            },
            "IsDeleted": true
          },
          {
            "$ref": "30"
          },
          {
            "$ref": "30"
          }
        ]
      },
      "Suppliers": {
        "$id": "31",
        "$values": [
          {
            "$id": "32",
            "Id": 1,
            "SupplierName": "sample string 2",
            "SaleId": "e6deace0-c88d-46d9-a43e-98ad173473f4",
            "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": "2026-02-04T02:40:58.5799258+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": "85c89ec2-53d5-42ee-abb9-6f23134c0482",
          "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": "2026-02-04T02:40:58.5799258+00:00",
          "EndDate": "2026-02-04T02:40:58.5799258+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": "6d58007d-5408-4fac-afa0-b8db72b63be0",
          "Contact": {
            "$ref": "2"
          }
        },
        {
          "$ref": "36"
        },
        {
          "$ref": "36"
        }
      ]
    },
    "CreatedTimestamp": "2026-02-04T02:40:58.5799258+00:00",
    "IsClient": true,
    "RpsStatus": "sample string 21",
    "RpsUpdatedDate": "2026-02-04T02:40:58.5799258+00:00",
    "PersonalInformation": {
      "$id": "37",
      "PersonalId": "210c28f7-85ca-4d7f-8d17-de1caae35c6b",
      "Gender": "sample string 1",
      "DateOfBirth": "2026-02-04T02:40:58.5799258+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": "99746b06-b0ed-4105-96d1-93fc76b224c8",
    "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": "2026-02-04T02:40:58.5799258+00:00",
    "OrganisationId": "sample string 35",
    "Main": true,
    "WBSBookingId": "a35daedb-9acd-46df-b2ca-6b59b5e6d59c",
    "WBSFirmSaveId": "c1a6c207-7e71-4000-a778-e23855f872d1",
    "WBSDriverSaveId": "c8a2a883-f183-4563-89bf-1c8e0085784b",
    "WBSUserId": "f4658f54-1eba-4a70-a3a2-23eef09373a3",
    "WBSUserSaveId": "a29c066d-9f35-4017-806d-3ae136d82035"
  },
  "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>