@itentialopensource/adapter-eai
Version:
Itential Ericsson Adaptive Inventory Adapter
182 lines • 4.93 kB
JSON
{
"actions": [
{
"name": "getSlots",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/slot/{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/getSingleSlot.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultipleSlots.json"
}
]
},
{
"name": "createSlot",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/slot?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createSlot.json"
}
]
},
{
"name": "updateSlot",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/slot/{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/updateSlot.json"
}
]
},
{
"name": "deleteSlot",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/slot/{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/deleteSlot.json"
}
]
},
{
"name": "getSlotTemplates",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/slottemplate/{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/getSingleSlotTemplate.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultipleSlotTemplates.json"
}
]
},
{
"name": "createSlotTemplate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/slottemplate?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createSlotTemplate.json"
}
]
},
{
"name": "updateSlotTemplate",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/slottemplate/{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/updateSlotTemplate.json"
}
]
},
{
"name": "deleteSlotTemplate",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/oci/slottemplate/{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/deleteSlotTemplate.json"
}
]
}
]
}