ReloadTable
General
URL
https://{host}/attunityenterprisemanager/api/v1/servers/{server}/tasks/{task}/tables?action=reload&schema={schema}&table={table}
Description
Reload a specific table.
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=reload&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_NOT_FL  | 
                            
                                 Failed to reload table {table} as Full Load is not enabled for task {task}.  | 
                            
                                 The table could not be reloaded because the task's Full Load replication option is not enabled.  | 
                        
| 
                                 500  | 
                            
                                 AEM_INVALID_TASK_NT_NTSUPPEP  | 
                            
                                 Failed to reload table as this operation is not supported with the File Channel source endpoint.  | 
                            
                                 The table could not be reloaded because the task's source endpoint is File Channel.  | 
                        
| 
                                 500  | 
                            
                                 AEM_RELOAD_TABLE_ERR  | 
                            
                                 Failed to reload table {schema}.{table} for replication task {task} on server {server}: {message}  | 
                            
                                 An error was encountered while trying to reload the specified table.  |