Create a set of project attachment
post
/fscmRestApi/resources/11.13.18.05/publicSectorProjectAttachments
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorProjectAttachments-item
Type:
object
Discriminator:
Show Source
AttachmentType
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the public sector agency. -
AttachmentEntityName(optional):
string
Maximum Length:
255
The unique identifier to indicate project attachments(PSC_DOC_PRO) used by the attachment component. -
AttachmentId(optional):
integer(int64)
The unique identifier of the attachment from the common attachment table.
-
AttachmentKey(optional):
integer(int64)
The unique indentifier for the project attachment row.
-
AttachmentType:
string
Maximum Length:
15
The attachment type to identify project attachments. The values is PRO. -
CreatedBy(optional):
string
Title:
Uploaded By
Maximum Length:64
The name of the user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Uploaded On
The date and time when the attachment was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description for the file attached. -
DocumentCategory(optional):
string
Title:
Category
Maximum Length:30
The unique identifier for the document category. -
DocumentGroupId(optional):
string
Maximum Length:
30
The unique identifier for the document group. -
DocumentSubcategory(optional):
string
Title:
Subcategory
Maximum Length:30
The unique identifier for the document subcategory. -
FileName(optional):
string
Title:
File Name
Maximum Length:255
The name of the file attached. -
FileSize(optional):
integer(int64)
Title:
File Size
The size of the file attached. -
FileType(optional):
string
Maximum Length:
100
The type of the file attached whether text/plain, image/jpeg and so on. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The name of user who last updated the attachment. -
links(optional):
array Items
Title:
Items
Link Relations -
ProjectAgencyId(optional):
integer(int32)
The unique identifier of the public sector agency.
-
ProjectAttachmentAccessor(optional):
array Project Attachment Accessors
Title:
Project Attachment Accessors
The project attachments resource is used to add, update, view or delete an attachment to a project. -
ProjectAttachmentId(optional):
integer(int64)
The unique identifier of the attachment from the common attachment table.
-
ProjectCode(optional):
string
Title:
Project ID
Maximum Length:30
The unique identifier of the project. -
Version(optional):
integer(int32)
The version of the attachment.
Nested Schema : Project Attachment Accessors
Type:
array
Title:
Project Attachment Accessors
The project attachments resource is used to add, update, view or delete an attachment to a project.
Show Source
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.
Nested Schema : publicSectorProjectAttachments-ProjectAttachmentAccessor-item
Type:
Show Source
object
-
AsyncTrackerId(optional):
string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId(optional):
integer(int64)
Title:
Attached Document Id
The unique identifier of the attached document. -
AttachmentsRevision(optional):
array Project Attachment Revisions
Title:
Project Attachment Revisions
The project attachment accessor resource is used for displaying file-related information such as file name and file URL. -
CategoryName(optional):
string
Title:
Category
Maximum Length:30
The unique name given to the project attachment accessors, which makes the attachment functionality work in conjunction with the entity name. - ContentRepositoryFileShared(optional): boolean
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:255
The name of the user who created the attachment. -
CreatedByUserName(optional):
string
Title:
Created By User Name
The user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the attachment was created. -
DatatypeCode(optional):
string
Title:
Type
Maximum Length:30
The data type code of the attachment. -
Description(optional):
string
Title:
Description
Maximum Length:255
The description of the attachment. -
DmDocumentId(optional):
string
Maximum Length:
255
The unique document identifier that is used by the Attachment framework. -
DmFolderPath(optional):
string
Title:
Dm Folder Path
Maximum Length:1000
The folder path of the attachment. -
DmVersionNumber(optional):
string
Maximum Length:
255
The version number used by the Attachment framework. -
ErrorStatusCode(optional):
string
Title:
Error Status Code
The code that indicates the error status of the attachment. -
ErrorStatusMessage(optional):
string
Title:
Error Status Message
The message that describes the error status of the attachment. -
ExpirationDate(optional):
string(date-time)
Title:
Expiration Date
The date of expiration of the attachment. -
FileContents(optional):
string(binary)
Title:
File Contents
The file contents of the attachment. -
FileName(optional):
string
Title:
File Name
Maximum Length:2048
The name of the file attached. -
FileUrl(optional):
string
Title:
File Url
The URL or web address of the attached file. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Update Date
The date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:255
The name of user who last updated the attachment. -
LastUpdatedByUserName(optional):
string
Title:
Last Updated By User
The user who last updated the attachment. -
links(optional):
array Items
Title:
Items
Link Relations -
Title(optional):
string
Title:
Title
The title of the attachment. -
UploadedFileContentType(optional):
string
Title:
Uploaded File Content Type
The content type of the attachment such as text/plain, or csv. -
UploadedFileLength(optional):
integer(int64)
Title:
File Size
The file length of the attachment in bytes. -
UploadedFileName(optional):
string
Title:
Uploaded File Name
The name of the attached file. -
UploadedText(optional):
string
Title:
Uploaded Text
The text that is entered along with the attachment. -
Uri(optional):
string
Title:
Uri
Maximum Length:4000
The type of universal resource identifier (URI) associated with the attachment. For example, URL. -
Url(optional):
string
Title:
Url
Maximum Length:4000
The URL associated with an attachment. -
UserName(optional):
string
Title:
User Name
Maximum Length:255
The user's unique user name for signing in to the fusion system.
Nested Schema : Project Attachment Revisions
Type:
array
Title:
Project Attachment Revisions
The project attachment accessor resource is used for displaying file-related information such as file name and file URL.
Show Source
Nested Schema : publicSectorProjectAttachments-ProjectAttachmentAccessor-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 that 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.
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 : publicSectorProjectAttachments-item
Type:
object
Discriminator:
Show Source
AttachmentType
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the public sector agency. -
AttachmentEntityName(optional):
string
Maximum Length:
255
The unique identifier to indicate project attachments(PSC_DOC_PRO) used by the attachment component. -
AttachmentId(optional):
integer(int64)
The unique identifier of the attachment from the common attachment table.
-
AttachmentKey(optional):
integer(int64)
The unique indentifier for the project attachment row.
-
AttachmentType:
string
Maximum Length:
15
The attachment type to identify project attachments. The values is PRO. -
CreatedBy(optional):
string
Title:
Uploaded By
Maximum Length:64
The name of the user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Uploaded On
The date and time when the attachment was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description for the file attached. -
DocumentCategory(optional):
string
Title:
Category
Maximum Length:30
The unique identifier for the document category. -
DocumentGroupId(optional):
string
Maximum Length:
30
The unique identifier for the document group. -
DocumentSubcategory(optional):
string
Title:
Subcategory
Maximum Length:30
The unique identifier for the document subcategory. -
FileName(optional):
string
Title:
File Name
Maximum Length:255
The name of the file attached. -
FileSize(optional):
integer(int64)
Title:
File Size
The size of the file attached. -
FileType(optional):
string
Maximum Length:
100
The type of the file attached whether text/plain, image/jpeg and so on. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The name of user who last updated the attachment. -
links(optional):
array Items
Title:
Items
Link Relations -
ProjectAgencyId(optional):
integer(int32)
The unique identifier of the public sector agency.
-
ProjectAttachmentAccessor(optional):
array Project Attachment Accessors
Title:
Project Attachment Accessors
The project attachments resource is used to add, update, view or delete an attachment to a project. -
ProjectAttachmentId(optional):
integer(int64)
The unique identifier of the attachment from the common attachment table.
-
ProjectCode(optional):
string
Title:
Project ID
Maximum Length:30
The unique identifier of the project. -
Version(optional):
integer(int32)
The version of the attachment.
Nested Schema : Project Attachment Accessors
Type:
array
Title:
Project Attachment Accessors
The project attachments resource is used to add, update, view or delete an attachment to a project.
Show Source
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.
Nested Schema : publicSectorProjectAttachments-ProjectAttachmentAccessor-item
Type:
Show Source
object
-
AsyncTrackerId(optional):
string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId(optional):
integer(int64)
Title:
Attached Document Id
The unique identifier of the attached document. -
AttachmentsRevision(optional):
array Project Attachment Revisions
Title:
Project Attachment Revisions
The project attachment accessor resource is used for displaying file-related information such as file name and file URL. -
CategoryName(optional):
string
Title:
Category
Maximum Length:30
The unique name given to the project attachment accessors, which makes the attachment functionality work in conjunction with the entity name. - ContentRepositoryFileShared(optional): boolean
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:255
The name of the user who created the attachment. -
CreatedByUserName(optional):
string
Title:
Created By User Name
The user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the attachment was created. -
DatatypeCode(optional):
string
Title:
Type
Maximum Length:30
The data type code of the attachment. -
Description(optional):
string
Title:
Description
Maximum Length:255
The description of the attachment. -
DmDocumentId(optional):
string
Maximum Length:
255
The unique document identifier that is used by the Attachment framework. -
DmFolderPath(optional):
string
Title:
Dm Folder Path
Maximum Length:1000
The folder path of the attachment. -
DmVersionNumber(optional):
string
Maximum Length:
255
The version number used by the Attachment framework. -
ErrorStatusCode(optional):
string
Title:
Error Status Code
The code that indicates the error status of the attachment. -
ErrorStatusMessage(optional):
string
Title:
Error Status Message
The message that describes the error status of the attachment. -
ExpirationDate(optional):
string(date-time)
Title:
Expiration Date
The date of expiration of the attachment. -
FileContents(optional):
string(binary)
Title:
File Contents
The file contents of the attachment. -
FileName(optional):
string
Title:
File Name
Maximum Length:2048
The name of the file attached. -
FileUrl(optional):
string
Title:
File Url
The URL or web address of the attached file. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Update Date
The date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:255
The name of user who last updated the attachment. -
LastUpdatedByUserName(optional):
string
Title:
Last Updated By User
The user who last updated the attachment. -
links(optional):
array Items
Title:
Items
Link Relations -
Title(optional):
string
Title:
Title
The title of the attachment. -
UploadedFileContentType(optional):
string
Title:
Uploaded File Content Type
The content type of the attachment such as text/plain, or csv. -
UploadedFileLength(optional):
integer(int64)
Title:
File Size
The file length of the attachment in bytes. -
UploadedFileName(optional):
string
Title:
Uploaded File Name
The name of the attached file. -
UploadedText(optional):
string
Title:
Uploaded Text
The text that is entered along with the attachment. -
Uri(optional):
string
Title:
Uri
Maximum Length:4000
The type of universal resource identifier (URI) associated with the attachment. For example, URL. -
Url(optional):
string
Title:
Url
Maximum Length:4000
The URL associated with an attachment. -
UserName(optional):
string
Title:
User Name
Maximum Length:255
The user's unique user name for signing in to the fusion system.
Nested Schema : Project Attachment Revisions
Type:
array
Title:
Project Attachment Revisions
The project attachment accessor resource is used for displaying file-related information such as file name and file URL.
Show Source
Nested Schema : publicSectorProjectAttachments-ProjectAttachmentAccessor-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 that 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.