POST api/SatellitePlugins/{satellitePluginId}/Queries
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| satellitePluginId | integer |
Required |
Body Parameters
Collection of SatellitePluginQuery| Name | Description | Type | Additional information |
|---|---|---|---|
| SatellitePluginQueryId | integer |
None. |
|
| SatellitePluginId | integer |
Required |
|
| SqlBaseQuery | string |
Required |
|
| QueryTypeId | integer |
Required |
|
| Parameters | Collection of SatellitePluginQueryParameter |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SatellitePluginQueryId": 1,
"SatellitePluginId": 2,
"SqlBaseQuery": "sample string 3",
"QueryTypeId": 4,
"Parameters": [
{
"SatellitePluginQueryParameterId": 1,
"SatellitePluginQueryId": 2,
"Name": "sample string 3",
"Comparator": "sample string 4",
"Value": "sample string 5",
"DataType": "sample string 6"
},
{
"SatellitePluginQueryParameterId": 1,
"SatellitePluginQueryId": 2,
"Name": "sample string 3",
"Comparator": "sample string 4",
"Value": "sample string 5",
"DataType": "sample string 6"
}
]
},
{
"SatellitePluginQueryId": 1,
"SatellitePluginId": 2,
"SqlBaseQuery": "sample string 3",
"QueryTypeId": 4,
"Parameters": [
{
"SatellitePluginQueryParameterId": 1,
"SatellitePluginQueryId": 2,
"Name": "sample string 3",
"Comparator": "sample string 4",
"Value": "sample string 5",
"DataType": "sample string 6"
},
{
"SatellitePluginQueryParameterId": 1,
"SatellitePluginQueryId": 2,
"Name": "sample string 3",
"Comparator": "sample string 4",
"Value": "sample string 5",
"DataType": "sample string 6"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfSatellitePluginQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Starship.WebAPI.Models">
<SatellitePluginQuery>
<Parameters>
<SatellitePluginQueryParameter>
<Comparator>sample string 4</Comparator>
<DataType>sample string 6</DataType>
<Name>sample string 3</Name>
<SatellitePluginQueryId>2</SatellitePluginQueryId>
<SatellitePluginQueryParameterId>1</SatellitePluginQueryParameterId>
<Value>sample string 5</Value>
</SatellitePluginQueryParameter>
<SatellitePluginQueryParameter>
<Comparator>sample string 4</Comparator>
<DataType>sample string 6</DataType>
<Name>sample string 3</Name>
<SatellitePluginQueryId>2</SatellitePluginQueryId>
<SatellitePluginQueryParameterId>1</SatellitePluginQueryParameterId>
<Value>sample string 5</Value>
</SatellitePluginQueryParameter>
</Parameters>
<QueryTypeId>4</QueryTypeId>
<SatellitePluginId>2</SatellitePluginId>
<SatellitePluginQueryId>1</SatellitePluginQueryId>
<SqlBaseQuery>sample string 3</SqlBaseQuery>
</SatellitePluginQuery>
<SatellitePluginQuery>
<Parameters>
<SatellitePluginQueryParameter>
<Comparator>sample string 4</Comparator>
<DataType>sample string 6</DataType>
<Name>sample string 3</Name>
<SatellitePluginQueryId>2</SatellitePluginQueryId>
<SatellitePluginQueryParameterId>1</SatellitePluginQueryParameterId>
<Value>sample string 5</Value>
</SatellitePluginQueryParameter>
<SatellitePluginQueryParameter>
<Comparator>sample string 4</Comparator>
<DataType>sample string 6</DataType>
<Name>sample string 3</Name>
<SatellitePluginQueryId>2</SatellitePluginQueryId>
<SatellitePluginQueryParameterId>1</SatellitePluginQueryParameterId>
<Value>sample string 5</Value>
</SatellitePluginQueryParameter>
</Parameters>
<QueryTypeId>4</QueryTypeId>
<SatellitePluginId>2</SatellitePluginId>
<SatellitePluginQueryId>1</SatellitePluginQueryId>
<SqlBaseQuery>sample string 3</SqlBaseQuery>
</SatellitePluginQuery>
</ArrayOfSatellitePluginQuery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.