Connection of Troops & Evolia
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/smart-gamma/evolia-api-sdk.git"
}
],
"require": {
"smart-gamma/evolia-api-sdk": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Evolia\SDK\ClientApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$authorization = "authorization_example"; // string |
$registrationNumber = "registrationNumber_example"; // string |
$agencyId = "agencyId_example"; // string |
try {
$result = $apiInstance->searchClient($authorization, $registrationNumber, $agencyId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClientApi->searchClient: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://virtserver.swaggerhub.com/smartgammadev/Evolia/1.0.0
Class | Method | HTTP request | Description |
---|---|---|---|
ClientApi | searchClient | GET /api/v3/client/{registrationNumber}/{agencyId} | This endpoint is used to search the siret in the DB from the NIC and the Siret |
ImportApi | addCandidatApi | POST /api/candidate | |
ImportApi | addClientApi | POST /api/customer | |
ImportApi | addContractApi | POST /api/contract | |
ImportApi | addTimeSheetApi | POST /api/TimeSheet | |
ImportApi | candidateAddDpaeApi | POST /api/Candidate/AddDPAE | |
ImportApi | getAccessToken | POST /GetAccessToken | |
ImportApi | isCandidateExistsApi | POST /api/candidate/exists | |
ImportApi | returnSignatureApi | POST /api/Contract/ReturnSignature | |
PayrollApi | payrollsGet | GET /payrolls | Get Payrolls by date range |
PayrollApi | payrollsPayrollIdGet | GET /payrolls/{payrollId} | Get Payroll by it's id |
ReferencesApi | getReferences | GET /api/v3/references | Get all the references from the database |
- AuthRequest
- AuthResponse
- Candidate
- CandidateAddDpae
- CandidateResponseStatus
- Contract
- ContractForTimeSheet
- ContractResponseStatus
- Customer
- CustomerBillingAddress
- CustomerResponseStatus
- ExistsCandidate
- LieuxdeMission
- MissionViewModel
- NotFound
- PayrollDetailsViewModel
- PayrollElement
- PayrollViewModel
- PayrollViewModelList
- ReferenceItem
- ReferencesResponse
- ResponseError
- ResponseErrorOfTimeSheetErrors
- ResponseOfTimeSheetErrors
- ReturnSignature
- RubricValues
- SiretQueryResult
- TimeSheet
All endpoints do not require authorization.