Get Agreement Info By Date
Return agreement information for an employee on a specific date.
Request
API key of the unit.
The date + list of employee badge numbers to query — see the InfoByDate type.
The date the agreement info should reflect.
Wrapper carrying one or more badgeNo entries identifying the employees to query.
Badge number of an employee to query.
curl -X POST 'https://api.quinyx.com/FlexForceWebServices.php' \
-H 'Content-Type: text/xml; charset=utf-8' \
-H 'SOAPAction: "uri:FlexForce/wsdlGetAgreementInfoByDate"' \
--data @- <<'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://api.quinyx.com/soap/FlexForce">
<soap:Body>
<tns:wsdlGetAgreementInfoByDate>
<apiKey xsi:type="xsd:string">string</apiKey>
<infoByDate xsi:type="tns:InfoByDate">
<date xsi:type="xsd:string">string</date>
<EmployeeBadgeNo xsi:type="tns:EmployeeBadgeNo">
<badgeNo xsi:type="xsd:string">string</badgeNo>
</EmployeeBadgeNo>
</infoByDate>
</tns:wsdlGetAgreementInfoByDate>
</soap:Body>
</soap:Envelope>
EOFResponse
Array of AgreementInfoByDate records, one per matched employee.
A single employee's agreement details on a queried date, returned by wsdlGetAgreementInfoByDate.
Badge number of the employee.
Internal id of the matching agreement.
External id of the agreement, when set.
Internal id of the unit that owns the agreement.
Display name of the unit that owns the agreement.
Internal id of the agreement template, when the agreement is template-based.
Display name of the agreement template, when applicable.
Employment rate (1.0 = 100%, 0.42 = 42%).
Salary addition based on years worked.
Salary addition based on the employee's age.
Salary addition from a personal adjustment.
Hourly salary on the queried date.
Monthly salary on the queried date, when set.
Effective salary on the queried date, including all additions.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://api.quinyx.com/soap/FlexForce">
<soap:Body>
<tns:wsdlGetAgreementInfoByDateResponse>
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:AgreementInfoByDate[1]">
<item xsi:type="tns:AgreementInfoByDate">
<badgeNo xsi:type="xsd:string">string</badgeNo>
<agreementId xsi:type="xsd:int">0</agreementId>
<extAgreementId xsi:type="xsd:string">string</extAgreementId>
<agreementUnitId xsi:type="xsd:int">0</agreementUnitId>
<agreementUnitName xsi:type="xsd:string">string</agreementUnitName>
<agreementTemplateId xsi:type="xsd:int">0</agreementTemplateId>
<agreementTemplateName xsi:type="xsd:string">string</agreementTemplateName>
<employmentRate xsi:type="xsd:decimal">0</employmentRate>
<additionByWorkedYears xsi:type="xsd:decimal">0</additionByWorkedYears>
<additionByAge xsi:type="xsd:decimal">0</additionByAge>
<additionByPersonalAdjustment xsi:type="xsd:decimal">0</additionByPersonalAdjustment>
<hourlySalary xsi:type="xsd:decimal">0</hourlySalary>
<monthlySalary xsi:type="xsd:decimal">0</monthlySalary>
<calculatedSalary xsi:type="xsd:decimal">0</calculatedSalary>
</item>
</return>
</tns:wsdlGetAgreementInfoByDateResponse>
</soap:Body>
</soap:Envelope>Change log
| Date | Description |
|---|---|
| 2018-12-04 | created. |