You are here

public function ContextApi::getMatchStatus in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
  2. 8.2 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getMatchStatus()
  2. 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

SmartlingApiException

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\Context

Code

public function getMatchStatus($matchId) {
  $endpoint = vsprintf('/match/%s', $matchId);
  $requestData = $this
    ->getDefaultRequestData('query', []);
  return $this
    ->sendRequest($endpoint, $requestData, self::HTTP_METHOD_GET);
}