About Addresses
Scope:
crmWho can execute the method: any user
Address Fields
|
Name |
Description |
Read |
Write |
Required |
Immutable |
|
TYPE_ID |
Identifier for the address type. Enumeration element "Address Type". Enumeration elements for "Address Type" can be obtained using the method crm.enum.addresstype |
Yes |
Yes |
Yes |
Yes |
|
ENTITY_TYPE_ID |
Identifier for the parent object type. Identifiers for object types can be obtained using the method crm.enum.ownertype. Addresses can only be linked to Requisites (which are already linked to companies or contacts) or Leads. For backward compatibility, the ability to link Addresses to Contacts or Companies has been retained. However, this linkage is only possible on some older accounts where the old address handling mode was specifically enabled by technical support. |
Yes |
Yes |
Yes |
Yes |
|
ENTITY_ID |
Identifier for the parent object |
Yes |
Yes |
Yes |
Yes |
|
ADDRESS_1 |
Street, house, building, structure |
Yes |
Yes |
No |
No |
|
ADDRESS_2 |
Apartment / office |
Yes |
Yes |
No |
No |
|
CITY |
City |
Yes |
Yes |
No |
No |
|
POSTAL_CODE |
Postal code |
Yes |
Yes |
No |
No |
|
REGION |
Region |
Yes |
Yes |
No |
No |
|
PROVINCE |
Province |
Yes |
Yes |
No |
No |
|
COUNTRY |
Country |
Yes |
Yes |
No |
No |
|
COUNTRY_CODE |
Country code |
Yes |
Yes |
No |
No |
|
LOC_ADDR_ID |
Identifier for the location address. This field contains the identifier of the address object in the If the identifier of the However, if at least one string field is specified, only the specified fields will be saved in the CRM address, and their values will overwrite the corresponding values in the location address object. The same behavior will occur when updating the address |
Yes |
Yes |
No |
No |
|
ANCHOR_TYPE_ID |
Identifier for the main parent object type. This field is for internal use. The value is automatically filled when the address is added. Identifiers for object types can be obtained using the method crm.enum.ownertype. This field contains the identifier for the parent object type of the requisite (company or contact) if the address is linked to a requisite. If the address is linked to a lead, this value will be the lead type identifier |
Yes |
No |
No |
No |
|
ANCHOR_ID |
This field is for internal use. The value is automatically filled when the address is added. This field contains the identifier for the parent object of the requisite (company or contact) if the address is linked to a requisite. If the address is linked to a lead, this value will be the lead identifier |
Yes |
No |
No |
No |
Use the method crm.address.fields to obtain a formal description of the address fields.
Overview of Methods
|
Method |
Description |
|
Adds a new address for a requisite or lead |
|
|
Modifies the address for a requisite or lead |
|
|
Returns a list of addresses based on a filter |
|
|
Deletes an address |
|
|
Returns a formal description of the address fields |