Summary
Get Service Instance Data
Description
Returns service related data
Route
POST /formbuilder/fetchData
Roles
admin
apiwrite
operator
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
service |
string |
yes |
Service name |
instance_key |
string |
yes |
Key for the data |
val |
string |
yes |
Value to search |
Copied to Clipboard
{
"service": "/ncs:devices/ncs:device",
"instance_key": "ncs:name",
"val": "my_device_01"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"service": {
"title": "service",
"type": "string",
"examples": [
"/ncs:devices/ncs:device"
]
},
"instance_key": {
"title": "instance_key",
"type": "string",
"examples": [
"ncs:name"
]
},
"val": {
"title": "val",
"type": "string",
"examples": [
"my_device_01"
]
}
},
"required": [
"service",
"instance_key",
"val"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
Json object of service instance |
Copied to Clipboard
{
"/ncs:services/test:choices": [
{
"service-name": "service_name_1",
"choice-a": "1"
}
]
}
Copied to Clipboard
{
"title": "data",
"type": "object",
"examples": [
{
"/ncs:services/test:choices": [
{
"service-name": "service_name_1",
"choice-a": "1"
}
]
}
]
}