Services relating to table imports

Supported Formats

json

GET /api/v2/table/imports
All Table Imports.

Supported Formats

json

Errors

Code Description
404 Not Found - The table import MUST be available to the current user.
422 Unprocessable Entity - The form data contains errors.
401 Unauthorized

Params

Param name Description
token
required

The token for user authentication.

Validations:

  • Must be a String


GET /api/v2/table/imports/:id
One Table Import.

Supported Formats

json

Errors

Code Description
422 Unprocessable Entity - The form data contains errors.
401 Unauthorized
404 Not Found

Params

Param name Description
token
required

The token for user authentication.

Validations:

  • Must be a String


GET /api/v2/table/imports/:id/download
Download File for Table Import.

Supported Formats

json

Errors

Code Description
422 Unprocessable Entity - The form data contains errors.
401 Unauthorized
404 Not Found

Params

Param name Description
token
required

The token for user authentication.

Validations:

  • Must be a String


POST /api/v2/table/imports
New Table Import.

Supported Formats

json

Errors

Code Description
404 Not Found - The table import MUST be available to the current user.
401 Unauthorized
422 Unprocessable Entity

Params

Param name Description
token
required

The token for user authentication.

Validations:

  • Must be a String

rp_table_upload
required

The table import.

Validations:

  • Must be a Hash

rp_table_upload[attachment]
required

The uploaded file.

Validations:

  • Must be a File

rp_table_upload[rp_cities_report_id]
required

The unique ID for the Audit Report.

Validations:

  • Must be a Integer

rp_table_upload[scope_rp_nyc_properties]
optional

Scope the NYC properties to the uploaded file?

Validations:

  • Must be one of: true, false.