Model Serve
- Model Serve
- 所有产品
/api/v2/fileRecord
フィールド
| タイプ
| 必須
| 説明
|
---|---|---|---|
file
| はい
| アップロードするファイルのコンテンツ。ファイルのコンテンツはUTF-8エンコードされたバイナリ形式にする必要があります。
| |
type
| String
| ○
| アップロードするファイルのタイプ。以下のいずれかの値を使用します。
|
URL: <serverUrl>/api/v2/fileRecord/ HTTP method: POST Content-Type:multipart/form-data;boundary=<boundary value> --<boundary value> Content-Disposition:form-data; name="file";filename="<filename.ext>";Content-Type:text/<xml|json> <content of the file you want to upload encoded as UTF-8> --<boundary value> Content-Disposition: form-data; name="type" <MAPPING | IMAGE> --<boundary value> Content-Disposition: form-data; name="icSessionId" <icSessionID returned from login resource> --<boundary value>--
フィールド
| タイプ
| 説明
|
---|---|---|
id
| String
| アップロードされたファイルのID。
このIDを使用して、masterTemplateリソースを使用したVisioテンプレートの作成または更新時にファイルを識別します。
|
orgId
| String
| 組織ID
|
name
| String
| ファイル名。
|
description
| String
| ファイルの説明。
|
createTime
| Date/Time
| ファイルが組織にアップロードされた時刻。
|
updateTime
| Date/Time
| ファイルの最終更新時刻。
|
createdBy
| String
| ファイルを最初にアップロードしたユーザー。
|
updatedBy
| String
| ファイルを最後に更新したユーザー。
|
type
| String
| ファイル種別。
|
size
| Int
| ファイルサイズ
|
attachTime
| String
| ファイルがVisioテンプレートに関連付けられた時刻。
|
/api/v2/fileRecord/<id>
URL: https://example.informatica.com/saas/api/v2/fileRecord/ HTTP method: POST Content-Type:multipart/form-data;boundary=243553118520053 --243553118520053 Content-Disposition:form-data; name="file";filename="<VisioTemplate.xml>";Content-Type:text/xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE Graph SYSTEM "graph.dtd"> <Graph Name="" Description="" UItype="" DlgSize=""> <Groups /> <Parameters> <Parameter Name="$EXTERNALID__C$" Label="" LabelWidth="" IsMandatory="True" DefaultValue="" Control="" Data="" Description="" /> <Parameter Name="$TGT$" Label="" LabelWidth="" IsMandatory="True" DefaultValue="" Control="Combo_Ctrl" Data="Targets" Description="" /> <Parameter Name="$GroupBy$" Label="" LabelWidth="" IsMandatory="True" DefaultValue="" Control="" Data="" Description="" /> <Parameter Name="$o_PERCENT_FLD__C$" Label="" LabelWidth="" IsMandatory="True" DefaultValue="" Control="" Data="" Description="" /> <Parameter Name="$SRC$" Label="" LabelWidth="" IsMandatory="True" DefaultValue="" Control="Combo_Ctrl" Data="Sources" Description="" /> </Parameters> <Node NameID="Source Definition" Name="$SRC$" Reusable="" Type="Source Definition" InstanceName="$SRC$" Description="" isParameterized="True"> <CustomProperty Name="Source Table" Value="$SRC$" isParameterized="True" /> <CustomProperty Name="Database Name" Value="" isParameterized="False" /> <CustomProperty Name="Owner Name" Value="" isParameterized="False" /> <CustomProperty Name="Business Name" Value="" isParameterized="False" /> <CustomProperty Name="Database Type" Value="" isParameterized="False" /> <CustomProperty Name="Is ShortCut" Value="False" isParameterized="False" /> </Node> . . . <Link Name="Sheet.7" FromNameID="Aggregator" ToNameID="Target Definition" MasterInputSet="False" isParameterized="False"> <Rule Text="Datatype:string" isParameterized="False" /> <Rule Text="EXCLUDE Named:AUTO__C (TO) AUTO__C" isParameterized="False" /> <Rule Text="Datatype:date/time" isParameterized="False" /> <Rule Text="Pattern:_o$" isParameterized="False" /> <Rule Text="Datatype:nstring" isParameterized="False" /> <Rule Text="Datatype:ntext" isParameterized="False" /> <Rule Text="Datatype:text" isParameterized="False" /> </Link> </Graph> --243553118520053 Content-Disposition: form-data; name="type" MAPPING --243553118520053 Content-Disposition: form-data; name="icSessionId" IV4wOrJmd6YUtmKa8t --243553118520053--