Table Requests
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint |
|---|---|---|
| SELECT | get_requests | |
| INSERT | ||
| UPDATE | ||
| UPSERT | ||
| DELETE | delete_request | |
| LOOKUP | get_request_details |
Examples
SSIS
Use ManagedEngine ServiceDesk Plus (Zoho) Connector in API Source component to read data or in API Destination component to read/write data:
Read from Requests table using API Source
| Optional Parameters | |
|---|---|
| MetaDetectionOrder | Default |
Read/write to Requests table using API Destination
| Optional Parameters | |
|---|---|
| MetaDetectionOrder | Default |
ODBC application
Use these SQL queries in your ODBC application data source:
List requests
This example shows how to list requests.
SELECT * FROM Requests
Read request details by ID
This example shows how to read extended information about a single request
SELECT * FROM Requests Where id=111112345
Delete request
This example shows how to delete a request by ID.
DELETE FROM Requests Where id=111112345
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List requests
This example shows how to list requests.
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Requests';
EXEC (@MyQuery) AT [LS_TO_MANAGEDENGINE_SERVICEDESK_PLUS_ZOHO_IN_GATEWAY];
Read request details by ID
This example shows how to read extended information about a single request
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Requests Where id=111112345';
EXEC (@MyQuery) AT [LS_TO_MANAGEDENGINE_SERVICEDESK_PLUS_ZOHO_IN_GATEWAY];
Delete request
This example shows how to delete a request by ID.
DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Requests Where id=111112345';
EXEC (@MyQuery) AT [LS_TO_MANAGEDENGINE_SERVICEDESK_PLUS_ZOHO_IN_GATEWAY];