Create Module By Solution
Method / path: POST /api/v1/modules/create-by-solution
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
mainframe-rpc
```json
{
"solutionName": "account-cics-demo",
"moduleName": "module-by-solution-mainframe-rpc"
}
json
{
"id": "00000000-0000-0000-0001-000000000011",
"name": "module-by-solution-mainframe-rpc"
}
```
as400-rpc
```json
{
"solutionName": "account-as400-pcml",
"moduleName": "module-by-solution-as400-rpc"
}
json
{
"id": "00000000-0000-0000-0002-000000000022",
"name": "module-by-solution-as400-rpc"
}
```
ims-rpc
```json
{
"solutionName": "account-ims",
"moduleName": "module-by-solution-ims-rpc"
}
json
{
"id": "00000000-0000-0000-0003-000000000033",
"name": "module-by-solution-ims-rpc"
}
```