get https://yourorgsite.com/api/QueryService
Returns a list containing a collection of QueryService
The QueryService is the foundation for searches, lists, and data for reporting throughout iMIS.
For more info:
As a guide on how to use the QueryService. See the article in the ASI Support Portal for more information.
With the QueryService service, you can perform the following operations on the execute endpoint:
- FindById
- FindByPath
- Find
Find
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Find",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts"
]
},
"UseJson": false
}
FindById
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindById",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Object",
"$value": "id Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Object"
]
},
"UseJson": false
}
Find
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Find",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.IQuery`1[[Asi.Soa.Core.DataContracts.QueryServiceData, Asi.Contracts]], Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Core.DataContracts.IQuery`1[[Asi.Soa.Core.DataContracts.QueryServiceData, Asi.Contracts]], Asi.Contracts"
]
},
"UseJson": false
}
FindById
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindById",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Object",
"$value": "id Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Object"
]
},
"UseJson": false
}
FindById
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindById",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDefinitionId Value"
},
{
"$type": "Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts"
]
},
"UseJson": false
}
FindById
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindById",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDefinitionId Value"
},
{
"$type": "Asi.Soa.Core.DataContracts.QueryData, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"Asi.Soa.Core.DataContracts.QueryData, Asi.Contracts"
]
},
"UseJson": false
}
FindById
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindById",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDefinitionId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
FindByPath
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindByPath",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "path Value"
},
{
"$type": "Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts"
]
},
"UseJson": false
}
FindByPath
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindByPath",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "path Value"
},
{
"$type": "Asi.Soa.Core.DataContracts.QueryData, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"Asi.Soa.Core.DataContracts.QueryData, Asi.Contracts"
]
},
"UseJson": false
}
FindByPath
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "FindByPath",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "path Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
Find
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Find",
"EntityTypeName": "QueryService",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.QueryDefinitionData, Asi.Contracts",
"$value": "queryDefinition Value"
},
{
"$type": "Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts",
"$value": "query Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Core.DataContracts.QueryDefinitionData, Asi.Contracts",
"Asi.Soa.Core.DataContracts.IQuery, Asi.Contracts"
]
},
"UseJson": false
}