機械翻訳について

SOAPサービスを使用した作業定義および作業定義操作の添付のアップロード方法

このトピックでは、メンテナンス作業定義およびメンテナンス作業定義操作のためのERPオブジェクト添付SOAPサービスの開始に関する詳細を示します。

作業定義ヘッダーのattachmentRows属性

作業定義ヘッダー情報のattachmentRows属性の表を次に示します。

属性名

タイプ

説明

UserKeyA

文字列

作業メソッド・コード。

UserKeyB

文字列

組織コード

UserKeyC

文字列

作業定義内部名。

UserKeyD

文字列

このキーを値#NULLとともに保持します。

UserKeyE

文字列

このキーを値#NULLとともに保持します。

AttachmentType

文字列

有効な値: FILE、TEXT、URL。

タイトル

文字列

添付のタイトル。

コンテンツ

文字列

次に例を示します。 実際のコンテンツは異なる場合があります。

URL: https://www.google.com

テキスト: 旋盤L123を使用。

ファイル: ソース・データをBase64文字列(Base64エンコーディング)にエンコードします。

作業定義ヘッダーのサンプル・ペイロード

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:erp="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<soapenv:Header/>
<soapenv:Body>
<typ:uploadAttachment>
<typ:entityName>WORK_DEFINITION</typ:entityName>
<typ:categoryName>MISC</typ:categoryName>
<typ:allowDuplicate>Yes</typ:allowDuplicate>
<!--Zero or more repetitions:-->
<typ:attachmentRows>
<!--Optional:-->
<erp:UserKeyA>MAINTENANCE</erp:UserKeyA>
<!--Optional:-->
<erp:UserKeyB>MNTALM</erp:UserKeyB>
<!--Optional:-->
<erp:UserKeyC>ReplaceSwitch</erp:UserKeyC>
<!--Optional:-->
<erp:UserKeyD>?</erp:UserKeyD>
<!--Optional:-->
<erp:UserKeyE>?</erp:UserKeyE>
<!--Optional:-->
<erp:AttachmentType>TEXT</erp:AttachmentType>
<!--Optional:-->
<erp:Title>Att01</erp:Title>
<!--Optional:-->
<erp:Content>Hello MNT Folks, Howdy?</erp:Content>            
</typ:attachmentRows>
</typ:uploadAttachment>
</soapenv:Body>
</soapenv:Envelope>

作業定義工程のattachmentRows属性

作業定義工程情報のattachmentRows属性の表を次に示します。

属性名

タイプ

説明

UserKeyA

文字列

作業メソッド・コード。

UserKeyB

文字列

組織コード

UserKeyC

文字列

作業定義内部名。

UserKeyD

文字列

バージョン番号

UserKeyE

文字列

工程連番

AttachmentType

文字列

有効な値: FILE、TEXT、URL。

タイトル

文字列

添付のタイトル。

コンテンツ

文字列

次に例を示します。 実際のコンテンツは異なる場合があります。

URL: https://www.google.com

テキスト: 旋盤L123を使用。

ファイル: ソース・データをBase64文字列(Base64エンコーディング)にエンコードします。

作業定義工程のサンプル・ペイロード

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:erp="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<soapenv:Header/>
<soapenv:Body>
<typ:uploadAttachment>
<typ:entityName>WORK_DEFINITION_OPERATION</typ:entityName>
<typ:categoryName>MISC</typ:categoryName>
<typ:allowDuplicate>Yes</typ:allowDuplicate>
<!--Zero or more repetitions:-->
<typ:attachmentRows>
<!--Optional:-->
<erp:UserKeyA>MAINTENANCE</erp:UserKeyA>
<!--Optional:-->
<erp:UserKeyB>MNTALM</erp:UserKeyB>
<!--Optional:-->
<erp:UserKeyC>ReplaceSwitch</erp:UserKeyC>
<!--Optional:-->
<erp:UserKeyD>1</erp:UserKeyD>
<!--Optional:-->
<erp:UserKeyE>10</erp:UserKeyE>
<!--Optional:-->
<erp:AttachmentType>TEXT</erp:AttachmentType>
<!--Optional:-->
<erp:Title>Att001</erp:Title>
<!--Optional:-->
<erp:Content>Hello World</erp:Content>
</typ:attachmentRows>
</typ:uploadAttachment>
</soapenv:Body>
</soapenv:Envelope>