Skip to main content

Hi, I'm using an API to extract data

for this purpose, the scope of Celonis, I am trying to adapt the configuration parameters that are 100% functional in POSTMAN, but when building Extractor I am finding it difficult to adapt

 

1) The API Resource first requires a POST request to generate the Bearer Token:

 

Request POSThttps://prod.api.wehandle.com.br/login

Params

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z2bO

Authorization

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z3lx

Header:

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z110

Body:

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z3kM

Scripts:

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z3xF

Result Body Response:

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z46v

2) The second request uses the generated Token to GET data from the API

 

Request GEThttps://prod.api.wehandle.com.br/integrations/main/employees?page=1&limit=50&changes_to=2025-01-14T23:59:59.000Z&changes_from=2025-01-01T00:00:00.000Z&employee_address=true&employee_services=true&employee_manager=true&employee_supplier_company=true

Params

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008yzTr

Authorization

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z48X

Headers

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z2pu

Result Body Response

rtaImage?eid=500S700000I5tb5&feoid=00N07000000mBgq&refid=0EMS7000008z4DN

I'm having trouble recreating this integration successfully via Extractor Builder

Perhaps my starting point would be to decide the Authentication Method between

Bearer Authentication

or

 

 Custom Authentication
 

 

Can you give me some guidance?

Be the first to reply!

Reply