Update a record attachment revision
patch
/fscmRestApi/resources/11.13.18.05/publicSectorRecordAttachments/{LnpAttachmentKey}/child/LnpAttachmentAccessor/{AttachedDocumentId}/child/AttachmentsRevision/{AttachmentsRevisionUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
AttachedDocumentId: integer
The unique identifier for an attachment.
-
AttachmentsRevisionUniqID: string
Identifier to Record Attachment Revisions
-
LnpAttachmentKey: integer
The unique key associated with the permit attachment.
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorRecordAttachments-LnpAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object
-
AttachedDocumentId(optional):
integer(int64)
The unique identifier of an attached document.
-
ContentId(optional):
string
Maximum Length:
80
The unique identifier of the attachment content. -
ErrorStatusCode(optional):
string
The code that indicates the error status of the attachment.
-
ErrorStatusMessage(optional):
string
The message that describes the error status of the attachment.
-
FileUrl(optional):
string
The web address for an attached file.
-
Format(optional):
string
Maximum Length:
128
The format of the attachment. -
InDate(optional):
string(date-time)
Indicates the date when the file was attached.
-
links(optional):
array Items
Title:
Items
Link Relations -
RevisionId(optional):
string
Maximum Length:
80
The unique identifier of the attachment revision. -
RevLabel(optional):
string
Maximum Length:
80
The label for an attachment revision. -
UserRevisionId(optional):
integer(int64)
The unique identifier for an attachment revision.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorRecordAttachments-LnpAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object
-
AttachedDocumentId(optional):
integer(int64)
The unique identifier of an attached document.
-
ContentId(optional):
string
Maximum Length:
80
The unique identifier of the attachment content. -
ErrorStatusCode(optional):
string
The code that indicates the error status of the attachment.
-
ErrorStatusMessage(optional):
string
The message that describes the error status of the attachment.
-
FileUrl(optional):
string
The web address for an attached file.
-
Format(optional):
string
Maximum Length:
128
The format of the attachment. -
InDate(optional):
string(date-time)
Indicates the date when the file was attached.
-
links(optional):
array Items
Title:
Items
Link Relations -
RevisionId(optional):
string
Maximum Length:
80
The unique identifier of the attachment revision. -
RevLabel(optional):
string
Maximum Length:
80
The label for an attachment revision. -
UserRevisionId(optional):
integer(int64)
The unique identifier for an attachment revision.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.