編輯

共用方式為


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

Method Return Type Description
GET contactInformation contactInformation Gets a contact information object.
Navigation Return Type Description
customer customer Gets the customer of the contactInformation.
contact contact Gets the contact of the contactInformation.
vendor vendor Gets the vendor of the contactInformation.

Properties

Property Type Description
contactId GUID The ID of the contact.
contactNumber string The number of the contact.
contactName string The name of the contact.
contactType NAV.contactType The type of contact. It can be "Company" or "Person".
relatedId GUID The ID of the resource it is related to.
relatedType NAV.contactBusinessRelationLinkToTable The type of business relation with the contact. It can be " ", "Customer", "Vendor", "Bank Account" or "Employee".

JSON representation

Here is 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