OAuthConsumerKeys
Create, update, delete, and query information on OAuth keys distributed by the application.
Table Specific Information
Select
You can query the OAuth Consumer Keys table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM [OAuth Consumer Keys] WHERE [Consumer Key Name] LIKE '%facebook%' AND [Date Created] > '2017-10-09'
Insert
Create an OAuth Consumer Key by specifying any writable column.
INSERT INTO [OAuth Consumer Keys] ([Consumer Key Name],[Consumer Key],[Consumer Secret]) VALUES ('New','dfvnspidn','223bbcsubd')
Update
You can update any OAuth Consumer Key entry column that is writable, by specifying the Id.
UPDATE [OAuth Consumer Keys] SET [Consumer Key Name] = 'Updated' WHERE Id = 'Test123'
Delete
Remove an OAuth Consumer Key by specifying the Id.
DELETE FROM [OAuth Consumer Keys] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the OAuth key. |
User | String | True |
The user name of the user the key has been assigned to. |
AssignedUserId | String | False |
The Id of the user the key has been assigned to. |
ConsumerKeyName | String | False |
Name assigned to the key |
ConsumerKey | String | False |
Key value used in the OAuth 1.0 authentication with SuiteCRM |
ConsumerSecret | String | False |
Secret used in the OAuth 1.0 authentication with SuiteCRM |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
DateCreated | Datetime | True |
The date the record was created. |
DateModified | Datetime | True |
The date the record was last modified. |
Deleted | Bool | False |
The record deletion indicator. |
Description | String | False |
Description for the OAuth key |
ModifiedById | String | True |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The name of the user who last modified the record. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |