post
https://api.ol-hub.com/backend/api/v1/modules/create-by-solution
The create module by solution API sends a POST request to create a module using solution center.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Prerequisites
- The caller must provide a module name of at least 3 characters.
- The caller must provide a preexisting solution name.
Authorization
- API key (via the
X-API-KEYheader).
Parameters
Request Body
| Field name | Description | Format |
|---|---|---|
| moduleName | The name of the module | String |
| solutionName | The name of the solution | String |
Response Body
| Field name | Description | Format |
|---|---|---|
| id | The id of the module | String |
| name | The name of the module | String |
Examples
{
"solutionName": "account-cics-demo",
"moduleName": "module-by-solution-mainframe-rpc"
}{
"id": "00000000-0000-0000-0001-000000000011",
"name": "module-by-solution-mainframe-rpc"
}{
"solutionName": "account-as400-pcml",
"moduleName": "module-by-solution-as400-rpc"
}{
"id": "00000000-0000-0000-0002-000000000022",
"name": "module-by-solution-as400-rpc"
}{
"solutionName": "account-ims",
"moduleName": "module-by-solution-ims-rpc"
}{
"id": "00000000-0000-0000-0003-000000000033",
"name": "module-by-solution-ims-rpc"
}
