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

Product LogoContact Support   |   Community   |   Feedback