Skip to content

Commit 8660710

Browse files
author
Qian Wen
committed
adding a note for resourceid
1 parent 254c1c3 commit 8660710

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/marketplace/partner-center-portal/marketplace-metering-service-apis.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: dsindona
66
ms.service: marketplace
77
ms.subservice: partnercenter-marketplace-publisher
88
ms.topic: conceptual
9-
ms.date: 07/11/2019
9+
ms.date: 05/18/2020
1010
---
1111

1212
# Marketplace metering service APIs
@@ -31,6 +31,9 @@ The usage event API allows you to emit usage events for a specific purchased ent
3131
| `x-ms-correlationid` | Unique string value for operation on the client. This parameter correlates all events from client operation with events on the server side. If this value isn't provided, one will be generated and provided in the response headers. |
3232
| `authorization` | [Get JSON web token (JWT) bearer token.](https://docs.microsoft.com/azure/marketplace/partner-center-portal/pc-saas-registration#get-a-token-based-on-the-azure-ad-app) Note: When making the HTTP request, prefix `Bearer` to the token obtained from the referenced link. |
3333

34+
>[!Note]
35+
>For Azure Application Managed Apps plans, the `resourceId` is the `resourceUsageId` found under the `billingDetails` of the Managed App metadata object. An example script for fetching it can be found in [Using the Azure-managed identities token](./marketplace-metering-service-authentication.md#using-the-azure-managed-identities-token). For SaaS offers, the `resourceId` is the SaaS subscription ID. For more details on SaaS subscriptions, see [list subscriptions](./pc-saas-fulfillment-api-v2.md#list-subscriptions).
36+
3437
*Request:*
3538

3639
```json

0 commit comments

Comments
 (0)