POST api/Contact/AddOrUpdateAddress
No documentation available.
Request Information
Parameters
Name | Description | Additional 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": "ff5883c1-22e4-4244-9fb2-549ee71c4166", "Contact": { "$id": "2", "SaveId": "5616458d-606a-4b7f-ba32-000b83319b2e", "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-05-09T18:52:45.0686622+00:00", "LastActivity": "2025-05-09T18:52:45.0686622+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": "00012e09-307f-4b63-8388-68463f3eba97", "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": "8ee7cf9b-93d8-407a-942c-6dadd3877801", "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": "47cdee6e-2517-48cb-a7c7-da12731a20c3", "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": "e9166f2a-3fa0-4fbe-9f58-1b64fbda5318", "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-05-09T18:52:45.0686622+00:00", "UserName": "sample string 6", "Message": "sample string 7", "ContactId": "c1bfe1cc-0a0c-4f5b-88d0-e627c655b3aa", "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": "9b9eca90-66da-43e6-af52-8ef92df06636", "Contact": { "$ref": "2" }, "IsDeleted": true }, { "$ref": "15" }, { "$ref": "15" } ] }, "BankDetail": { "$id": "16", "AccountId": "b7592d5d-81cf-4ac3-bfa9-353190ad83ec", "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": "83b7f86e-be01-47c4-9cd9-77ce9b004b3b", "IsLicence": true, "LicenceNo": "sample string 3", "LicenceExpiryDate": "sample string 4", "Contact": { "$ref": "2" }, "IsDeleted": true }, "FinancialArrangement": { "$id": "18", "FinancialId": "ec9f1482-cfe0-4664-9de0-29a085b0fa6e", "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": "68f635de-7aa5-43c1-9e2d-b156e3c8f095", "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": "bb2e6e07-edb3-4515-9a2c-18850559b18b", "EmailForQuote": "sample string 2", "IsLogisticQuote": true, "IsLogisticFirm": true, "Contact": { "$ref": "2" } }, "Category": { "$id": "21", "CategoryId": "a049cffb-1338-4358-9d51-ef7b7bf3b206", "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": "ad58392e-d012-4d75-8fc8-71fe9a86a8f2", "ContactSaveId": "70b110c4-37ea-4eb8-9a55-72d719d3111b", "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": "efe9050e-a420-40d7-a940-af8c15deea55", "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": "84654691-3eb3-4adb-a83d-96a626c7977f", "ContactMethod": { "$ref": "24" }, "IsDeleted": true }, { "$ref": "26" }, { "$ref": "26" } ] }, "Contact": { "$ref": "2" } }, "BuyingCriteria": { "$id": "27", "CriteriaId": "1ff19320-a828-4f4a-a5c7-38b976d1d13b", "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": "84c82622-57bb-4043-85fc-d9620ac7fff0", "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": "d8b20cb4-cc5f-4799-8a78-ab815aaa0754", "SaleApproach": { "$ref": "28" }, "IsDeleted": true }, { "$ref": "30" }, { "$ref": "30" } ] }, "Suppliers": { "$id": "31", "$values": [ { "$id": "32", "Id": 1, "SupplierName": "sample string 2", "SaleId": "c40caa30-02de-4c40-9b9c-5c8b850da6ed", "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-05-09T18:52:45.0686622+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": "2225bf08-70e5-4749-b45f-651ec58ff3cb", "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-05-09T18:52:45.0686622+00:00", "EndDate": "2025-05-09T18:52:45.0686622+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": "0d5a376a-0956-4e2d-b9a3-ab428dac1833", "Contact": { "$ref": "2" } }, { "$ref": "36" }, { "$ref": "36" } ] }, "CreatedTimestamp": "2025-05-09T18:52:45.0686622+00:00", "IsClient": true, "RpsStatus": "sample string 21", "RpsUpdatedDate": "2025-05-09T18:52:45.0686622+00:00", "PersonalInformation": { "$id": "37", "PersonalId": "d7dba0b5-5835-4477-96d8-de6400860753", "Gender": "sample string 1", "DateOfBirth": "2025-05-09T18:52:45.0686622+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": "1819fe1d-ac60-4a60-a826-3ebd566571b7", "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", "FaireId": "sample string 31", "WooCommerceId": "sample string 32", "UpdatedDateTimeStamp": "2025-05-09T18:52:45.0686622+00:00", "OrganisationId": "sample string 34", "Main": true, "WBSBookingId": "fbc72cff-c898-426f-b883-d290e67f96e3", "WBSFirmSaveId": "81a202ea-d10a-4d80-a45e-30831438f55f", "WBSDriverSaveId": "129953c1-0a75-443f-9cd1-00ba57bcb7b6", "WBSUserId": "d2e5c294-5f99-4caf-a2d7-b0e018ee4b10", "WBSUserSaveId": "07bab2de-43e3-42dd-b8ac-be44d0bc4c57" }, "IsDeleted": true }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
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>