Get Sections
Return every section configured on the unit associated with the API key.
Request
API key of the unit whose sections should be returned.
Pass an empty string ("") to ignore this filter, or a date to return only sections modified after that date.
curl -X POST 'https://api.quinyx.com/FlexForceWebServices.php' \
-H 'Content-Type: text/xml; charset=utf-8' \
-H 'SOAPAction: "uri:FlexForce/GetSections"' \
--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:wsdlGetSections>
<apiKey xsi:type="xsd:string">string</apiKey>
<lastModified xsi:type="xsd:string">string</lastModified>
</tns:wsdlGetSections>
</soap:Body>
</soap:Envelope>
EOFResponse
Array of Section records.
A section record (a sub-unit of a unit).
Primary key. Can also be used as the identifier when updating an existing section.
External section id. Can be used as the identifier when updating.
External Neo group id. Can be used as the identifier when updating.
Store (unit) id the section belongs to.
Section name. Maximum 50 characters.
Employee id of the section manager. 0 when no manager is appointed.
Manager group id. 0 when no manager group is appointed.
Cost centre id.
External cost centre code. Ignored on input when costCentre is set. Empty string when not set.
Timestamp of the last update, ISO 8601.
Array of validation errors. Empty on success.
<?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:wsdlGetSectionsResponse>
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:Section[1]">
<item xsi:type="tns:Section">
<id xsi:type="xsd:int">0</id>
<extSectionId xsi:type="xsd:string">string</extSectionId>
<extGroupId xsi:type="xsd:string">string</extGroupId>
<restId xsi:type="xsd:int">0</restId>
<name xsi:type="xsd:string">string</name>
<managerId xsi:type="xsd:int">0</managerId>
<managerGroupId xsi:type="xsd:int">0</managerGroupId>
<costCentre xsi:type="xsd:int">0</costCentre>
<costCentreExtCode xsi:type="xsd:string">string</costCentreExtCode>
<ts xsi:type="xsd:dateTime">2024-01-01T00:00:00Z</ts>
<validationErrors xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">string</item>
</validationErrors>
</item>
</return>
</tns:wsdlGetSectionsResponse>
</soap:Body>
</soap:Envelope>