Using API Portal 10.3 | API Portal Administrator's Guide | Managing API Packages and Plans | Creating an API Package
 
Creating an API Package
You can create an API Package using a REST service. The following section illustrates the structures for the REST service to create an API Package http://<host>:<portnumber>/abs/apirepository/v1/packages .
* To create an API Package using REST service
*HTTP Method: POST
Parameters: NA
Request Payload
{
"name":"Money conversion Package",
"description":"Packages for money conversion",
"icon":"http://www.digitalchalk.com/wp-content/uploads/2014/06/
ecommerce-pricing-icon1.png"
}
Response Payload
{
"id": "f212c521-5334-11e6-3564-0050569d1bdd",
"name": "Money conversion Package",
"_link": "/abs/apirepository/v1/packages/f212c521-5334-11e6-3564-0050569d1bdd"
}

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.