Symptom
- Posting Reference Files through API in Onboarding.
- Is it possible to update corporate structure inforamtion through API
Environment
- Applicable to all Datacenters.
- Onboarding
- API
Resolution
Method : PostReferenceFiles
- Record should be posted with correct Ticket Number and Correct XML Format.
- It will sync records into Reference Files-Corporate Structures.
Below is the sample correct XML format of Posting Reference Files Record:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hrd="http://ATS.online-onboarding.com/Client/HRDataServiceEx">
<soapenv:Header>
<hrd:CorrelationHeader>
<!--Optional:-->
<hrd:CorrelationId>?</hrd:CorrelationId>
<!--Optional:-->
<hrd:SourceEndpoint>?</hrd:SourceEndpoint>
</hrd:CorrelationHeader>
</soapenv:Header>
<soapenv:Body>
<hrd:PostReferenceFiles>
<!--Optional:-->
<hrd:Ticket>49d34c44-9268-4f7c-9df1-97f06e943444</hrd:Ticket>
<!--Optional:-->
<hrd:Data><![CDATA[<?xml version="1.0" encoding="utf-8"?><ReferenceFiles xmlns="http://online-onboarding.com/ImportRF.xsd"><Company><ClientCode>Test</ClientCode><ATSCode>TestATS1_Company2</ATSCode><Name>TestName</Name></Company></ReferenceFiles>]]></hrd:Data>
</hrd:PostReferenceFiles>
</soapenv:Body>
</soapenv:Envelope>
Keywords
- API.
- SOAP.
- REST.
- Corporate Structures.