@itentialopensource/adapter-eai
Version:
Itential Ericsson Adaptive Inventory Adapter
182 lines • 4.96 kB
JSON
{
"actions": [
{
"name": "getShelves",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/shelf/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "withpathv1",
"key": "",
"mockFile": "mockdatafiles/getSingleShelf.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultipleShelves.json"
}
]
},
{
"name": "createShelf",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/shelf?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createShelf.json"
}
]
},
{
"name": "updateShelf",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/shelf/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateShelf.json"
}
]
},
{
"name": "deleteShelf",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/shelf/{pathv1}/cascadeDelete?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteShelf.json"
}
]
},
{
"name": "getShelfTemplates",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/shelftemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "withpathv1",
"key": "",
"mockFile": "mockdatafiles/getSingleShelfTemplate.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultipleShelfTemplates.json"
}
]
},
{
"name": "createShelfTemplate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/shelftemplate?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createShelfTemplate.json"
}
]
},
{
"name": "updateShelfTemplate",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/shelftemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateShelfTemplate.json"
}
]
},
{
"name": "deleteShelfTemplate",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/oci/shelftemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteShelfTemplate.json"
}
]
}
]
}