The Fabasoft Personnel File provides following interfaces for the communication with third-party products.
The following friendly URLs are available.
Presenting a Personnel File
To present a personnel file, for example, in a web browser you can use the following URLs:
Access based on the personnel number
Syntax |
---|
https://<server>/<vdir>/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396257 https://<server>/<vdir>/personnelfile/<personnel number>/<Fabasoft Cloud ID of the personnel file shelf> |
Parameters:
Example |
---|
https://at.cloud.fabasoft.com/folio/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396257&shelfid=COO.1.3285.3.19&persnum='00001' https://at.cloud.fabasoft.com/folio/personnelfile/00001/COO.1.3285.3.19 |
Access based on the user ID
Syntax |
---|
https://<server>/<vdir>/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396256 https://<server>/<vdir>/personnelfile/ https://<server>/<vdir>/personnelfile/<Fabasoft Cloud ID or e-mail address of the assigned user>/<Fabasoft Cloud ID of the personnel file shelf> |
Parameters:
Example |
---|
https://at.cloud.fabasoft.com/folio/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396256 https://at.cloud.fabasoft.com/folio/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396256&shelfid=COO.1.3285.3.19 https://at.cloud.fabasoft.com/folio/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396256&shelfid=COO.1.3285.3.19&userid=cadence.jones@fabasoft.com https://at.cloud.fabasoft.com/folio/fscasp/content/bin/fscvext.dll?ax=COO.1.1001.1.396256&shelfid=COO.1.3285.3.19&userid=COO.1.3285.1.15 https://at.cloud.fabasoft.com/folio/personnelfile/ https://at.cloud.fabasoft.com/folio/personnelfile/cadence.jones@fabasoft.com/COO.1.3285.3.19 |
Uploading a Document
To upload a document in a personnel file you can use following URL:
Syntax |
---|
https://<server>/<vdir>/uploadpfdocument/<personnel number>/<Fabasoft Cloud ID of the personnel file shelf>/<document name with file extension>/<external key of the category>/<external key of the personnel file folder>/<valid from: yyyy-mm-dd>/<valid until: yyyy-mm-dd>/<document state: PersonnelFileDocumentInProgress oder PersonnelFileDocumentClosed> |
The document must be delivered in the HTTP body. The parameters “personnel number”, “document name with file extension” and the content of the document are mandatory. If no personnel file folder but a category is defined, it is tried to determine the personnel file folder via the category. If no unambiguous personnel file folder can be determined, an error is generated.
Example |
---|
https://at.cloud.fabasoft.com/folio/uploadpfdocument/00002/doc.txt//HRDOCUMENT_PAYROLL//2017-01-30/ |
A web service is provided to upload documents and to create or read personnel files.
The WSDL can be accessed using the following URL:
https://<server>/<vdir>/fscdav/wsdl?WEBSVC=FSCPERSONNELFILE_1_1001_WebServicesPersonnelFile
The web service supports also the JSON format:
https://<host>/<vdir>/wsjson/FSCPERSONNELFILE_1_1001_WebServicesPersonnelFile/<operation>
Operations:
Example |
---|
Request JSON (GetPersonnelFile): {"shelfid":"COO.200.200.4.156","persnum":"00000008"} {"shelfid":null,"persnum":"00000000"} Request JSON (CreatePersonnelFile): { ] Request JSON (UpdatePersonnelFile): { "supervisorid": "laura.hammond@example.com", ], Request JSON (UploadDocument): { "persnum" : "00001", "shelfid" : "COO.1.506.4.3628", "docname" : "Payroll_2017_12.txt", "doctype" : "HRDOCUMENT_PAYROLL", "register" : "HRREGISTER_PAYROLL", "validfrom" : "2017-01-02", "validuntil" : "2017-12-15", "docstate" : "PersonnelFileDocumentClosed", "doccontent" : "RG9rdW1lbnRpbmhhbHQ", "params" : { "objsubject" : "Payroll", "COOSYSTEM@1.1:objexternalkey" : "extid", "FSCTERM@1.1001:objterms" : ["COO.1.506.4.19119", "COO.1.506.4.19120"] } } |
More information about the parameters of the operations can be found here: https://help.developer.fabasoft.com/index.php: new window. Search for the corresponding actions (WSGetPersonnelFile, WSCreatePersonnelFile, WSUpdatePersonnelFile, WSUploadDocument, UploadScannedDocument).