cancel
Showing results for 
Search instead for 
Did you mean: 

Generate EDMX file for SuccessFactors OData API

SinhaSouvik
Participant
0 Kudos
4,203

Hello All,

We know that for each SF ODATA API, we can generate the EDMX file using the below url format.

https://<api-server>/odata/v2/<Entity>/$metadata

But Is there any way to get the EDMX file for a particular API along with the Navigation, I required. Example: PerPerson API and personalInfoNav only.

I have tried in CPI and normal http $metdata call, by selecting root API as PerPerson and used navigation as personalInfoNav. But EDXM file generating for SF API's not specifically for amove given example.

Let us know is there any automated way to do so.

Regards,

Souvik

Accepted Solutions (1)

Accepted Solutions (1)

SinhaSouvik
Participant
0 Kudos

Hello All,

Please find the way for retrieve the custom edmx/metadata file based on navigation we want to select.

Please find the SAP help link for more details:

Retrieve ODATA Metadata

Regards,

Souvik

Answers (2)

Answers (2)

nlgro023
Active Contributor

In CPI it is quite easy, just make sure you select multiple levels and then select fields from the respective navigations:

Example:

SinhaSouvik
Participant
0 Kudos

Hi jasper.de.groot , It will generate EDMX file for complete SF ODATA API. I have already checked this approach.

Regards,

Souvik

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Souvik,

I think you can do something like below

GET http://localhost:999/dataservice/$metadata/ResourceTypes('Namespace.Product')

Refer for more info here https://www.odata.org/blog/queryable-odata-metadata/

Regards,

Sriprasad Shivaram Bhat

SinhaSouvik
Participant
0 Kudos

Thanks shriprasad.bhat for your response.

I tried but no luck. Could you provide me the sample queryable url for SF ODATA API "PerPerson" with navigation personalInfoNav and phoneNav.

Regards,

Souvik