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>/rest/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}"
}