Administrator
- Administrator
- All Products
/api/v2/fwConfig
/api/v2/fwConfig/<id>
/api/v2/fwConfig/frs/<id>
If you use the fixed-width format name in the URI and the fixed-width format name includes a space, replace the space with/api/v2/fwConfig/name/<name>
/api/v2/fwConfig/name/my%20fixedwidth%20format
Field
| Type
| Description
|
---|---|---|
id
| String
| Fixed-width format ID.
|
name
| String
| Fixed-width format name.
|
description
| String
| Description of the fixed-width format.
|
createTime
| Date/time
| Time that the fixed-width format was created.
|
updateTime
| Date/time
| Last time that the fixed-width format was updated.
|
createdBy
| String
| User who created the fixed-width format.
|
updatedBy
| String
| User who last updated the fixed-width format.
|
lineSequential
| Boolean
| Whether each row ends with a newline character.
|
padBytes
| Int
| Number of bytes between the last column of one row and the first column of the next.
|
skipRows
| Int
| Number of rows to skip. You can skip blank or header rows.
|
nullChar
| String
| The character to represent a null value.
|
dateFormat
| String
| Default date format to use when a date format is not specified in the flat file connection.
|
nullCharType
| String
| Determines if the null character is single-byte or multibyte.
|
repeatNullChar
| Boolean
| Determines how to treat null characters in a single field.
|
stripTrailingBlank
| Boolean
| Determines how to treat trailing blanks in string values.
|
location
| String
| The project and folder that the fixedd-width file resides in.
|
columns
| String
| Includes the following attributes for each column:
|
GET <serverUrl>/api/v2/fwConfig/00001R29000000000002 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
Field
| Type
| Required
| Description
|
---|---|---|---|
id
| String
| Yes
| Fixed-width format ID.
|
name
| String
| Yes
| Fixed-width format name.
|
description
| String
| Description of the fixed-width format.
| |
containerId
| String
| ID of the project or folder to contain the linear taskflow.
If not included in request, the linear taskflow is created in the Default folder.
| |
lineSequential
| Boolean
| Yes
| Whether each row ends with a newline character.
|
padBytes
| Int
| Yes
| Number of bytes between the last column of one row and the first column of the next.
|
skipRows
| Int
| Yes
| Number of rows to skip. You can skip blank or header rows.
|
nullChar
| String
| Yes
| The character to represent a null value.
|
dateFormat
| String
| Yes
| Default date format to use when a date format is not specified in the flat file connection.
|
nullCharType
| String
| Yes
| Determines if the null character is single-byte or multibyte.
|
repeatNullChar
| Boolean
| Yes
| Determines how to treat null characters in a single field.
|
stripTrailingBlank
| Boolean
| Yes
| Determines how to treat trailing blanks in string values.
|
columns
| String
| Yes
| Includes the following attributes for each column:
|
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>