You're viewing Apigee Edge documentation.
Go to the
Apigee X documentation. info
Introduction
As part of its initial setup of monetization for your organization, the Apigee Edge configuration team runs a script that synchronizes with monetization your organization and any developers, applications, and products that you created using Edge API Services.
After a period of time (such as a few months) and periodically after that, it’s advisable to re-synchronize that data with monetization to ensure that the data is in sync. You can synchronize the following:
Synchronizing your organization using the API
To synchronize your organization, issue a GET request to
/organizations/{org_name}/sync-organization
. When you synchronize your organization,
you can also synchronize all products, developers, and applications in the organization by
specifying childEntities=true
as a query parameter and value.
For example, the following request synchronizes the organization and synchronizes all products, developers, and applications in the organization:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-organization?childEntities=true" \ -u email:password
The response should look something like this (only part of the response is shown):
Synchronization 4G organization with mint, started at, Mon Sep 09 17:48:22 UTC 2013 Child entities sync is, true Synchronizing {org_name} Organization found in mint, merging... Saving {org_name} Saved Synchronization 4G products with mint, started at, Mon Sep 09 17:45:26 UTC 2013 Found 4 products. Synchronizing location Product found in mint, merging... Saving location Saved location Synchronizing search Product found in mint, merging... Saving search Saved search Synchronizing messaging Product found in mint, merging... Saving messaging Saved messaging Synchronizing payment Product found in mint, merging... Saving payment Saved payment Synchronization job finished at, Mon Sep 09 17:45:26 UTC 2013 Synchronization 4G products with mint, started at, Mon Sep 09 17:33:20 UTC 2013 Found 11 developers. Synchronizing dev51@myorg.com Developer found in mint, merging... Saving dev51@myorg.com Saved dev51@myorg.com ... Synchronization job finished at, Mon Sep 09 17:33:31 UTC 2013 Synchronization 4G products with mint, started at, Mon Sep 09 17:15:32 UTC 2013 Found 6 applications. Synchronizing dev-four-test-app Application found in mint, merging... Saving dev-four-test-app Saved dev-four-test-app ... Synchronization job finished at, Mon Sep 09 17:15:34 UTC 2013
Synchronizing products using the API
To synchronize products, issue a GET request to
/organizations/{org_name}/sync-products
. For example:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-products" \ -u email:password
Synchronizing developers using the API
To synchronize developers, issue a GET request to
/organizations/{org_name}/sync-developers
. For example:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-developers" \ -u email:password
Synchronizing applications using the API
To synchronize applications, issue a GET request to
/organizations/{org_name}/sync-applications
. For example:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-applications" \ -u email:password