API Portal Administrator's Guide : Managing API Packages and Plans : 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>/rest/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 © 2015- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback