Stephen Gilmore

😮 Launch a Workday EIB via API request

Workday April 21st, 2023 2 minute read.

Today I figured out how to launch EIBs from Workday with a SOAP API request. I started researching how to do this because there is an integration that I get a fair amount of ad-hoc run request for that I'd like to maybe automate a bit.

Create a new request to your tenant, the url will look something like https://wd2-impl-services1.workday.com/ccx/service/{{tenant}}/Integrations/v40.0

The body of the request should look something like this:

<?xml version="1.0" encoding="utf-8"?>
<env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
        <wsse:Security env:mustUnderstand="1">
            <wsse:UsernameToken>
                <wsse:Username>{{username}}@{{tenant}}</wsse:Username>
                <wsse:Password
                    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">{{password}}</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </env:Header>
    <env:Body>
        <wd:Launch_EIB_Request xmlns:wd="urn:com.workday/bsvc" wd:version="v40.0">
            <wd:Integration_System_Reference>
                <wd:ID wd:type="Integration_System_ID">{{Integration_Reference_ID}}</wd:ID>
            </wd:Integration_System_Reference>
            <wd:Service_Component_Data>
                <wd:File_Utility>true</wd:File_Utility>
                <wd:Field_Override_Data>
                    <wd:Field_Name>File Name</wd:Field_Name>
                    <wd:Specify_Value_Data>
                        <wd:Text>file.csv</wd:Text>
                    </wd:Specify_Value_Data>
                </wd:Field_Override_Data>
            </wd:Service_Component_Data>
        </wd:Launch_EIB_Request>
    </env:Body>
</env:Envelope>

Workday's API doc