SpringImport\Swagger\Magento2\Client\IntegrationAdminTokenServiceV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| integrationAdminTokenServiceV1CreateAdminAccessTokenPost | POST /V1/integration/admin/token |
integrationAdminTokenServiceV1CreateAdminAccessTokenPost
string integrationAdminTokenServiceV1CreateAdminAccessTokenPost($body)
Create access token for admin given the admin credentials.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\IntegrationAdminTokenServiceV1Api();
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body136(); // \SpringImport\Swagger\Magento2\Client\Model\Body136 |
try {
$result = $api_instance->integrationAdminTokenServiceV1CreateAdminAccessTokenPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationAdminTokenServiceV1Api->integrationAdminTokenServiceV1CreateAdminAccessTokenPost: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| body | \SpringImport\Swagger\Magento2\Client\Model\Body136 | [optional] |
Return type
string
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]