cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Translate API call to API expression

JakobDigranes
Explorer
389

Hi all

We using Successfactor to Entra ID provisioning, and need to add an attribute that's not in the default mapping range. I've added some changes to advanced attribute mapping or directly to schema json, in this list.

Screenshot 2024-06-19 at 23.06.40.png

the API call is this: 
/odata/v2/PerPhone?$select=countryCodeNav/externalCode,isPrimary,personIdExternal,phoneNumber,phoneType,phoneTypeNav/externalCode&$expand=countryCodeNav,phoneTypeNav

any type of documentation for this or any ideas to help med align this? Translating API CALL to API Expression

Accepted Solutions (1)

Accepted Solutions (1)

JakobDigranes
Explorer
0 Kudos

We have worked us towards that this would be a working JSON expression;

$.phoneNav.results[?(@.isPrimary == true)].countryCodeNav.externalCod

However - no data is transferred. Might be restrictions in SAP Successfactors?

According to Odata API Dictionary, countryCode is a picklist option, with externalCode underneath this:

externalCode
externalCode
string
 
countryCodeNav
Country Code

SAP SuccessFactors Employee Central 

JakobDigranes
Explorer
0 Kudos
Note: ExternalCode is not exposed to SCIM API for synchronizing to Microsoft Active Directory. Ended up using picklist and switch option

Answers (0)