mainframeDatasetRecordType

Get all Mainframe Dataset record type

Securityapi_key
Request
query Parameters
mainframe_dataset_format_id
integer <int32>

The ID of the Mainframe Dataset format to get all Mainframe Dataset record types from

page_number
integer <int64>
Default: 1

The page number for which to get mainframe dataset record types. This will default to the first page if excluded

page_size
integer <int64>

The maximum number of objects to return. This will default to the DefaultApiPageSize setting if not provided

Responses
200

Success

400

Bad request

403

Forbidden access

404

Not found

get/mainframe-dataset-record-types
Response samples
application/json
{
  • "_pageInfo": {
    },
  • "responseList": [
    ]
}

Get Mainframe Dataset record type by ID

Securityapi_key
Request
path Parameters
mainframeDatasetRecordTypeId
required
integer <int32>

The ID of the Mainframe Dataset record type to get

Responses
200

Success

400

Bad request

401

Unauthorized access

404

Not found

get/mainframe-dataset-record-types/{mainframeDatasetRecordTypeId}
Response samples
application/json
{
  • "redefineCondition": "[EMP_TYPE]='P'"
}

Update Mainframe Dataset record type by ID

Securityapi_key
Request
path Parameters
mainframeDatasetRecordTypeId
required
integer <int32>

The ID of the Mainframe Dataset record type to update

Request Body schema: application/json
required

The updated Mainframe Dataset record type

redefineCondition
string

The 'redefine condition' for the record type.

type
string

The type of the field identified with mainframeDatasetFieldMetadataId.

Enum: "REDEFINED" "REDEFINES"
Responses
200

Success

400

Bad request

401

Unauthorized access

404

Not found

put/mainframe-dataset-record-types/{mainframeDatasetRecordTypeId}
Request samples
application/json
{
  • "redefineCondition": "[EMP_TYPE]='P'"
}
Response samples
application/json
{
  • "redefineCondition": "[EMP_TYPE]='P'"
}