---
title: "POST /v1/{+parent}/importDataFiles"
method: POST
path: "/v1/{+parent}/importDataFiles"
tags: ["projects"]
---

# POST /v1/{+parent}/importDataFiles

`POST /v1/{+parent}/importDataFiles`

Creates an import data file.

## Path parameters

- `parent` string, required

## Query parameters

- `importDataFileId` string
- `requestId` string

## Request body

- ImportDataFile — A resource that represents a payload file in an import job.
  - `name` string — Output only. The name of the file.
  - `createTime` string, google-datetime — Output only. The timestamp when the file was created.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' — Output only. The state of the import data file.
  - `uploadFileInfo` UploadFileInfo — A resource that contains a URI to which a data file can be uploaded.
    - `uriExpirationTime` string, google-datetime — Output only. Expiration time of the upload URI.
    - `headers` object — Output only. The headers that were used to sign the URI.
    - `signedUri` string — Output only. Upload URI for the file.
  - `displayName` string — Optional. User-friendly display name. Maximum length is 63 characters.
  - `format` 'IMPORT_JOB_FORMAT_UNSPECIFIED' | 'IMPORT_JOB_FORMAT_RVTOOLS_XLSX' | 'IMPORT_JOB_FORMAT_RVTOOLS_CSV' | 'IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV' | 'IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV' | 'IMPORT_JOB_FORMAT_STRATOZONE_CSV' | 'IMPORT_JOB_FORMAT_DATABASE_ZIP' — Required. The payload format.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/migrationcenter.md) · [All operations](https://skmtc.dev/google/apis/migrationcenter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/migrationcenter/revisions/2a8b4eea0432/schema)
