serfhos/lumesse-talent-link

There is no license information available for the latest version (dev-master) of this package.

PHP SOAP - Lumesse: TalentLink integration

dev-master 2019-11-20 10:41 UTC

This package is auto-updated.

Last update: 2024-05-20 20:54:59 UTC


README

My simplified SOAP integration for FoAdvert.

Usage

<?php
use Serfhos\LumesseTalentLink\Client\FoAdvertSoapClient;

// Create client
$client = FoAdvertSoapClient::create([
    'endpoint' => 'https://api5.lumesse-talenthub.com/CareerPortal/SOAP/FoAdvert',
    'security' => 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd',
    'username' => '[placeholder]',
    'password' => 'guest',
    'key' => '[placeholder]',
]);

// Dump the first 10 results
$response = $client->getAdvertisements([
    'langCode' => 'EN',
    'firstResult' => 0,
    'maxResults' => 10,
]);

var_dump($response);