___location resource type

Represents a ___location 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 ___location ___location Gets a ___location object.
DELETE ___location none Deletes a ___location object.
POST ___location ___location Creates a ___location object.
PATCH ___location ___location Updates a ___location object.

Properties

Property Type Description
id GUID The unique ID of the ___location. Non-editable.
code string The code of the ___location.
displayName string Specifies the ___location's name. This name will appear on all sales documents for the ___location.
contact string
addressLine1 string Specifies the ___location's address. This address will appear on all sales documents for the ___location.
addressLine2 string Specifies the ___location's address. This address will appear on all sales documents for the ___location.
city string Specifies the ___location's city.
state string Specifies the ___location's state.
country string Specifies the ___location's country.
postalCode string Specifies the ___location's postal code.
phoneNumber string Specifies the ___location's telephone number.
email string Specifies the ___location's email address.
website string Specifies the ___location's home page address.
lastModifiedDateTime datetime The last datetime the ___location was modified. Read-Only.

JSON representation

Here's a JSON representation of the ___location resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "contact": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "city": "string",
    "state": "string",
    "country": "string",
    "postalCode": "string",
    "phoneNumber": "string",
    "email": "string",
    "website": "string",
    "lastModifiedDateTime": "datetime"
}

GET ___location
DELETE ___location
POST ___location
PATCH ___location