MFTアーティファクトの作成
post
/mftapp/rest/v1/artifacts
リクエスト
サポートされるメディア・タイプ
- multipart/form-data
問合せのパラメータ
- previewModeFlag
-
型:
boolean
値は、プレビュー・モードがtrueであるかfalseであるかを示します
本文のパラメータ
タイプの本文:
ルート・スキーマ : /paths/~1artifacts/post/parameters/1/schema
- multipart/form-data
レスポンス
サポートされるメディア・タイプ
- application/json
200レスポンス
本文
ルート・スキーマ : MFT Artifacts result.
型:
object
タイトル:
MFT Artifacts result.
- failureResults
- successResults
ネストされたスキーマ : /paths/~1artifacts/post/responses/200/schema/properties/failureResults
型:
array
ネストされたスキーマ : /paths/~1artifacts/post/responses/200/schema/properties/successResults
型:
array
ネストされたスキーマ : /paths/~1artifacts/post/responses/200/schema/properties/failureResults/items
型:
object
- artifactCategory
-
型:
string
- artifactName
-
型:
string
- errorMessage
-
型:
string
ネストされたスキーマ : /paths/~1artifacts/post/responses/200/schema/properties/successResults/items
型:
object
- artifactCategory
-
型:
string
- artifactName
-
型:
string
- errorMessage
-
型:
string
500レスポンス
本文
ルート・スキーマ : /paths/~1artifacts/post/responses/500/schema
型:
object
- errorCode
-
型:
string
- errorKey
-
型:
string
- errorMessage
-
型:
string
application/jsonの例
{
"errorCode":"MFT-7441",
"errorKey":"MFT_UTILITY_COULD_NOT_SAVE_MDS_ARTIFACT",
"errorMessage":"Unable to create artifact."
}
例
次の例では、正常終了したリクエストのレスポンス本文のコンテンツを示しています(JSON形式)。
<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>