Create a MFT Artifact
post
                    /mftapp/rest/v1/artifacts
Request
Supported Media Types
                                - multipart/form-data
Query Parameters
                                - previewModeFlag
- 
                                            
Type:booleanValue depicts if preview mode is true or false
Body Parameter
                                A body of type:
                                    
                                    Root Schema : /paths/~1artifacts/post/parameters/1/schema
- multipart/form-data
Response
Supported Media Types
                                - application/json
200 Response 
                                Body
                                    Root Schema : MFT Artifacts result.
Type: 
objectTitle: 
MFT Artifacts result.- failureResults
- successResults
Nested Schema : /paths/~1artifacts/post/responses/200/schema/properties/failureResults
Type: 
arrayNested Schema : /paths/~1artifacts/post/responses/200/schema/properties/successResults
Type: 
arrayNested Schema : /paths/~1artifacts/post/responses/200/schema/properties/failureResults/items
Type: 
object- artifactCategory
- 
            
            
Type:string
- artifactName
- 
            
            
Type:string
- errorMessage
- 
            
            
Type:string
Nested Schema : /paths/~1artifacts/post/responses/200/schema/properties/successResults/items
Type: 
object- artifactCategory
- 
            
            
Type:string
- artifactName
- 
            
            
Type:string
- errorMessage
- 
            
            
Type:string
500 Response 
                                Body
                                    Root Schema : /paths/~1artifacts/post/responses/500/schema
Type: 
object- errorCode
- 
            
            
Type:string
- errorKey
- 
            
            
Type:string
- errorMessage
- 
            
            
Type:string
Example application/json
{
    "errorCode":"MFT-7441",
    "errorKey":"MFT_UTILITY_COULD_NOT_SAVE_MDS_ARTIFACT",
    "errorMessage":"Unable to create artifact."
}Examples
The following example shows the contents of the response body for a successful request in JSON format:
<mft-artifacts version="12.2.x.x"> <source> <ftp-embedded name="ES"> <generalProperties contentFolder="/scratch/filein" includeContentInSubfolder="false"/> <advancedProperties includeExcludePatternType="Wildcard"/> </ftp-embedded> </source> <target> <file name="File"> <generalProperties contentFolder="/scratch/fileout" retryInterval="30" retryCount="1" alwaysSaveModifiedFiles="false" propagateSourceSubfolders="false"/> <advancedProperties overwrite="true" concurrentThreshold="20" renameOnCompletion="false"> </advancedProperties> </file> </target> <transfer name="ES to File" priority="medium"> <source name="ES"> </source> <targets> <target name="File"> <postProcessingActions> <TransferNotification order="1" minFileSize="0" fileNamePattern="*" patternType="Wildcard" templateFile="/tmp/notifytestothervariables.eml"> <ContactsToNotify contactType="External" contactDetails="test@oracle.com"> </ContactsToNotify> </TransferNotification> </postProcessingActions> </target> </targets> </security> </security> </transfer> </mft-artifacts>