R/AutoGeneratedDefinitions.R
isValidCohortId.Rd
is Cohort id a valid definition in the WebApi.
isValidCohortId(cohortIds, baseUrl)
A list of integer id(s) of the Cohort to be tested for validity.
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".
A logical vector indicating if an ID is valid.
Checks if a set of id for a Cohort is valid. The following checks are performed. 1) checks if all the ids exists in the WebApi i.e. valid.
if (FALSE) {
isValidCohortId(cohortIds = c(13242, 3423, 34), baseUrl = "http://server.org:80/WebAPI")
}