Regions: GetRegion

This method returns information about a specific region.

Request

HTTP request

GET /restapi/v2/accounts/{accountId}/regions/{regionId}

Parameters

Parameter NameValueDescription
Path Parameters
regionIdinteger

(Required) The id of the region.

accountIdstring

(Required) The id of the account.

Responses

CodeDescriptionReference
200

The region was found.

Region
400

Bad request. See ErrorCode and Message for details

ApiError
401

Not authorized to make this request.

ApiError

SDK Method

Regions::GetRegion

Definitions

ApiError

This object describes errors that occur. It is valid only for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

Region

Contains information about a region.

regionIdinteger

The id of the region. This is the id that the system generated when you created the region.

namestring

The name of the office.

createdDatestring

The UTC date and time when the item was created. This is a read-only value that the service assigns.

Example: 2019-07-17T17:45:42.783Z

}} />