Get revisions for a treatment definition group
get/definitionGroups/{groupId}/revisions
Retrieves a list of all revisions that exist for a treatment definition group.
1{2 "links": [3 {4 "method": "GET",5 "rel": "collection",6 "href": "/treatmentDefinitions/definitionGroups",7 "uri": "/treatmentDefinitions/definitionGroups",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.treatment.definition.group"10 },11 {12 "method": "GET",13 "rel": "self",14 "href": "/treatmentDefinitions/definitionGroups?sortBy=name&start=2&limit=1",15 "uri": "/treatmentDefinitions/definitionGroups?sortBy=name&start=2&limit=1",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.summary"18 },19 {20 "method": "GET",21 "rel": "first",22 "href": "/treatmentDefinitions/definitionGroups?sortBy=name&start=0&limit=1",23 "uri": "/treatmentDefinitions/definitionGroups?sortBy=name&start=0&limit=1",24 "type": "application/vnd.sas.collection",25 "itemType": "application/vnd.sas.summary"26 },27 {28 "method": "GET",29 "rel": "prev",30 "href": "/treatmentDefinitions/definitionGroups?sortBy=name&start=1&limit=1",31 "uri": "/treatmentDefinitions/definitionGroups?sortBy=name&start=1&limit=1",32 "type": "application/vnd.sas.collection",33 "itemType": "application/vnd.sas.summary"34 },35 {36 "method": "GET",37 "rel": "next",38 "href": "/treatmentDefinitions/definitionGroups?sortBy=name&start=3&limit=1",39 "uri": "/treatmentDefinitions/definitionGroups?sortBy=name&start=3&limit=1",40 "type": "application/vnd.sas.collection",41 "itemType": "application/vnd.sas.summary"42 },43 {44 "method": "POST",45 "rel": "create",46 "href": "/treatmentDefinitions/definitionGroups",47 "uri": "/treatmentDefinitions/definitionGroups",48 "type": "application/vnd.sas.vnd.sas.treatment.definition.group",49 "responseType": "application/vnd.sas.treatment.definition.group"50 }51 ],52 "name": "treatmentDefinitionGroups",53 "accept": "application/vnd.sas.summary",54 "start": 2,55 "count": 5,56 "items": [57 {58 "creationTimeStamp": "2021-09-16T18:34:43.865Z",59 "modifiedTimeStamp": "2021-09-16T18:34:43.865Z",60 "createdBy": "sasdemo",61 "modifiedBy": "sasdemo",62 "id": "d738c763-6d1f-4980-a3ec-b57dda234179",63 "type": "treatmentGroup",64 "name": "My Treatment Definition Group",65 "links": [66 {67 "method": "GET",68 "rel": "up",69 "href": "/treatmentDefinitions/definitionGroups",70 "uri": "/treatmentDefinitions/definitionGroups",71 "type": "application/vnd.sas.collection"72 },73 {74 "method": "GET",75 "rel": "self",76 "href": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",77 "uri": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",78 "type": "application/vnd.sas.treatment.definition.group"79 },80 {81 "method": "GET",82 "rel": "alternate",83 "href": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",84 "uri": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",85 "type": "application/vnd.sas.summary"86 },87 {88 "method": "DELETE",89 "rel": "delete",90 "href": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",91 "uri": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179"92 },93 {94 "method": "PUT",95 "rel": "update",96 "href": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",97 "uri": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179",98 "type": "application/vnd.sas.treatment.definition.group",99 "responseType": "application/vnd.sas.treatment.definition.group"100 },101 {102 "method": "GET",103 "rel": "revisions",104 "href": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179/revisions",105 "uri": "/treatmentDefinitions/definitionGroups/d738c763-6d1f-4980-a3ec-b57dda234179/revisions",106 "type": "application/vnd.sas.collection"107 }108 ],109 "version": 2110 }111 ],112 "limit": 1,113 "version": 2114}
Name | Type | Required | Description |
---|---|---|---|
groupId | string | true | The unique identifier for the treatment definition group. Examples: "da85cd3c-7c7a-437c-acac-eca2819c9a6d" |
Name | Type | Required | Description |
---|---|---|---|
filter | string<filter-criteria> | false | The criteria used for filtering the revisions of the specified treatment definition group. See Filtering in REST APIs. Examples: "gt(modifiedTimeStamp, '2021-05-03T15:38:45.654Z')" |
limit | integer | false | Returns the maximum number of revisions of the specified treatment definition group. Examples: 500 |
sortBy | string<sort-criteria> | false | The criteria used for sorting the revisions of the specified treatment definition group. See Sorting in REST APIs. Examples: "modifiedTimeStamp:descending" |
start | integer | false | Returns the index of the first revision of the specified treatment definition group. Examples: 100 |
Name | Type | Required | Description |
---|---|---|---|
Accept-Item | string<media-type> | false | Used for selecting the desired item representation. Allowed values: application/vnd.sas.treatment.definition.group+jsonapplication/vnd.sas.summary+jsonapplication/vnd.sas.dcm.summary+json Default: application/vnd.sas.summary+json |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Headers | Schema |