SAP Knowledge Base Article - Public

3312052 - OData API & Integration Center: Photo upsert - Accepted Data Types

Symptom

 

Via OData or Integration Center - You are performing a Photo upsert. 

The upsert is failing for: upserted failed: Target user id, photo type and photo are required  

Environment

  • SAP SuccessFactors HXM Suite
    • Odata API
    • Integration Center 

Cause

JSON only accepts string, date, and numeric values.

Resolution

  • Via OData: 
    • Upsert as a string
  • Via Integration Center 
    • Change the destination field "Photo binary" data type from binary to string using "more field options"

Keywords

Odata, Integration Center, Photo, Upsert , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-INC , Integration Center , How To

Product

SAP SuccessFactors HCM Suite all versions