common/components/clients/service/Client.php
/**
     * Create new credential
     *
     * Creates new credential using given data.
     * [[data]] array example:
     * ```php
     * [
     *    'user' => 'login',
     *    'pass' => 'password123',
     *    'status' => 'ACTIVE'
     * ]
     * ```
     *
     * @param  array $data credential attributes
     * @return common\components\clients\service\Response
     */
Create new credential
Creates new credential using given data.

@param  array $data credential attributes
@return common\components\clients\service\Response
Create new credential Creates new credential using given data . @param array $data credential attributes @return common \ components \ clients \ service \ Response
public function createCredential($data)
    {
        $request = new Request('POST',
            $this->baseUrl.'/credential/create/',
            $data,
            $this->options
        );
        return $request->send();
    }
public function createCredential ( $ data ) { $ request = new Request ( 'POST' , $ this -> baseUrl . '/credential/create/' , $ data , $ this -> options ) ; return $ request -> send ( ) ; }
Create new credential
 Creates new credential using given data.
Create new credential Creates new credential using given data .