All URIs are relative to https://{subdomain}.syncromsp.com/api/v1
Method | HTTP request | Description |
---|---|---|
ticketsTicketIdWorksheetResultsGet | GET /tickets/{ticket_id}/worksheet_results | Returns a paginated list of Worksheet Results |
ticketsTicketIdWorksheetResultsIdDelete | DELETE /tickets/{ticket_id}/worksheet_results/{id} | Deletes a Worksheet Result |
ticketsTicketIdWorksheetResultsIdGet | GET /tickets/{ticket_id}/worksheet_results/{id} | Retrieves a Worksheet Result by ID |
ticketsTicketIdWorksheetResultsIdPut | PUT /tickets/{ticket_id}/worksheet_results/{id} | Updates a Worksheet Result |
ticketsTicketIdWorksheetResultsPost | POST /tickets/{ticket_id}/worksheet_results | Creates Worksheet Result |
ticketsTicketIdWorksheetResultsGet($ticket_id, $page)
Returns a paginated list of Worksheet Results
Required permissions: "Tickets - View Details" or "Tickets - View 'Their Ticket' Details (assigned to them)" Single-Customer Users can only access own tickets.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\WorksheetResultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ticket_id = 56; // int |
$page = 56; // int | Returns provided page of results, each 'page' contains 25 results
try {
$apiInstance->ticketsTicketIdWorksheetResultsGet($ticket_id, $page);
} catch (Exception $e) {
echo 'Exception when calling WorksheetResultApi->ticketsTicketIdWorksheetResultsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ticket_id | int | ||
page | int | Returns provided page of results, each 'page' contains 25 results | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ticketsTicketIdWorksheetResultsIdDelete($ticket_id, $id)
Deletes a Worksheet Result
Required permissions: "Tickets - View Details" or "Tickets - View 'Their Ticket' Details (assigned to them)" Single-Customer Users can only access own tickets.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\WorksheetResultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ticket_id = 56; // int |
$id = 56; // int |
try {
$apiInstance->ticketsTicketIdWorksheetResultsIdDelete($ticket_id, $id);
} catch (Exception $e) {
echo 'Exception when calling WorksheetResultApi->ticketsTicketIdWorksheetResultsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ticket_id | int | ||
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ticketsTicketIdWorksheetResultsIdGet($ticket_id, $id)
Retrieves a Worksheet Result by ID
Required permissions: "Tickets - View Details" or "Tickets - View 'Their Ticket' Details (assigned to them)" Single-Customer Users can only access own tickets.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\WorksheetResultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ticket_id = 56; // int |
$id = 56; // int |
try {
$apiInstance->ticketsTicketIdWorksheetResultsIdGet($ticket_id, $id);
} catch (Exception $e) {
echo 'Exception when calling WorksheetResultApi->ticketsTicketIdWorksheetResultsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ticket_id | int | ||
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ticketsTicketIdWorksheetResultsIdPut($ticket_id, $id, $body)
Updates a Worksheet Result
Required permissions: "Tickets - View Details" or "Tickets - View 'Their Ticket' Details (assigned to them)" Single-Customer Users can only access own tickets.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\WorksheetResultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ticket_id = 56; // int |
$id = 56; // int |
$body = new \VereTech\SyncroMSP_PHPclient\Client\Model\WorksheetResultsIdBody(); // \VereTech\SyncroMSP_PHPclient\Client\Model\WorksheetResultsIdBody |
try {
$apiInstance->ticketsTicketIdWorksheetResultsIdPut($ticket_id, $id, $body);
} catch (Exception $e) {
echo 'Exception when calling WorksheetResultApi->ticketsTicketIdWorksheetResultsIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ticket_id | int | ||
id | int | ||
body | \VereTech\SyncroMSP_PHPclient\Client\Model\WorksheetResultsIdBody | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ticketsTicketIdWorksheetResultsPost($ticket_id, $body)
Creates Worksheet Result
Required permissions: "Tickets - View Details" or "Tickets - View 'Their Ticket' Details (assigned to them)" Single-Customer Users can only access own tickets.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = VereTech\SyncroMSP_PHPclient\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\WorksheetResultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ticket_id = 56; // int |
$body = new \VereTech\SyncroMSP_PHPclient\Client\Model\TicketIdWorksheetResultsBody(); // \VereTech\SyncroMSP_PHPclient\Client\Model\TicketIdWorksheetResultsBody |
try {
$apiInstance->ticketsTicketIdWorksheetResultsPost($ticket_id, $body);
} catch (Exception $e) {
echo 'Exception when calling WorksheetResultApi->ticketsTicketIdWorksheetResultsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ticket_id | int | ||
body | \VereTech\SyncroMSP_PHPclient\Client\Model\TicketIdWorksheetResultsBody | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]