src/UCRM/REST/Endpoints/Helpers/ClientHelper.php
public static function getByUserIdent(string $userIdent): ?Client
    {
        /** @var Client $client */
        $client = Client::get("", [], [ "userIdent" => $userIdent ])->first();

        // Custom ID is Unique, so return the only result or null!
        return $client;
    }
public static function getByUserIdent(string $userIdent): ?Client
    {
        /** @var Client $client */
        $client = Client::get("", [], [ "userIdent" => $userIdent ])->first();

        // Custom ID is Unique, so return the only result or null!
        return $client;
    }
public static function getByUserIdent ( string $ userIdent ) : ? Client { /** @var Client $client */ $ client = Client :: get ( "" , [ ] , [ "userIdent" => $ userIdent ] ) -> first ( ) ; // Custom ID is Unique, so return the only result or null! return $ client ; }
Sends an HTTP GET Request using the calling class's annotated information, for an object, given the Custom ID.

@param string $userIdent The Custom ID of the Client for which to retrieve.
@return Client|null Returns the matching Client or NULL, if none was found.

@throws \Exception
Sends an HTTP GET Request using the calling class s annotated information for an object given the Custom ID .