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

Nativy Connect

nativy translations
Description Sets an order to complete. This method is supposed to be used on the test server only and for testing purposes.
URL /connect/order/settocomplete

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).

Example call

                $url = 'http://www.nativytest.com/connect/order/settocomplete';
        	    $api_key = 'iQU5lBuEjYF3e2EU2o>sp*u02K^Bmie3d}pg-pU^MZ&%mobYM&x7SHY+41u7PHEh';
        	    $private_key = '4i2j_F|=lUqNmxPMxtwsX-veXJ)i+w(hq[_J&(r{Pn[jyT&)xfdUsp3K%B_jv{tP';
        	    $timestamp = gmdate('U');
	            $hmac = hash_hmac('sha1', $timestamp, $private_key); 
	            $orderid = 'E7F621BE-0DBC-47C6-947B-10FFB824CE32';
	        
	            $url = $url  
	        		    . '?api_key=' . urlencode($api_key) 
	        		    . '&api_sign=' . urlencode($hmac)
	        		    . '×tamp=' . urlencode($timestamp)
	        		    . '&orderid=' .$orderid;
	        
	            $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 values

A boolean (true | false), indicating whether the operation has been done successfully.