# Create Mainframe Dataset format WARNING: The generated curl command is incorrect, so please refer to the Masking API guide for instructions on how to upload Mainframe Dataset files through the API Endpoint: POST /mainframe-dataset-formats Version: 5.1.47 Security: api_key ## Request fields (multipart/form-data): - `mainframeDatasetFormat` (string, required) The Mainframe Dataset format to be uploaded. The logical name of the Mainframe Dataset format will be exactly the name of this uploaded Mainframe Dataset file ## Response 201 fields (application/json): - `mainframeDatasetFormatId` (integer) The ID number of the Mainframe Dataset format. This field is auto-generated by the Masking Engine. Example: "3" - `mainframeDatasetFormatName` (string) The name of the Mainframe Dataset format, as inferred from the uploaded file. Example: "MainframeDatasetFormat.txt" ## Response 403 fields ## Response 409 fields