Create an annotation member

post/annotations/{annotationId}/members
Internal-Use Only

Creates an annotation member from the provided request.

Request Samples

1

Response Samples

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}

Path Parameters

NameTypeRequiredDescription
annotationId
string
true

The annotation ID.

Request Body

The member to create. Valid fields are annotationId, value, resourceType, and resourceUri. All other fields are ignored.

Information about the external object that is associated with the annotation.

NameTypeRequiredDescription
annotationId
string
false

The annotation ID that is associated with the member.

resourceUri
string
false

The URI of the object that is associated with the member.

resourceType
string
false

The object type that is associated with the member.

value
string
false

The member value.

Responses

StatusMeaningDescription
201CreatedThe annotation member was successfully created.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundThe specified annotation does not exist.Schema