Create a set of revision attachments
post
/fscmRestApi/resources/11.13.18.05/publicSectorPcsAttachments/{publicSectorPcsAttachmentsUniqID}/child/PcsAttachmentAccessor/{AttachedDocumentId}/child/AttachmentsRevision
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
AttachedDocumentId: integer
The attached document ID that is used by the Attachments framework.
-
publicSectorPcsAttachmentsUniqID: integer
This is the hash key of the attributes which make up the composite key--- PcsAttachmentId, LnpRecordKey and TaskId ---for the Workflow Attachments resource and used to uniquely identify an instance of Workflow Attachments. The client should not generate the hash key value. Instead, the client should query on the Workflow Attachments collection resource with a filter on the primary key values in order to navigate to a specific instance of Workflow Attachments.
For example: publicSectorPcsAttachments?q=PcsAttachmentId=<value1>;LnpRecordKey=<value2>;TaskId=<value3>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorPcsAttachments-PcsAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object
-
AttachedDocumentId(optional):
integer(int64)
The attached document ID of the attachment that is used by the Attachments framework.
-
ContentId(optional):
string
Maximum Length:
80
The content ID of the attachment that is used by the Attachments framework. -
ErrorStatusCode(optional):
string
The error status code of the attachment that is used by the Attachments framework.
-
ErrorStatusMessage(optional):
string
The error status message of the attachment that is used by the Attachments framework.
-
FileUrl(optional):
string
The URL of the attachment file that is used by the Attachments framework.
-
Format(optional):
string
Maximum Length:
128
The format of the attachment that is used by the Attachments framework. -
InDate(optional):
string(date-time)
The entry date of the attachment that is used by the Attachments framework.
-
links(optional):
array Items
Title:
Items
Link Relations -
RevisionId(optional):
string
Maximum Length:
80
The revision ID of the attachment that is used by the Attachments framework. -
RevLabel(optional):
string
Maximum Length:
80
The revision label of the attachment that is used by the Attachments framework. -
UserRevisionId(optional):
integer(int64)
The user revision ID of the attachment that is used by the Attachments framework.
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 : publicSectorPcsAttachments-PcsAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object
-
AttachedDocumentId(optional):
integer(int64)
The attached document ID of the attachment that is used by the Attachments framework.
-
ContentId(optional):
string
Maximum Length:
80
The content ID of the attachment that is used by the Attachments framework. -
ErrorStatusCode(optional):
string
The error status code of the attachment that is used by the Attachments framework.
-
ErrorStatusMessage(optional):
string
The error status message of the attachment that is used by the Attachments framework.
-
FileUrl(optional):
string
The URL of the attachment file that is used by the Attachments framework.
-
Format(optional):
string
Maximum Length:
128
The format of the attachment that is used by the Attachments framework. -
InDate(optional):
string(date-time)
The entry date of the attachment that is used by the Attachments framework.
-
links(optional):
array Items
Title:
Items
Link Relations -
RevisionId(optional):
string
Maximum Length:
80
The revision ID of the attachment that is used by the Attachments framework. -
RevLabel(optional):
string
Maximum Length:
80
The revision label of the attachment that is used by the Attachments framework. -
UserRevisionId(optional):
integer(int64)
The user revision ID of the attachment that is used by the Attachments framework.
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.