Validate a new treatment definition

post/commons/validations/definitions
Internal-Use Only

Determines whether a new treatment definition is valid.

Request Samples

1

Response Samples

1{
2 "valid": true,
3 "version": 1
4}

Request Body

The treatment definition

The representation of a treatment definition.

NameTypeRequiredDescription
id
string
false

The system-assigned unique ID for this object.

name
string
true

The treatment definition name.

description
string
false

The treatment definition description.

createdBy
string
false

The user who created the treatment definition.

creationTimeStamp
string<date-time>
false

The date and time that the treatment definition was created.

modifiedBy
string
false

The user ID of the authenticated user who last updated the treatment definition.

modifiedTimeStamp
string<date-time>
false

The date and time that the treatment definition was last modified.

majorRevision
integer
false

Major version number of the revision being viewed of the treatment definition. This value is assigned by the service, the user only has control on whether the major number or minor number is incremented when creating a new revision.

minorRevision
integer
false

Minor version number of the current revision of the treatment definition. This value is assigned by the service, the user only has control on whether the major number or minor number is incremented when creating a new revision.

checkout
boolean
false

Flag that indicates that the treatment definition is a user's working copy of another treatment definition.

locked
boolean
false

Flag that indicates whether the content of the revision being viewed is locked or editable.

status
string<enumeration>
false

The status of the treatment definition.

Allowed values:
validerror
eligibility
Treatment Definition Eligibility
false

Represents the eligibility details for a treatment definition. This does not represent any of the top-level media types.

attributes
array [Treatment Definition Attribute]
false

An array of treatment definition attributes.

folderType
string
false

Indicates the type of folder where the treatment definition is stored.

sourceRevisionUri
string
false

The URI of the treatment definition revision that the treatment definition is being created from.

copyTimeStamp
string<date-time>
false

The time stamp when the treatment definition revision was copied.

links
array [Link]
false

Zero or more links to related resources or operations.

version
integer
false

This media type's schema version number. This representation is version 4.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema