@itentialopensource/adapter-solarwinds_servicedesk
Version:
This adapter integrates with system described as: solarwindsServiceDeskApi.
106 lines • 2.87 kB
JSON
{
"actions": [
{
"name": "getDepartmentById",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/departments/{pathv1}.json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDepartmentById-default.json"
}
]
},
{
"name": "updateDepartmentById",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/departments/{pathv1}.json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateDepartmentById-default.json"
}
]
},
{
"name": "deleteDepartmentById",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/departments/{pathv1}.json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteDepartmentById-default.json"
}
]
},
{
"name": "getDepartments",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/departments.json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDepartments-default.json"
}
]
},
{
"name": "createDepartment",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/departments.json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createDepartment-default.json"
}
]
}
]
}