All URIs are relative to https://webapi.production.splitit.com
Method | HTTP request | Description |
---|---|---|
infrastructureGetResourcesGET | GET /api/Infrastructure/GetResources | |
infrastructureGetResourcesPOST | POST /api/Infrastructure/GetResources |
\SplititSdkClient\Model\GetResourcesResponse infrastructureGetResourcesGET($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories)
<?php
require __DIR__ . '/vendor/autoload.php';
# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InfrastructureApi(
Configuration::sandbox(),
$session_id
);
$api_key = "api_key_example"; // string |
$session_id = "session_id_example"; // string |
$merchant_code = "merchant_code_example"; // string |
$culture_name = "culture_name_example"; // string |
$touch_point_code = "touch_point_code_example"; // string |
$system_text_categories = array(new \SplititSdkClient\Model\\SplititSdkClient\Model\SystemTextCategory()); // \SplititSdkClient\Model\SystemTextCategory[] |
try {
$result = $apiInstance->infrastructureGetResourcesGET($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfrastructureApi->infrastructureGetResourcesGET: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
api_key | string | [optional] | |
session_id | string | [optional] | |
merchant_code | string | [optional] | |
culture_name | string | [optional] | |
touch_point_code | string | [optional] | |
system_text_categories | \SplititSdkClient\Model\SystemTextCategory[] | [optional] |
\SplititSdkClient\Model\GetResourcesResponse
Use session_id received from LoginApi and pass it to InfrastructureApi constructor.
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SplititSdkClient\Model\GetResourcesResponse infrastructureGetResourcesPOST($request)
<?php
require __DIR__ . '/vendor/autoload.php';
# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InfrastructureApi(
Configuration::sandbox(),
$session_id
);
$request = new \SplititSdkClient\Model\GetResourcesRequest(); // \SplititSdkClient\Model\GetResourcesRequest |
try {
$result = $apiInstance->infrastructureGetResourcesPOST($request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfrastructureApi->infrastructureGetResourcesPOST: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
request | \SplititSdkClient\Model\GetResourcesRequest |
\SplititSdkClient\Model\GetResourcesResponse
Use session_id received from LoginApi and pass it to InfrastructureApi constructor.
- Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]