SAP Knowledge Base Article - Public

3613416 - How to use Postman to perform CompoundEmployee API requests - SuccessFactors

Symptom

This article describes the steps on how to perform CompoundEmployee (SFAPI based) requests via Postman.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP SuccessFactors HCM

  • SFAPI
  • CompoundEmployee API

Resolution

1. Create New Request

2. Set the Option to POST and form your URL

Example: https://api68sales.successfactors.com/sfapi/v1/soap?wsdl 

3. Under "Headers" tab, unselect the default "Content-Type". Then add new "Content-Type" with value "text/xml"

4. Under "Body" tab, provide the payload for login.

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <login xmlns="urn:sfobject.sfapi.successfactors.com">
            <credential>
                <companyId>abc</companyId>
                <username>user</username>
                <password>xyz</password>
            </credential>
        </login>
    </Body>
</Envelope>
 
A successful call should return the sessionId.
 
5. Then provide the payload for your SFAPI request and it should return the response payload.
 

See Also

Employee Central Compound Employee API guide

Keywords

SF, SuccessFactors, SFAPI, test, login, call, SOAP, Compound Employee, connection, Session , KBA , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM Core 2505

Attachments

Pasted image.png
Pasted image.png