ResumeTable
General
URL
https://{host}/attunityenterprisemanager/api/v1/servers/{server}/tasks/{task}/tables?action=ResumeTable&schema={schema}&table={table}
Description
A table that was suspended due to errors can be unsuspended once the errors are resolved.
HTTP method
POST
Required user role
See Required Enterprise Manager permissions.
Request parameters
Location | Name | Required | Example |
---|---|---|---|
URL |
Host [string] |
Yes |
computer.network.net |
URL |
ServerName [string] |
Yes |
myrepsrv1 |
URL |
TaskName [string] |
Yes |
SalesDBBackup |
URL |
Schema [string] |
Yes |
dbo |
URL |
Table [string] |
Yes |
employeelist |
Header |
EnterpriseManager.APISessionID [string] |
Yes |
wCo0_KvjEUFROvfHF5KGrw |
Header |
Content-Length |
Yes |
Content-Length: 0 Note: The specified value must be "0". |
cURL example
curl -i -k -X POST --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" --header "Content-Length: 0" "https://computer.network.net/attunityenterprisemanager/api/v1/servers/
myrepsrv1/tasks/SalesDBBackup/tables?action=ResumeTable&schema=dbo&table=employeelist"
Response
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Content-Length: 0
Content-Type: application/json; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Date: Tue, 24 Jan 2017 13:34:38 GMT
Error response
HTTP Code | Enterprise Manager Code | Text | Description |
---|---|---|---|
500 |
AEM_INVALID_TASK_NT_NTSUPPEP |
Failed to unsuspend table as this operation is not supported with the File Channel source endpoint. |
The table could not be unsuspend because the task's source endpoint is File Channel. |
500 |
AEM_UNSUSPEND_TABLE_ERR |
Failed to unsuspend table {schema}.{table} for replication task {task} on server {server}: {message} |
An error was encountered while trying to unsuspend the specified table. |