Using API Portal 10.3 | API Portal Administrator's Guide | Managing API Packages and Plans | Associating a Plan to a Package
 
Associating a Plan to a Package
You can associate plans with an API Package using a REST service. The following section illustrates the structures for the REST service to link a Plan with an API Package http://<host>:<portnumber>/abs/apirepository/v1/packages/{id}/plans .
* To associate a plan to a package
*HTTP Method: PUT
Parameters: NA
Request Payload
["6306b200-338c-11e6-61d0-d4bed967adb3",
"16efea16-753b-4d7a-b5b7-ac0486934e31"]
Response Payload
{
"status": "PLANS_LINK_SUCCESSFUL",
"message": "Plan(s) linked Successfully with {packagename}"
}

Copyright © 2014- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.