All URIs are relative to https://api.kinow.com/api
Method | HTTP request | Description |
---|---|---|
createTask | POST /tasks |
\Kinow\Client\Model\TaskResponse createTask($body)
Create new task
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiClientId
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Id', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Id', 'Bearer');
// Configure API key authorization: ApiClientSecret
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Secret', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Secret', 'Bearer');
$api_instance = new Kinow\Client\Api\TasksApi();
$body = new \Kinow\Client\Model\CreateTaskRequest(); // \Kinow\Client\Model\CreateTaskRequest | Create task object
try {
$result = $api_instance->createTask($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TasksApi->createTask: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Kinow\Client\Model\CreateTaskRequest | Create task object |
\Kinow\Client\Model\TaskResponse
- Content-Type: Not defined
- Accept: Not defined