The member to create. Valid fields are annotationId, value, resourceType, and resourceUri. The annotationId in the request body must match the annotationId in the URI. All other fields are ignored.
Create an annotation member
Creates an annotation member from the provided request. The annotationId in the request body must match the annotationId in the URI.
1{2 "creationTimeStamp": "2018-03-26T19:58:04.918000Z",3 "modifiedTimeStamp": "2018-03-26T19:58:04.918000Z",4 "createdBy": "sasboot",5 "modifiedBy": "sasboot",6 "version": 1,7 "id": "04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",8 "annotationId": "2a902411-4f81-4819-9263-203cf0ff29ce",9 "resourceType": "type",10 "resourceUri": "uri",11 "value": "objectValue",12 "links": [13 {14 "method": "GET",15 "rel": "annotation",16 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",17 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",18 "type": "application/vnd.sas.annotation"19 },20 {21 "method": "GET",22 "rel": "self",23 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",24 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",25 "type": "application/vnd.sas.annotation.member"26 },27 {28 "method": "PUT",29 "rel": "update",30 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",31 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",32 "type": "application/vnd.sas.annotation.member",33 "responseType": "application/vnd.sas.annotation.member"34 },35 {36 "method": "DELETE",37 "rel": "delete",38 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9",39 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members/04c2d36b-0f7a-4e1b-a546-a80ffbe35bf9"40 },41 {42 "method": "GET",43 "rel": "up",44 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members",45 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members",46 "type": "application/vnd.sas.annotation.member",47 "responseType": "application/vnd.sas.annotation.member"48 }49 ]50}Information about the external object that is associated with the annotation. The annotationId in the request body must match the annotationId in the URI for single-member create requests.
| Name | Type | Required | Description |
|---|---|---|---|
annotationId | string | false | The annotation ID that is associated with the member. |
resourceUri | string | false | The URI of the object associated with this member. Example /folders/folders/{folderId} or /files/files/{fileId}. |
resourceType | string | false | The object type associated with the member. Common values include folder, file and report. |
value | string | false | Optional metadata value for this member. Free text (max 1000 characters). |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | The annotation member was successfully created. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 404 | Not Found | The specified annotation does not exist. | Schema |