contactInformation resource type

Represents a contact information in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET contactInformationcontactInformationGets a contact information object.
NavigationReturn TypeDescription
customercustomerGets the customer of the contactInformation.
contactcontactGets the contact of the contactInformation.
vendorvendorGets the vendor of the contactInformation.

Properties

PropertyTypeDescription
contactIdGUIDThe ID of the contact.
contactNumberstringThe number of the contact.
contactNamestringThe name of the contact.
contactTypeNAV.contactTypeThe type of contact. It can be "Company" or "Person".
relatedIdGUIDThe ID of the resource it is related to.
relatedTypeNAV.contactBusinessRelationLinkToTableThe type of business relation with the contact. It can be " ", "Customer", "Vendor", "Bank Account" or "Employee".

JSON representation

Here's a JSON representation of the contactInformation resource.

{
    "contactId": "GUID",
    "contactNumber": "string",
    "contactName": "string",
    "contactType": "NAV.contactType",
    "relatedId": "GUID",
    "relatedType": "NAV.contactBusinessRelationLinkToTable"
}

Remarks

This resource type requires Business Central version 18.0.

GET contactInformation