cancel
Showing results for 
Search instead for 
Did you mean: 

EmpJob OData API error

moiznafey007
Discoverer
0 Kudos

I am testing the EmpJob OData API. Its an Upsert POST request which adds the details for the existing user on successfactor platform. The issue is arising because of "timezone" attribute sent in the request. This is the error:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

<entry>

<content type="application/xml">

<m:properties>

<d:key m:null="true"></d:key>

<d:status>ERROR</d:status>

<d:editStatus>UPSERTED</d:editStatus>

<d:message>unknown property timezone for EmpJob</d:message>

<d:index m:type="Edm.Int32">0</d:index>

<d:httpCode m:type="Edm.Int32">400</d:httpCode>

<d:inlineResults m:type="Bag(SFOData.UpsertResult)"></d:inlineResults>

</m:properties>

</content>

</entry>

</feed>

If I remove the "timezone" attribute from the request body, it gives me the error that country validation is not done. How can I resolve this error? Any leads will be appreciated.

Accepted Solutions (0)

Answers (0)