Departments

GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}

Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

billingAccountNamestring required

The ID that uniquely identifies a billing account.

departmentNamestring required

The ID that uniquely identifies a department.

Query parameters

api-versionstring required

The version of the API to be used with the client request. The current version is 2019-10-01-preview.

$expandstring

May be used to expand the enrollment accounts.

$filterstring

May be used to filter by department name. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:).

Response

OK. The request has succeeded.

idstring

Resource Id.

namestring

Resource name.

typestring

Resource type.

Changes

No recorded changes to this operation across all 37 revisions of this API.