Create an attachment
/fscmRestApi/resources/11.13.18.05/productConcepts/{ConceptId}/child/ConceptStructure/{ConceptStructureId}/child/Attachments
Request
-
ConceptId(required): integer(int64)
Value that uniquely identifies the concept.
-
ConceptStructureId(required): integer(int64)
Value that uniquely identifies the concept structure line item.
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
- application/json
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAn identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Name of the category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the document from which the attachment is created. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path where the attachment resides. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the document version from which the attachment is created. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents of the attached document expire. -
FileContents: string
(byte)
Title:
File ContentsContents of the attached document. -
FileName: string
Title:
File NameMaximum Length:2048Name of the file that is attached. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) that locates the attachment. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeSize of the attached file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attached file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) of a topology manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) of a web page type attachment.
Response
- application/json
Default Response
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAn identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Name of the category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attached document. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueLogin that the user used when creating the document. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attached document. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the document from which the attachment is created. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path where the attachment resides. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the document version from which the attachment is created. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents of the attached document expire. -
FileContents: string
(byte)
Title:
File ContentsContents of the attached document. -
FileName: string
Title:
File NameMaximum Length:2048Name of the file that is attached. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) that locates the attachment. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the user most recently updated the attached document. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who last updated the attached document. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueLogin that the user used when updating the document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeSize of the attached file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attached file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) of a topology manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) of a web page type attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Login that the user used when adding or modifying the attachment.
arrayLinksobject-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
This example describes how to upload an attachment.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/productConcepts/ConceptId/child/ConceptStructure/ConceptStructureId/child/Attachments"
Example 1 Request Body
The following example includes the contents of the request body in JSON format to add a text attachment to the concept. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{
"DatatypeCode": "TEXT",
"Title": "Sample Text",
"Description": "Sample Text Description ",
"UploadedText": "This is a sample text",
"CategoryName": "MISC"
}
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{
"AttachedDocumentId": 300100255090211,
"LastUpdateDate": "2020-09-15T16:45:39.682+00:00",
"LastUpdatedBy": "PRODUCT_MANAGER",
"DatatypeCode": "TEXT",
"FileName": "This is a sample text",
"DmFolderPath": null,
"DmDocumentId": "UCMFA00324893",
"DmVersionNumber": "324893",
"Url": null,
"CategoryName": "MISC",
"UserName": null,
"Uri": null,
"FileUrl": "/content/conn/FusionAppsContentRepository/uuid/dDocID%3a324893?XFND_SCHEME_ID=1&XFND_CERT_FP=FB2E86AA6D40DD38F13291960FBC5081C9875424&XFND_RANDOM=-3158588809257431426&XFND_EXPIRES=1600188940402&XFND_SIGNATURE=JxFGOLnxIyPPQr1X2UcHEL196mTQVUq9GbPkkjw8gkxOgs0rXt1pSbnelHVM1NK9g8wcof1rDjx2pzXDNVJmhnFnhkgDhbID17gtX1plu7ZPBLsr7rCtPIJJY6zuxBNqPMVqjH3BUiczv-nasIOMkSyG2~aHrsAjah~~DkUqJHTMotN8-49gAmLWySiUvv~n0qNN7hp-zlvbzqya3KUk~NjAoJG~7c9QUOtXq-08qWz1diEhjWFM9DsrH0pflKzUcMWSDe4WKHRklhJs~S2Qqh4FjVtgE9~WVyomVDYH9gV1AXU-gePU2rSCWGHuj2FSyUjAqw1K0HInIgMfvA-MUw__&Id=324893&download",
"UploadedText": null,
"UploadedFileContentType": "text/plain",
"UploadedFileLength": 24,
"UploadedFileName": "Sample Text-ca1b9614-46f6-4644-9d36-b60eb671f04d.txt",
"ContentRepositoryFileShared": "false",
"Title": "Sample Text",
"Description": "Sample Text Description ",
"ErrorStatusCode": null,
"ErrorStatusMessage": null,
"CreatedBy": "PRODUCT_MANAGER",
"CreationDate": "2020-09-15T16:45:39+00:00",
"ExpirationDate": null,
"LastUpdatedByUserName": "Product Manager",
"CreatedByUserName": "Product Manager",
"AsyncTrackerId": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06230000000EACED00057708000110F0891A0622",
"name": "Attachments",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06230000000EACED00057708000110F0891A0622",
"name": "Attachments",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862",
"name": "ConceptStructure",
"kind": "item"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06230000000EACED00057708000110F0891A0622/enclosure/FileContents",
"name": "FileContents",
"kind": "other"
}
]
}
Example 2 Request Body
The following example includes the contents of the request body in JSON format to add a file attachment to the concept. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{
"DatatypeCode": "FILE",
"Title": "Sample Image",
"Description": "Sample Image Description ",
"FileName": "ImageFile.png",
"UploadedFileContentType" : "image/png",
"CategoryName": "MISC",
"FileContents": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAFICAYAAADkh8CnAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAGD1JREFUeNrs3euVFMcZBuAZ9sJPKQNJEUiKABMBEIFNBDIRYCKQiUAoAokIZ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ACA0A4AAEI7AAAgtAMAgNAOAAAI7QAAgNAOAABCOwAAsGWHDkHvfncIAADo03K1WjkKAAAwYspjAABAaAcAAIR2AAAQ2gEAAKEdAAAQ2gEAQGgHAACEdgAAENoBAAChHQAAENoBAEBoBwAAhHYAAEBoBwAAoR0AABDaAQBAaAcAAIR2AABAaAcAAKEdAAAQ2gEAQGgHAACEdgAAQGgHAAChHQAAENoBAAChHQAAhHYAAEBoBwAAoR0AABDaAQAAoR0AAIR2AABAaAcAAKEdAAAQ2gEAAKEdAACEdgAAQGgHAACEdgAAENoBAAChHQAAhHYAAEBoBwAAhHYAABDaAQAAoR0AAIR2AABAaAcAAIR2AAAQ2gEAAKEdAAAQ2gEAQGgHAACEdgAAENoBAAChHQAAENoBAEBoBwAAhHYAABDaAQAAoR0AABDaAQBAaAcAAIR2AABAaAcAAKEdAAAQ2gEAQGgHAACEdgAAQGgHAAChHQAAENoBAEBoBwAAhHYAAEBoBwAAoR0AABDaAQAAoR0AAIR2AABAaAcAAKEdAAAQ2gEAgJb+J8AAHdMchbZYqmQAAAAASUVORK5CYII="
}
Example 2 Response Body
The following example includes the contents of the response body in JSON format to add an URL attachment to the concept:
{
"AttachedDocumentId": 300100255090213,
"LastUpdateDate": "2020-09-15T16:48:09.423+00:00",
"LastUpdatedBy": "PRODUCT_MANAGER",
"DatatypeCode": "FILE",
"FileName": "ImageFile.png",
"DmFolderPath": null,
"DmDocumentId": "UCMFA00324895",
"DmVersionNumber": "324895",
"Url": null,
"CategoryName": "MISC",
"UserName": null,
"Uri": null,
"FileUrl": "/content/conn/FusionAppsContentRepository/uuid/dDocID%3a324895?XFND_SCHEME_ID=1&XFND_CERT_FP=FB2E86AA6D40DD38F13291960FBC5081C9875424&XFND_RANDOM=-4609286019827814390&XFND_EXPIRES=1600189090255&XFND_SIGNATURE=fbnMm1j39qWBe-QonyOvWFQMiKiZhZteELJlnx0u7LU~oaUuXwJrNfZQAFvnap9JxUvw06Q4xQTFpXhpfwGNPyRMPib5ZJhpvLL3O~IR~VgWx8khOnDqcDqNwOzXVlH4ribsiNEDsDycFISXdqbgCsJ9jZI6SeNA1dQ~tca~7~aYh35XPjmrIsp8gBVzhf7jh8xAWHV1qrN0NPEduLx4NvZQRDVGNzFU5K7uQCM2ufVqRUnaJwHBBEMFEvBIHbeW~5voE7~ZAJBPPRRtosFmp3qhmMj2Ye2UB3dtrZvuUqN-nCU~ZfJhAh0P4rgwuhIGV9WLikOlkad8N~pc0kwDqg__&Id=324895&download",
"UploadedText": null,
"UploadedFileContentType": "image/png",
"UploadedFileLength": 6320,
"UploadedFileName": "ImageFile.png",
"ContentRepositoryFileShared": "false",
"Title": "Sample Image",
"Description": "Sample Image Description",
"ErrorStatusCode": null,
"ErrorStatusMessage": null,
"CreatedBy": "PRODUCT_MANAGER",
"CreationDate": "2020-09-15T16:48:09+00:00",
"ExpirationDate": null,
"LastUpdatedByUserName": "Product Manager",
"CreatedByUserName": "Product Manager",
"AsyncTrackerId": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06250000000EACED00057708000110F0891A0624",
"name": "Attachments",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06250000000EACED00057708000110F0891A0624",
"name": "Attachments",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862",
"name": "ConceptStructure",
"kind": "item"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06250000000EACED00057708000110F0891A0624/enclosure/FileContents",
"name": "FileContents",
"kind": "other"
}
]
}
Example 3 Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{
"DatatypeCode": "WEB_PAGE",
"Title": "Oracle Site",
"Description": "Sample URL Description ",
"Url": "http://www.example.com",
"CategoryName": "MISC"
}
Example 3 Response Body
The following example includes the contents of the response body in JSON format:
{
"AttachedDocumentId": 300100255090215,
"LastUpdateDate": "2020-09-15T16:49:00.070+00:00",
"LastUpdatedBy": "PRODUCT_MANAGER",
"DatatypeCode": "WEB_PAGE",
"FileName": null,
"DmFolderPath": "",
"DmDocumentId": null,
"DmVersionNumber": null,
"Url": "http://www.example.com",
"CategoryName": "MISC",
"UserName": null,
"Uri": null,
"FileUrl": null,
"UploadedText": null,
"UploadedFileContentType": null,
"UploadedFileLength": null,
"UploadedFileName": null,
"ContentRepositoryFileShared": "false",
"Title": "Oracle Site",
"Description": "Sample URL Description",
"ErrorStatusCode": null,
"ErrorStatusMessage": null,
"CreatedBy": "PRODUCT_MANAGER",
"CreationDate": "2020-09-15T16:49:00+00:00",
"ExpirationDate": null,
"LastUpdatedByUserName": "Product Manager",
"CreatedByUserName": "Product Manager",
"AsyncTrackerId": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06270000000EACED00057708000110F0891A0626",
"name": "Attachments",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06270000000EACED00057708000110F0891A0626",
"name": "Attachments",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862",
"name": "ConceptStructure",
"kind": "item"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/productConcepts/300100250840675/child/ConceptStructure/300100254759862/child/Attachments/00020000000EACED00057708000110F0891A06270000000EACED00057708000110F0891A0626/enclosure/FileContents",
"name": "FileContents",
"kind": "other"
}
]
}