Споделяне чрез


Currency Allocation - Get Currency Allocation By Environment

Get currency allocations for the environment.

GET https://api.powerplatform.com/licensing/environments/{environmentId}/allocations?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentId
path True

string

The environment ID

api-version
query True

string

The API version

Responses

Name Type Description
200 OK

AllocationsByEnvironmentResponseModelV1

Success

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default

Definitions

Name Description
AllocationsByEnvironmentResponseModelV1

The response body includes environment ID and allocated currencies

CurrencyAllocationResponseModelV1
ExternalCurrencyType

Available currency type which can be allocated to environment

AllocationsByEnvironmentResponseModelV1

The response body includes environment ID and allocated currencies

Name Type Description
currencyAllocations

CurrencyAllocationResponseModelV1[]

The collection of currencies with allocation count

environmentId

string

The environment ID for which the currency has been allocated

CurrencyAllocationResponseModelV1

Name Type Description
allocated

integer

The allocated count of currency type

currencyType

ExternalCurrencyType

Available currency type which can be allocated to environment

ExternalCurrencyType

Available currency type which can be allocated to environment

Name Type Description
AI

string

AppPass

string

AppPassForTeams

string

PAUnattendedRPA

string

PerFlowPlan

string

PortalLogins

string

PortalViews

string

PowerAutomatePerProcess

string

VAConversations

string