Update or replace the member value

put/annotations/{annotationId}/members/{memberId}
Internal-Use Only

Updates or replaces the member value for the given annotation and member ID.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2022-03-09T06:05:43.955794Z",
3 "createdBy": "sasadm",
4 "modifiedTimeStamp": "2022-03-09T06:22:59.189603Z",
5 "modifiedBy": "sasadm",
6 "version": 1,
7 "id": "bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
8 "annotationId": "b00feed8-cd6a-4ed8-8608-d57256663b93",
9 "resourceType": "folder",
10 "resourceUri": "/files/files/b8cdad41-81a6-4c67-a741-bc618705fd65",
11 "value": "this updates",
12 "links": [
13 {
14 "method": "GET",
15 "rel": "self",
16 "href": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
17 "uri": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
18 "type": "application/vnd.sas.annotation.member"
19 },
20 {
21 "method": "PUT",
22 "rel": "update",
23 "href": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
24 "uri": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
25 "type": "application/vnd.sas.annotation.member",
26 "responseType": "application/vnd.sas.annotation.member"
27 },
28 {
29 "method": "DELETE",
30 "rel": "delete",
31 "href": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a",
32 "uri": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members/bd853c18-9faf-4f9a-a31a-3cdfc6bf866a"
33 },
34 {
35 "method": "GET",
36 "rel": "up",
37 "href": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members",
38 "uri": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93/members",
39 "type": "application/vnd.sas.collection",
40 "itemType": "application/vnd.sas.annotation.member"
41 },
42 {
43 "method": "GET",
44 "rel": "annotation",
45 "href": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93",
46 "uri": "/annotations/annotations/b00feed8-cd6a-4ed8-8608-d57256663b93",
47 "type": "application/vnd.sas.annotation"
48 }
49 ]
50}

Path Parameters

NameTypeRequiredDescription
annotationId
string
true

The annotation ID.

memberId
string
true

The member ID to update or replace.

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The Etag that was returned from a GET, POST, or PUT of this annotation.

Request Body

The member object.

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

NameTypeRequiredDescription
id
string
false

The unique ID, which the system assigns.

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.

createdBy
string
false

The user who created this annotation member.

modifiedBy
string
false

The last user to modify this annotation member.

creationTimeStamp
string
false

The formatted timestamp when the annotation member was created, shown in yyyy-mm-ddThh:mm:ssZ format.

modifiedTimeStamp
string
false

The formatted timestamp when the annotation member was last modified, shown in yyyy-mm-ddThh:mm:ssZ format.

Responses

StatusMeaningDescription
200OKThe annotation member value was updated.HeadersSchema
400Bad RequestThe specified request was invalid for one of these reasons: <ul> <li>The specified annotation ID for the specified member is not correct. <li>The new member value exceeds the maximum allowable length. </ul>Schema
404Not FoundThe specified member does not exist.Schema
412Precondition FailedThe specified Etag does not match the current version or the last modified date of the object.Schema
415Unsupported Media TypeThe specified media type is not supported.Schema
428Precondition RequiredThe Etag was not specified during update of an existing type.Schema