Update an Import

📘

Supported Regions and Base URLs

👍

Access and Registration

Authentication

Scope

bulk-imports:write

Body Request - Example

{
  "status": "CANCELED"
}

Body Response - Schema

200 OK (import detail)

ParameterTypeDescriptionRequired
idstringthe import unique identifierno
filenamestringthe name of the file that was submittedno
total_recordsintegerthe total number of records to processno
failed_recordsintegerthe number of records that failed to importno
completed_recordsintegerthe number of records imported successfully importedno
updated_bystringthe ID of the user/system who updated the importno
updated_atstringthe date when the import was updatedno
canceled_bystring or nullthe ID of the user/system who canceled the importno
canceled_atstring or nullthe date when the import was canceledno
statusstringThe status of the import.
Allowed values:
QUEUED, IN_PROGRESS
CANCELED, FAILED,
COMPLETED,
COMPLETED_WITH_ERRORS
no
typestringThe import type. Allowed values:
CREATE_USERS, UPDATE_USERS, DELETE_USERS
yes
created_bystringthe ID of the user who submitted the importno
created_atstringthe date when the import was submittedno
_linksobject"_links" subdivides into:

1 - "self" (object) - the URI of the imports list.
1.1 - "href" (object) - the URI value. Example: http://api-docs.talkdesk.org/bulk-imports/users

2 - "records" (object) - the URI of the import records.
2.1 - "href" (object) - the URI value
no

401 (missing authorization header), 403 (invalid authorization), 404 (import not found), 406 (accept format MIME type unsupported)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ano
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

🚧

Troubleshooting

If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.

Language
Credentials
Header
Click Try It! to start a request and see the response here!