@itentialopensource/adapter-sevone_v2
Version:
This adapter integrates with system described as: SevOne v2 api.
126 lines • 3.42 kB
JSON
{
"actions": [
{
"name": "getAttributes",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/metadata/attribute?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getAttributes-default.json"
}
]
},
{
"name": "createAttribute",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/metadata/attribute?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createAttribute-default.json"
}
]
},
{
"name": "filterAttributes",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/metadata/attribute/filter?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/filterAttributes-default.json"
}
]
},
{
"name": "getAttribute",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/metadata/attribute/{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/getAttribute-default.json"
}
]
},
{
"name": "updateAttributeById",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/metadata/attribute/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateAttributeById-default.json"
}
]
},
{
"name": "deleteAttributeById",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/metadata/attribute/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteAttributeById-default.json"
}
]
}
]
}