Method UserTableInsertRecord
UserTableInsertRecord(String, String, List<String>)
Inserts a single row into a user table
Declaration
void UserTableInsertRecord(string connectionId, string userTable, List<string> record)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | userTable | Name of the user table |
System.Collections.Generic.List<System.String> | record | List of column values to insert |
Examples
POST https://YourServerName/InfoShare/Json/UserTable/UserTableInsertRecord
This example shows how to insert a row into a user table.{
"connectionId": "bab1b851-8a85-47be-8e13-8179339fcc8f",
"userTable": "UserTable_Test1",
"record": [ "row3_col1", "row3_col2", "row3_col3", null ]
}
Response:
{}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Table name '{userTable}' is invalid. Allowed characters are: {allowedCharacters} (10184) |
ServiceException | Column value too long (10213) |
ServiceException | Table name '{userTable}' does not exist (10219) |
ServiceException | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |