You are here

public function ContextApi::getMatchStatus in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  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()
  3. 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

1 call to ContextApi::getMatchStatus()
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 194

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);
}