Update an inspection attachment
patch
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionAttachments/{InsAttachmentKey}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
InsAttachmentKey: integer
The unique identifier for the inspection attachment.
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorInspectionAttachments-item
Type:
objectDiscriminator:
Show Source
AttachmentType-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the inspection attachment. -
AttachmentEntityName(optional):
string
Maximum Length:
255The entity name that is used by the attachments framework. -
AttachmentId(optional):
integer(int64)
The attachment ID from the common attachment table.
-
AttachmentType:
string
Maximum Length:
15The attachment is for an inspection, checklist, or checklist item. Values are INSP for inspection, CL for inspection checklist, or CLITEM for inspection checklist item attachments. -
ChecklistDescription(optional):
string
Title:
DescriptionMaximum Length:100The description of an inspection checklist. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The name that uniquely identifies an inspection checklist. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The name that uniquely identifies an inspection checklist item. -
CreatedByName(optional):
string
Title:
Uploaded ByThe name of the user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Uploaded OnThe date and time when the attachment was added. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of attachment file. -
FileName(optional):
string
Title:
File NameMaximum Length:255The file name of the attachment. -
FileSize(optional):
integer(int64)
Title:
File SizeThe file size of the attachment. -
FileType(optional):
string
Maximum Length:
100The column that is used to indicate the file type. -
InsAttachmentKey(optional):
integer(int64)
The unique identifier for the inspection attachment.
-
InsAttachmentPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection attachment. -
InspectionAgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency. -
InspectionAttachmentAccessor(optional):
array Attachment Accessors
Title:
Attachment AccessorsThe inspection attachment accessors resource is used to view the accessors that are associated with the attachment. -
InspectionAttachmentId(optional):
integer(int64)
The unique identifier of the attachment.
-
InspectionAttachmentType(optional):
string
Maximum Length:
15The attachment is for an inspection, checklist, or checklist item. Values are INSP for inspection, CL for inspection checklist, or CLITEM for inspection checklist item attachments. -
InspectionChklistKey(optional):
integer(int64)
The unique identifier of an inspection checklist.
-
InspectionChklistPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection checklist. -
InspectionClItemKey(optional):
integer(int64)
The unique identifier of an inspection checklist item.
-
InspectionClItemPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection checklist item. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The unique identifier of the inspection. -
InspectionKey(optional):
integer(int64)
The unique identifier of an inspection.
-
InspectionPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the attachment was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
UpdatedByName(optional):
string
Title:
Last Updated ByThe name of the user who last updated the attachment. -
Version(optional):
integer(int32)
The version of the file.
Nested Schema : Attachment Accessors
Type:
arrayTitle:
Attachment AccessorsThe inspection attachment accessors resource is used to view the accessors that are associated with the attachment.
Show Source
Nested Schema : publicSectorInspectionAttachments-InspectionAttachmentAccessor-item
Type:
Show Source
object-
AsyncTrackerId(optional):
string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId(optional):
integer(int64)
Title:
Attached Document IdThe unique identifier of the attachment document. -
AttachmentsRevision(optional):
array Attachment Revisions
Title:
Attachment RevisionsThe attachment revision resource is used to view the revisions that are associated with the accessor. -
CategoryName(optional):
string
Title:
CategoryMaximum Length:30The unique name given to the account attachment accessors, which makes the attachment functionality work in conjunction with the entity name. - ContentRepositoryFileShared(optional): boolean
-
CreatedBy(optional):
string
Title:
Created ByMaximum Length:255The user who created the attachment. -
CreatedByUserName(optional):
string
Title:
Created By User NameThe user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the attachment was created. -
DatatypeCode(optional):
string
Title:
TypeMaximum Length:30The datatype code of the attachment. -
Description(optional):
string
Title:
DescriptionMaximum Length:255The description of the attachment. -
DmDocumentId(optional):
string
Maximum Length:
255The document ID from which the attachment is created. -
DmFolderPath(optional):
string
Title:
Dm Folder PathMaximum Length:1000The folder path of the attachment. -
DmVersionNumber(optional):
string
Maximum Length:
255The document version number from which the attachment is created. -
ErrorStatusCode(optional):
string
Title:
Error Status CodeThe code that indicates the error status of the attachment. -
ErrorStatusMessage(optional):
string
Title:
Error Status MessageThe message that describes the error status of the attachment. -
ExpirationDate(optional):
string(date-time)
Title:
Expiration DateThe date of expiration of the attachment. -
FileContents(optional):
string(binary)
Title:
File ContentsThe file contents of the attachment. -
FileName(optional):
string
Title:
File NameMaximum Length:2048The name of the attached file. -
FileUrl(optional):
string
Title:
File UrlThe URL or web address of the attached file. -
FileWebImage(optional):
string(binary)
Title:
File Web ImageThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Update DateThe date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:255The user who last updated the attachment. -
LastUpdatedByUserName(optional):
string
Title:
Last Updated By UserThe user who last updated the attachment. -
links(optional):
array Items
Title:
ItemsLink Relations -
Title(optional):
string
Title:
TitleThe title of the attachment. -
UploadedFileContentType(optional):
string
Title:
Uploaded File Content TypeThe content type of the attachment such as plain text or comma-separated values (CSV) formats. -
UploadedFileLength(optional):
integer(int64)
Title:
File SizeThe file length of the attachment in bytes. -
UploadedFileName(optional):
string
Title:
Uploaded File NameThe name of the attached file. -
UploadedText(optional):
string
Title:
Uploaded TextThe text that is entered along with the attachment. -
Uri(optional):
string
Title:
UriMaximum Length:4000The type of universal resource identifier (URI) associated with the attachment. For example, URL. -
Url(optional):
string
Title:
UrlMaximum Length:4000The URL associated with an attachment. -
UserName(optional):
string
Title:
User NameMaximum Length:255The user's unique user name for signing in to the fusion system.
Nested Schema : Attachment Revisions
Type:
arrayTitle:
Attachment RevisionsThe attachment revision resource is used to view the revisions that are associated with the accessor.
Show Source
Nested Schema : publicSectorInspectionAttachments-InspectionAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object-
AttachedDocumentId(optional):
integer(int64)
The unique identifier of an attached document.
-
ContentId(optional):
string
Maximum Length:
80The 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:
128The format of the attachment. -
InDate(optional):
string(date-time)
The date when the file was attached.
-
links(optional):
array Items
Title:
ItemsLink Relations -
RevisionId(optional):
string
Maximum Length:
80The unique identifier of the attachment revision. -
RevLabel(optional):
string
Maximum Length:
80The 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 referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe 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 : publicSectorInspectionAttachments-item
Type:
objectDiscriminator:
Show Source
AttachmentType-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the inspection attachment. -
AttachmentEntityName(optional):
string
Maximum Length:
255The entity name that is used by the attachments framework. -
AttachmentId(optional):
integer(int64)
The attachment ID from the common attachment table.
-
AttachmentType:
string
Maximum Length:
15The attachment is for an inspection, checklist, or checklist item. Values are INSP for inspection, CL for inspection checklist, or CLITEM for inspection checklist item attachments. -
ChecklistDescription(optional):
string
Title:
DescriptionMaximum Length:100The description of an inspection checklist. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The name that uniquely identifies an inspection checklist. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The name that uniquely identifies an inspection checklist item. -
CreatedByName(optional):
string
Title:
Uploaded ByThe name of the user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Uploaded OnThe date and time when the attachment was added. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of attachment file. -
FileName(optional):
string
Title:
File NameMaximum Length:255The file name of the attachment. -
FileSize(optional):
integer(int64)
Title:
File SizeThe file size of the attachment. -
FileType(optional):
string
Maximum Length:
100The column that is used to indicate the file type. -
InsAttachmentKey(optional):
integer(int64)
The unique identifier for the inspection attachment.
-
InsAttachmentPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection attachment. -
InspectionAgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency. -
InspectionAttachmentAccessor(optional):
array Attachment Accessors
Title:
Attachment AccessorsThe inspection attachment accessors resource is used to view the accessors that are associated with the attachment. -
InspectionAttachmentId(optional):
integer(int64)
The unique identifier of the attachment.
-
InspectionAttachmentType(optional):
string
Maximum Length:
15The attachment is for an inspection, checklist, or checklist item. Values are INSP for inspection, CL for inspection checklist, or CLITEM for inspection checklist item attachments. -
InspectionChklistKey(optional):
integer(int64)
The unique identifier of an inspection checklist.
-
InspectionChklistPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection checklist. -
InspectionClItemKey(optional):
integer(int64)
The unique identifier of an inspection checklist item.
-
InspectionClItemPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection checklist item. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The unique identifier of the inspection. -
InspectionKey(optional):
integer(int64)
The unique identifier of an inspection.
-
InspectionPuid(optional):
string
Maximum Length:
480The persistent unique identifier for an inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the attachment was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
UpdatedByName(optional):
string
Title:
Last Updated ByThe name of the user who last updated the attachment. -
Version(optional):
integer(int32)
The version of the file.
Nested Schema : Attachment Accessors
Type:
arrayTitle:
Attachment AccessorsThe inspection attachment accessors resource is used to view the accessors that are associated with the attachment.
Show Source
Nested Schema : publicSectorInspectionAttachments-InspectionAttachmentAccessor-item
Type:
Show Source
object-
AsyncTrackerId(optional):
string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId(optional):
integer(int64)
Title:
Attached Document IdThe unique identifier of the attachment document. -
AttachmentsRevision(optional):
array Attachment Revisions
Title:
Attachment RevisionsThe attachment revision resource is used to view the revisions that are associated with the accessor. -
CategoryName(optional):
string
Title:
CategoryMaximum Length:30The unique name given to the account attachment accessors, which makes the attachment functionality work in conjunction with the entity name. - ContentRepositoryFileShared(optional): boolean
-
CreatedBy(optional):
string
Title:
Created ByMaximum Length:255The user who created the attachment. -
CreatedByUserName(optional):
string
Title:
Created By User NameThe user who created the attachment. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the attachment was created. -
DatatypeCode(optional):
string
Title:
TypeMaximum Length:30The datatype code of the attachment. -
Description(optional):
string
Title:
DescriptionMaximum Length:255The description of the attachment. -
DmDocumentId(optional):
string
Maximum Length:
255The document ID from which the attachment is created. -
DmFolderPath(optional):
string
Title:
Dm Folder PathMaximum Length:1000The folder path of the attachment. -
DmVersionNumber(optional):
string
Maximum Length:
255The document version number from which the attachment is created. -
ErrorStatusCode(optional):
string
Title:
Error Status CodeThe code that indicates the error status of the attachment. -
ErrorStatusMessage(optional):
string
Title:
Error Status MessageThe message that describes the error status of the attachment. -
ExpirationDate(optional):
string(date-time)
Title:
Expiration DateThe date of expiration of the attachment. -
FileContents(optional):
string(binary)
Title:
File ContentsThe file contents of the attachment. -
FileName(optional):
string
Title:
File NameMaximum Length:2048The name of the attached file. -
FileUrl(optional):
string
Title:
File UrlThe URL or web address of the attached file. -
FileWebImage(optional):
string(binary)
Title:
File Web ImageThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Update DateThe date and time when the attachment was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:255The user who last updated the attachment. -
LastUpdatedByUserName(optional):
string
Title:
Last Updated By UserThe user who last updated the attachment. -
links(optional):
array Items
Title:
ItemsLink Relations -
Title(optional):
string
Title:
TitleThe title of the attachment. -
UploadedFileContentType(optional):
string
Title:
Uploaded File Content TypeThe content type of the attachment such as plain text or comma-separated values (CSV) formats. -
UploadedFileLength(optional):
integer(int64)
Title:
File SizeThe file length of the attachment in bytes. -
UploadedFileName(optional):
string
Title:
Uploaded File NameThe name of the attached file. -
UploadedText(optional):
string
Title:
Uploaded TextThe text that is entered along with the attachment. -
Uri(optional):
string
Title:
UriMaximum Length:4000The type of universal resource identifier (URI) associated with the attachment. For example, URL. -
Url(optional):
string
Title:
UrlMaximum Length:4000The URL associated with an attachment. -
UserName(optional):
string
Title:
User NameMaximum Length:255The user's unique user name for signing in to the fusion system.
Nested Schema : Attachment Revisions
Type:
arrayTitle:
Attachment RevisionsThe attachment revision resource is used to view the revisions that are associated with the accessor.
Show Source
Nested Schema : publicSectorInspectionAttachments-InspectionAttachmentAccessor-AttachmentsRevision-item
Type:
Show Source
object-
AttachedDocumentId(optional):
integer(int64)
The unique identifier of an attached document.
-
ContentId(optional):
string
Maximum Length:
80The 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:
128The format of the attachment. -
InDate(optional):
string(date-time)
The date when the file was attached.
-
links(optional):
array Items
Title:
ItemsLink Relations -
RevisionId(optional):
string
Maximum Length:
80The unique identifier of the attachment revision. -
RevLabel(optional):
string
Maximum Length:
80The 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 referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.