Get number of queries in a study

post

/ec-query-svc/rest/v2.0/studies/{studyId}/{mode}/queryCount

Retrieves the number queries by study ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : QueryCountPostDTO v1.0
Type: object
Title: QueryCountPostDTO v1.0
Query Count request payload
Show Source
Nested Schema : states
Type: array
Unique Items Required: true
list of query states
Show Source
Example:
["Opened","Answered","Candidate","Closed","Deleted"]]
Nested Schema : subjects
Type: array
list of Subject Unique GUIDs
Show Source
Example:
[
    "938D23FA6B7241CCA41BD627E5DB60DA",
    "699EF3745FC545589F186D2198F3C65E"
]
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : QueryCountResults v2.0
Type: object
Title: QueryCountResults v2.0
Query Count result payload
Show Source
Nested Schema : result
Type: array
Show Source
Nested Schema : QueryCountResults Entry v2.0
Type: object
Title: QueryCountResults Entry v2.0
Query Count result payload entry
Show Source

400 Response

Data is invalid.
Body ()
Root Schema : Response
Type: object
Show Source
Nested Schema : allowedMethods
Type: array
Unique Items Required: true
Show Source
Nested Schema : cookies
Type: object
Additional Properties Allowed
Show Source
Nested Schema : entity
Type: object
Nested Schema : EntityTag
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : language
Type: object
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : StatusType
Type: object
Show Source
Nested Schema : stringHeaders
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : NewCookie
Type: object
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : extensionKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleAttributes
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : UriBuilder
Type: object
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : additionalProperties
Type: array
Show Source

404 Response

The query could not be found.
Body ()
Root Schema : Response
Type: object
Show Source
Nested Schema : allowedMethods
Type: array
Unique Items Required: true
Show Source
Nested Schema : cookies
Type: object
Additional Properties Allowed
Show Source
Nested Schema : entity
Type: object
Nested Schema : EntityTag
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : language
Type: object
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : StatusType
Type: object
Show Source
Nested Schema : stringHeaders
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : NewCookie
Type: object
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : extensionKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleAttributes
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : UriBuilder
Type: object
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : additionalProperties
Type: array
Show Source
Back to Top