Update Supplemental Table
/rest/api/v1.3/folders/{folderName}/suppData/{suppTableName}
Request
-
folderName: string
The name of the folder where the supplemental table is located.
-
suppTableName: string
The name of the supplemental table to update.
object
Update Supplemental Data Table Request
-
folderName:
string
The name of the folder where the supplemental table is located.
-
tableName:
string
The name of the supplemental table to update.
Response
- application/json
Default Response
object
Update Supplemental Data Table Response
-
message:
string
Message: Supplemental Table has been updated will be displayed
-
status:
boolean
true or false
Examples
Update a Supplemental table's properties.
FIELDS | DESCRIPTION |
---|---|
Authorization | <AUTH_TOKEN> |
Content-Type | application/json |
Sample Request Body
{ "folderName": "Folder_1", "tableName": "Supp_Table_1" }
Sample response: Success
{ "message": "Supplemental Table has been updated", "status": true }
Sample failure responses:
If a supplemental table with the same name in the specified folder already exists:
{ "type": "", "title": "Table already exists", "errorCode": "TABLE_ALREADY_EXISTS", "detail": "Supplemental Table for given name [Supp_Table1 ] already exists in folder [Folder1]", "errorDetails": [] }
If an invalid character is specified for the supplemental table name:
{ "type": "", "title": "Invalid request parameters", "errorCode": "INVALID_PARAMETER", "detail": "Invalid characters in the Table Name", "errorDetails": [] }
If an invalid character is specified for the folder name:
{ "type": "", "title": "Invalid request parameters", "errorCode": "INVALID_PARAMETER", "detail": "Invalid characters in the Folder Name", "errorDetails": [] }
If more than 100 characters are specified for the folder name:
{ "type": "", "title": "Invalid request parameters", "errorCode": "INVALID_PARAMETER", "detail": "Max Length of folder name allowed: 100", "errorDetails": [] }
If more than 100 characters are specified for the supplemental table name:
{ "type": "", "title": "Invalid request parameters", "errorCode": "INVALID_PARAMETER", "detail": "Max Length of table name allowed: 100", "errorDetails": [] }
If the folder name specified does not exist:
{ "type": "", "title": "Folder not found", "errorCode": "FOLDER_NOT_FOUND", "detail": "Folder name [Folder1] does not exist", "errorDetails": [] }
If the supplemental table name specified does not exist:
{ "type": "", "title": "Table not found", "errorCode": "TABLE_NOT_FOUND", "detail": "No Supplemental Table found for given name [Supp_Table1 ]", "errorDetails": [] }
If the folder name in the request payload does not exist:
{ "type": "", "title": "Folder not found", "errorCode": "FOLDER_NOT_FOUND", "detail": "Folder name [Folder1] does not exist", "errorDetails": [] }
If in the request URL the supplemental table name specified is found, but the folder name is not found:
{ "type": "", "title": "Table not found", "errorCode": "TABLE_NOT_FOUND", "detail": "No Supplemental Table found for given name [mySupplementalTable ]", "errorDetails": [] }