digitaluapi

<back to all web services

MetaQueriesAdd

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
POST/scadmeta/meta_queries
MetaQueriesAdd Parameters:
NameParameterData TypeRequiredDescription
Idbodyint?No
DbTechnologiesIdbodyshort?No
DescriptionbodystringNo
CommandTextbodystringNo
CommandTypesIdbodyshort?No
CacheResultbodybool?No
CachetimeInSecondsbodyint?No
QueryTypesIdbodyint?No
DbTechnologyTemplatesIdbodyshort?No
LastModifiedDatebodyDateTime?No
RowVersionGuidbodyGuid?No
IsEnabledbodybool?No
ConnectionsIdbodyshort?No
MetaQueriesAddResponse Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
DbTechnologiesIdformshort?No
DescriptionformstringNo
CommandTextformstringNo
CommandTypesIdformshort?No
CacheResultformbool?No
CachetimeInSecondsformint?No
QueryTypesIdformint?No
DbTechnologyTemplatesIdformshort?No
LastModifiedDateformDateTime?No
RowVersionGuidformGuid?No
IsEnabledformbool?No
ConnectionsIdformshort?No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /scadmeta/meta_queries HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"DbTechnologiesId":0,"Description":"String","CommandText":"String","CommandTypesId":0,"CacheResult":false,"CachetimeInSeconds":0,"QueryTypesId":0,"DbTechnologyTemplatesId":0,"LastModifiedDate":"0001-01-01T00:00:00.0000000","RowVersionGuid":"00000000000000000000000000000000","IsEnabled":false,"ConnectionsId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"DbTechnologiesId":0,"Description":"String","CommandText":"String","CommandTypesId":0,"CacheResult":false,"CachetimeInSeconds":0,"QueryTypesId":0,"DbTechnologyTemplatesId":0,"LastModifiedDate":"0001-01-01T00:00:00.0000000","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"}}}