Departments
Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
get/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}
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.