public function uploadContext(UploadContextParameters $params)
    {
        $requestData = $this->getDefaultRequestData('multipart', $params->exportToArray());

        return $this->sendRequest('contexts', $requestData, self::HTTP_METHOD_POST);
    }
public function uploadContext(UploadContextParameters $params)
    {
        $requestData = $this->getDefaultRequestData('multipart', $params->exportToArray());

        return $this->sendRequest('contexts', $requestData, self::HTTP_METHOD_POST);
    }
public function uploadContext ( UploadContextParameters $ params ) { $ requestData = $ this -> getDefaultRequestData ( 'multipart' , $ params -> exportToArray ( ) ) ; return $ this -> sendRequest ( 'contexts' , $ requestData , self :: HTTP_METHOD_POST ) ; }
Upload a new context.

@param \Smartling\Context\Params\UploadContextParameters $params
@return array
@throws \Smartling\Exceptions\SmartlingApiException
Upload a new context .