B2B Gateway
- B2B Gateway
- 所有产品
/api/v2/fwConfig
/api/v2/fwConfig/<id>
/api/v2/fwConfig/frs/<id>
URIに固定幅形式名を使用し、固定幅形式名にスペースが含まれる場合は、スペースを/api/v2/fwConfig/name/<name>
/api/v2/fwConfig/name/my%20fixedwidth%20format
フィールド
| タイプ
| 説明
|
---|---|---|
id
| String
| 固定幅形式のID。
|
name
| String
| 固定幅形式名。
|
description
| String
| 固定幅形式の説明。
|
createTime
| Date/Time
| 固定幅形式が作成された時刻。
|
updateTime
| Date/Time
| 固定幅形式が最後に更新された時刻。
|
createdBy
| String
| 固定幅形式を作成したユーザー。
|
updatedBy
| String
| 固定幅形式を最後に更新したユーザー。
|
lineSequential
| Boolean
| 各行が改行で終わるかどうかを示します。
|
padBytes
| Int
| 行の最後のカラムと次の行の最初のカラムの間のバイト数。
|
skipRows
| Int
| スキップする行数。空白やヘッダー行をスキップできます。
|
nullChar
| String
| NULL値を表す文字。
|
dateFormat
| String
| 日付形式がフラットファイル接続で指定されていない場合に使用する、デフォルトの日付形式。
|
nullCharType
| String
| NULL文字がシングルバイトかマルチバイトかを決定します。
|
repeatNullChar
| Boolean
| 単一フィールドでのNULL文字の処理方法を決定します。
|
stripTrailingBlank
| Boolean
| 文字列値内の末尾にある空白の処理方法を決定します。
|
location
| 文字列
| 固定幅ファイルが存在するプロジェクトとフォルダ。
|
columns
| String
| 各カラムに次の属性を含めます。
|
GET <serverUrl>/api/v2/fwConfig/00001R29000000000002 Content-type: application/json Accept: application/json icSessionId: <icSessionId>
{ "@type": "fwConfig", "id": "00001R29000000000002", "orgId": "00001R", "name": "item", "description": "", "createTime": "2016-10-06T17:08:09.000Z", "updateTime": "2016-10-06T17:08:09.000Z", "createdBy": "org1@infa.com", "updatedBy": "org1@infa.com", "lineSequential": true, "padBytes": 0, "skipRows": 0, "nullChar": "*", "nullCharType": "ASCII", "repeatNullChar": false, "stripTrailingBlank": false, "location": Default\\MyProject "dateFormat": "", "columns": [ { "@type": "fwColumn", "name": "COLUMN_0", "nativeType": "string", "precision": 1, "physicalLength": 0, "scale": 0 }, { "@type": "fwColumn", "name": "COLUMN_1", "nativeType": "string", "precision": 9, "physicalLength": 0, "scale": 0 }, { "@type": "fwColumn", "name": "COLUMN_2", "nativeType": "string", "precision": 10, "physicalLength": 0, "scale": 0 } ] }
/api/v2/fwConfig
https://na1.dm-us.informaticacloud.com/diUI/products/integrationDesign/main/Explore/dH2DuGJYda7ijgW4Sm32sR
/api/v2/fwConfig/<id>
Update-Mode=PARTIAL
フィールド
| タイプ
| 必須
| 説明
|
---|---|---|---|
id
| String
| ○
| 固定幅形式のID。
|
name
| String
| ○
| 固定幅形式名。
|
description
| String
| 固定幅形式の説明。
| |
containerId
| String
| リニアタスクフローを含めるためのプロジェクトまたはフォルダのID。
要求に含まれていない場合、リニアタスクフローはDefaultフォルダに作成されます。
| |
lineSequential
| Boolean
| はい
| 各行が改行で終わるかどうかを示します。
|
padBytes
| Int
| ○
| 行の最後のカラムと次の行の最初のカラムの間のバイト数。
|
skipRows
| Int
| ○
| スキップする行数。空白やヘッダー行をスキップできます。
|
nullChar
| String
| ○
| NULL値を表す文字。
|
dateFormat
| String
| ○
| 日付形式がフラットファイル接続で指定されていない場合に使用する、デフォルトの日付形式。
|
nullCharType
| String
| ○
| NULL文字がシングルバイトかマルチバイトかを決定します。
|
repeatNullChar
| Boolean
| はい
| 単一フィールドでのNULL文字の処理方法を決定します。
|
stripTrailingBlank
| Boolean
| はい
| 文字列値内の末尾にある空白の処理方法を決定します。
|
columns
| String
| ○
| 各カラムに次の属性を含めます。
|
POST <serverURL>/api/v2/fwConfig/00000103000000000004 Content-Type: application/json Accept: application/json { "@type": "fwConfig", "name": "FW_FILE_CONFIG_1", "description": "Test description", "lineSequential": false, "padBytes": 1, "skipRows": 2, "nullChar": "*", "nullCharType": "ASCII", "repeatNullChar": false, "stripTrailingBlank": false, "columns": [ { "@type": "fwColumn", "name": "ASCII", "nativeType": "string", "precision": 10 } ] }
/api/v2/fwConfig/<id>