public function getItem($itemType, $id, array $queryString = []) {
      $options = [];
      if ($queryString) {
         $options['query'] = $queryString;
      }
      $response = $this->client->request('get', $itemType . '/' . $id, $options);
      return [
         'statusCode' => $response->getStatusCode(),
         'body' => $response->getBody()->getContents(),
      ];
   }
public function getItem($itemType, $id, array $queryString = []) {
      $options = [];
      if ($queryString) {
         $options['query'] = $queryString;
      }
      $response = $this->client->request('get', $itemType . '/' . $id, $options);
      return [
         'statusCode' => $response->getStatusCode(),
         'body' => $response->getBody()->getContents(),
      ];
   }
public function getItem ( $ itemType , $ id , array $ queryString = [ ] ) { $ options = [ ] ; if ( $ queryString ) { $ options [ 'query' ] = $ queryString ; } $ response = $ this -> client -> request ( 'get' , $ itemType . '/' . $ id , $ options ) ; return [ 'statusCode' => $ response -> getStatusCode ( ) , 'body' => $ response -> getBody ( ) -> getContents ( ) , ] ; }
Return the instance fields of itemtype identified by id.
@param string $itemType
@param integer $id
@param array $queryString
@return array
Return the instance fields of itemtype identified by id .