POST api/v1/dynamicsql/set
Request Information
URI Parameters
None.
Body Parameters
Collection of DynamicGetRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| param | Collection of Object |
None. |
|
| cmd | integer |
None. |
|
| useNullValues | boolean |
None. |
|
| params | Collection of Object |
None. |
|
| extraParams | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"cmd": 1,
"useNullValues": true,
"params": [
{},
{}
],
"extraParams": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"cmd": 1,
"useNullValues": true,
"params": [
{},
{}
],
"extraParams": {
"sample string 1": {},
"sample string 3": {}
}
}
]
application/xml, text/xml
Sample:
<ArrayOfDynamicGetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Core.DynamicSQL.Repository">
<DynamicGetRequest>
<cmd>1</cmd>
<extraParam xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</extraParam>
<param xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:anyType />
<d3p1:anyType />
</param>
<useNullValues>true</useNullValues>
</DynamicGetRequest>
<DynamicGetRequest>
<cmd>1</cmd>
<extraParam xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</extraParam>
<param xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:anyType />
<d3p1:anyType />
</param>
<useNullValues>true</useNullValues>
</DynamicGetRequest>
</ArrayOfDynamicGetRequest>
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.