public function ContextApi::getMatchStatus in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
- 8.2 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
- 8.3 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
Get context match status.
Parameters
$matchId:
Return value
array
Throws
2 calls to ContextApi::getMatchStatus()
- ContextApi::wait in api-sdk-php/
src/ Context/ ContextApi.php - Makes async operation sync.
- ContextApi::wait in vendor/
smartling/ api-sdk-php/ src/ Context/ ContextApi.php - Makes async operation sync.
File
- vendor/
smartling/ api-sdk-php/ src/ Context/ ContextApi.php, line 184
Class
- ContextApi
- Class ContextApi
Namespace
Smartling\ContextCode
public function getMatchStatus($matchId) {
$endpoint = vsprintf('/match/%s', $matchId);
$requestData = $this
->getDefaultRequestData('query', []);
return $this
->sendRequest($endpoint, $requestData, self::HTTP_METHOD_GET);
}