| Requires any of the roles: | Client, Admin, Partner |
| PUT | /scadmeta/meta_queries/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int? | No | |
| DbTechnologiesId | body | short? | No | |
| Description | body | string | No | |
| CommandText | body | string | No | |
| CommandTypesId | body | short? | No | |
| CacheResult | body | bool? | No | |
| CachetimeInSeconds | body | int? | No | |
| QueryTypesId | body | int? | No | |
| DbTechnologyTemplatesId | body | short? | No | |
| LastModifiedDate | body | DateTime? | No | |
| RowVersionGuid | body | Guid? | No | |
| IsEnabled | body | bool? | No | |
| ConnectionsId | body | short? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int? | No | |
| DbTechnologiesId | form | short? | No | |
| Description | form | string | No | |
| CommandText | form | string | No | |
| CommandTypesId | form | short? | No | |
| CacheResult | form | bool? | No | |
| CachetimeInSeconds | form | int? | No | |
| QueryTypesId | form | int? | No | |
| DbTechnologyTemplatesId | form | short? | No | |
| LastModifiedDate | form | DateTime? | No | |
| RowVersionGuid | form | Guid? | No | |
| IsEnabled | form | bool? | No | |
| ConnectionsId | form | short? | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /scadmeta/meta_queries/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DbTechnologiesId: 0,
Description: String,
CommandText: String,
CommandTypesId: 0,
CacheResult: False,
CachetimeInSeconds: 0,
QueryTypesId: 0,
DbTechnologyTemplatesId: 0,
LastModifiedDate: 0001-01-01,
RowVersionGuid: 00000000000000000000000000000000,
IsEnabled: False,
ConnectionsId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DbTechnologiesId: 0,
Description: String,
CommandText: String,
CommandTypesId: 0,
CacheResult: False,
CachetimeInSeconds: 0,
QueryTypesId: 0,
DbTechnologyTemplatesId: 0,
LastModifiedDate: 0001-01-01,
RowVersionGuid: 00000000000000000000000000000000,
IsEnabled: False,
ConnectionsId: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}