Name: {name}
Translator since: {translator_since}
From: {from}
Collaboration with you: {collaboration}
{about}
{fieldofexpertise}
 {name}

Nativy Connect

nativy translations
Description Returns an order and only one specific Textblock (identified by the text_to_key parameter) from nativy. This function is used to get reviewed textblocks that customers have rejected before.
URL /connect/order/{orderid}/review/{text_to_key}

Parameters
api_key (required) string The public API key of the user. (Details: Authentication )
timestamp (required) string The current UTC timestamp (seconds from 1/1/1970 until UTC now). (Details: Authentication )
api_sign (required) string The timestamp encoded with HMAC SHA1 in use of the private key. (Details: Authentication )
orderid (required) string The unique id of the order (GUID transformed string).
text_to_key (required) string The key of the text_to element that should be reviewed.

Example call

                $url = 'http://www.nativytest.com/connect/order';
        	    $api_key = 'iQU53suEjYFMxsdU2o>bp*u02K^Bmie3d}23-pU^MZ&%mobYM&x7SHY+41u7PHEh';
        	    $private_key = '4i2j_F|=lUqNmxPuitxsX-veXJ)i+w(hq[_J&(r{Pn[jsd&)xt*Usp3K%B_jv{tP';
        	    $timestamp = gmdate('U');
	            $hmac = hash_hmac('sha1', $timestamp, $private_key); 
	            $orderid = 'AEA59347-5130-4DFC-8CBB-5E9D28BF6659';
	            $text_to_key = 'about_text';
	        
	            $url = $url 
	        		    . '/' . $orderid . '/review/' . urlencode($text_to_key)
	        		    . '?api_key=' . urlencode($api_key) 
	        		    . '&api_sign=' . urlencode($hmac) 
	        		    . '×tamp=' . urlencode($timestamp);

	            $ch = curl_init($url); 
	        
	            curl_setopt($ch, CURLOPT_URL, $url); 
	            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
	            curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
	            $response = curl_exec($ch);
	            curl_close($ch);

        	    echo ($response);
            

Return parameters and return example

The same as /order/{orderid} GET, but only the requested text_to_key will be returned instead of all text blocks.