All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| stuartCancelJob | DELETE /api/v1.0/stuart/jobs/{jobId} | |
| stuartGetJob | GET /api/v1.0/stuart/jobs/{jobId} | |
| stuartGetStuartSettings | GET /api/v1.0/stuart/settings/{storeId} | |
| stuartPostStuartSettings | POST /api/v1.0/stuart/settings/{storeId} |
object stuartCancelJob($job_id, $store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StuartApi(
// 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
);
$job_id = 56; // int |
$store_id = 56; // int |
try {
$result = $apiInstance->stuartCancelJob($job_id, $store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StuartApi->stuartCancelJob: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| job_id | int | ||
| store_id | int |
object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiResultJobResponse stuartGetJob($job_id, $store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StuartApi(
// 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
);
$job_id = 56; // int |
$store_id = 56; // int |
try {
$result = $apiInstance->stuartGetJob($job_id, $store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StuartApi->stuartGetJob: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| job_id | int | ||
| store_id | int |
\Flipdish\Client\Models\RestApiResultJobResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiResultStuartSettings stuartGetStuartSettings($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StuartApi(
// 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
);
$store_id = 56; // int |
try {
$result = $apiInstance->stuartGetStuartSettings($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StuartApi->stuartGetStuartSettings: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\RestApiResultStuartSettings
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object stuartPostStuartSettings($store_id, $stuart_settings)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StuartApi(
// 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
);
$store_id = 56; // int |
$stuart_settings = new \Flipdish\\Client\Models\StuartSettings(); // \Flipdish\\Client\Models\StuartSettings |
try {
$result = $apiInstance->stuartPostStuartSettings($store_id, $stuart_settings);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StuartApi->stuartPostStuartSettings: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| stuart_settings | \Flipdish\Client\Models\StuartSettings |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]