Get a global variable

get/globalVariables/{globalVariableId}
Internal-Use Only

Get a global variable with provided globalVariableId.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2023-01-17T16:29:31.851Z",
3 "modifiedTimeStamp": "2023-01-17T16:29:31.856Z",
4 "createdBy": "userx",
5 "modifiedBy": "userx",
6 "id": "38b4d801-f744-45cf-8e97-12a109daf3af",
7 "activeVersionId": "8eb475bb-4a78-46ea-bb0b-a74206b3fc0e",
8 "majorRevision": 1,
9 "minorRevision": 1,
10 "name": "gv_string_hmeq_value",
11 "dataType": "string",
12 "defaultValue": "exampleValue",
13 "hidden": false,
14 "status": "developing",
15 "locked": false,
16 "links": [
17 {
18 "method": "GET",
19 "rel": "self",
20 "href": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
21 "uri": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
22 "responseType": "application/vnd.sas.data.reference.global.variable"
23 },
24 {
25 "method": "PUT",
26 "rel": "update",
27 "href": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
28 "uri": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
29 "type": "application/vnd.sas.data.reference.global.variable",
30 "responseType": "application/vnd.sas.data.reference.global.variable"
31 },
32 {
33 "method": "DELETE",
34 "rel": "delete",
35 "href": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
36 "uri": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af"
37 },
38 {
39 "method": "GET",
40 "rel": "revisions",
41 "href": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af/revisions",
42 "uri": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af/revisions",
43 "responseType": "application/vnd.sas.collection",
44 "itemType": "application/vnd.sas.data.reference.global.variable"
45 },
46 {
47 "method": "GET",
48 "rel": "currentRevision",
49 "href": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
50 "uri": "/referenceData/globalVariables/38b4d801-f744-45cf-8e97-12a109daf3af",
51 "responseType": "application/vnd.sas.data.reference.global.variable"
52 }
53 ]
54}

Path Parameters

NameTypeRequiredDescription
globalVariableId
string
true

The identifier of a global variable.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema