SAP Knowledge Base Article - Public

2603676 - How to update Boolean Value using Postman

Symptom

Customer wants to update Boolean Value using API - But when customer passes value as True ( without quotes ) it is working fine.

But when customer passes the value 'True' (with quotes) then PI stops execution and says you are trying to give condition like string for Boolean field. Query is not even send to SF.

Reproducing the Issue

Try to update the boolean field using Postman.

Resolution

Data Dictionary:

 data dictionary.GIF

Without Single Quotes:

Request:

request_1.GIF

Response:

response1.GIF



With Single Quotes:

Request:

Request2.GIF

Response:

Response2.GIF

For datatype Boolean, SF should not expect single quote which you can see above.

PO is not recognizing single quotes for Boolean type.

SF RCM is not recognizing Boolean without single quotes.

Keywords

KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem

Product

SAP SuccessFactors Recruiting 1511 ; SAP SuccessFactors Recruiting 1602 ; SAP SuccessFactors Recruiting 1605 ; SAP SuccessFactors Recruiting 1608 ; SAP SuccessFactors Recruiting 1611 ; SAP SuccessFactors Recruiting 1702 ; SAP SuccessFactors Recruiting 1705 ; SAP SuccessFactors Recruiting 1708 ; SAP SuccessFactors Recruiting 1711 ; SAP SuccessFactors Recruiting 1802 ; SuccessFactors Recruiting 1505 ; SuccessFactors Recruiting 1508