UploadInspectionResultAttachment
Upload a new file or update content to an existing file.
Input
Name | Type | Accepts Input Streams | Description |
IpEventId | Integer | False | Value that uniquely identifies the inspection event. |
AsyncTrackerId | String | False | An identifier used for tracking the uploaded files. |
AttachedDocumentId | Integer | False | Value that uniquely identifies the attachment of a work order. |
CategoryName | String | False | Category of the attachment. |
ContentRepositoryFileShared | Boolean | False | If true, then the attachment is shared. |
DatatypeCode | String | False | Abbreviation that identifies the data type.
The default value is FILE. |
Description | String | False | Description of the attachment. |
DmDocumentId | String | False | Unique document identification of the attachment. |
DmFolderPath | String | False | Folder path of the attachment. |
DmVersionNumber | String | False | Number that identifies the current version of the attachment. |
DownloadInfo | String | False | JSON object represented as a string containing information. |
ErrorStatusCode | String | False | Abbreviation that identifies the error code. |
ErrorStatusMessage | String | False | Text of the error message. |
ExpirationDate | Datetime | False | Date when the contents in the attachment expire. |
FileLocation | String | False | File location on the desktop. |
FileName | String | False | File name of the attachment. |
FileUrl | String | False | URL (Uniform Resource Locator) of the attachment. |
Title | String | False | Title of the attachment. |
Uri | String | False | URI (Uniform Resource Identifier) that identifies the attachment. |
Url | String | False | URL (Uniform Resource Locator) that locates the attachment. |
Content | String | True | The content as InputStream to be uploaded when LocalFilePath or FolderPath is not specified. |
Result Set Columns
Name | Type | Description |
AsyncTrackerId | String | An identifier used for tracking the uploaded files. |
AttachedDocumentId | Integer | Value that uniquely identifies the attachment of a work order. |
CategoryName | String | Category of the attachment. |
ContentRepositoryFileShared | Boolean | If true, then the attachment is shared. |
CreatedBy | String | User who created the attachment. |
CreatedByUserName | String | Login that the user used when creating the attachment. |
CreationDate | Datetime | Date when the user created the attachment record. |
DatatypeCode | String | Abbreviation that identifies the data type. |
Description | String | Description of the attachment. |
DmDocumentId | String | Unique document identification of the attachment. |
DmFolderPath | String | Folder path of the attachment. |
DmVersionNumber | String | Number that identifies the current version of the attachment. |
DownloadInfo | String | JSON object represented as a string containing information . |
ErrorStatusCode | String | Abbreviation that identifies the error code. |
ErrorStatusMessage | String | Text of the error message. |
ExpirationDate | Datetime | Date when the contents in the attachment expire. |
FileContents | Byte | Contents of the attachment. |
FileName | String | File name of the attachment. |
FileUrl | String | URL (Uniform Resource Locator) of the attachment. |
FileWebImage | Byte | The base64 encoded image of the file displayed. |
LastUpdateDate | Datetime | Date and time when the user most recently updated the document. |
LastUpdatedBy | String | Login of the user who most recently updated the document. |
LastUpdatedByUserName | String | Login that the user used when updating the document . |
Links | String | The link relations associated with the resource instance. |
Title | String | Title of the attachment. |
UploadedFileContentType | String | Content type of the attachment. |
UploadedFileLength | Integer | Length of the attachment file. |
UploadedFileName | String | Name of the attachment file. |
UploadedText | String | Text of the attachment. |
Uri | String | URI (Uniform Resource Identifier) that identifies the attachment. |
Url | String | URL (Uniform Resource Locator) that locates the attachment. |
UserName | String | Login that the user used when adding or modifying the attachment. |