In Spark based export v2, how can I extract only OVs entities information?

Question

Does the "searchByOv,OvOnly" option work in Spark Based Export API version 2.0?

Answer

Export version 2 does support exporting data by OV, but there are differences from v1:

  •  The parameters - skipPostprocessing, fileFormat, partSize, and filter are all query parameters that should be added in the API call itself.
  • "ovOnly" and "includeType" are the parameters that should be added in the body section of the API.
  • "options=searchByOv" is not supported in V2

 

Below is an example API in the correct format.

Request Method:

POST https://test.reltio.com/jobs/v2/export/{tenant_ID}/entities?filter=(equals(attributes.CountryCode,'US'))&fileFormat=json&dateFormat=readable&select=type,attributes.HCPUniqueId,attributes.CountryCode,attributes.OriginalSource

Body:

​{
"ovOnly": true,
"includeType": ["configuration/entityTypes/HCP"]
}

References

https://docs.reltio.com/exportapi/exportv2.html

https://docs.reltio.com/exportapi/sparkbasedexport.html

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.