All URIs are relative to https://swagger.asmprotocol.org/v1
Method | HTTP request | Description |
---|---|---|
status | GET /status/{id} | Get the current status for a given request ID |
\ASMP\Client\Model\StatusResponse status($id)
Get the current status for a given request ID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: asmp_auth
$config = ASMP\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = ASMP\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new ASMP\Client\Api\StatusApi(
// 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
);
$id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string | UUID of the change to get the status from
try {
$result = $apiInstance->status($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatusApi->status: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | UUID of the change to get the status from |
\ASMP\Client\Model\StatusResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]