Queries
bulkModels
Retrieves Models in bulk - with one-to-one input and output semantics, allowing for direct mapping of data.
Template for Query:
query GetBulkModels($input: [BulkModelsQueryInput!]!) {
bulkModels(input: $input) {
# BulkModels Fields
}
}
Arguments
input* [BulkModelsQueryInput!]! non-null |
* Required
Possible Returns
Value Type | Description |
---|---|
[BulkModelsQueryResponse] |
Examples
Example 1
Retrieves Models in bulk - with one-to-one input and output semantics, allowing for direct mapping of data.
Query:
query GetBulkModels($input: [BulkModelsQueryInput!]!) {
bulkModels(input: $input) {
model{
id
name{
name
value
}
}
}
}
Show More
Query Variables:
{
"input" : [
{
"modelId":"bW9kZWx-MzdIYmo0R1ZBaG5FM1ZYVGRyajN4c19MMkN-QVZmeEdncWdiOE05S28zVDluQXdHel9hZ2E"
},
{
"modelId":"bW9kZWx-MzdIYmo0R1ZBaG5FM1ZYVGRyajN4c19MMkN-WHpLaFhPUWg2VXRkRUtlMGQ3ZTlJOV9hZ2E"
}
]
}
Show More
Response:
{
"data": {
"bulkModels": [
{
"model": {
"id": "bW9kZWx-MzdIYmo0R1ZBaG5FM1ZYVGRyajN4c19MMkN-QVZmeEdncWdiOE05S28zVDluQXdHel9hZ2E",
"name": {
"name": "modelName",
"value": "Component5"
}
}
},
{
"model": {
"id": "bW9kZWx-MzdIYmo0R1ZBaG5FM1ZYVGRyajN4c19MMkN-WHpLaFhPUWg2VXRkRUtlMGQ3ZTlJOV9hZ2E",
"name": {
"name": "modelName",
"value": "Component1"
}
}
}
]
}
}
Show More