Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Null values

JSON messages with null values are supported by web service calls and Blueriq as a Service.

 JSON MessageDomain schema
BaaS requestProperty value nullProperty not required
BaaS responseProperty absentProperty not required
Web service request  
Web service response  

 

Incoming JSON messages containing properties with null values are allowed for non-required properties. When a property is specified as non-required 

Web service call

...

When a response to a REST JSON web service call contains properties with null values these properties will be handled as non-existent properties. This means that null values are only accepted for properties that are specified as non-required in the response domain schema. Non-required properties on request domain schemas are not present in the actual request that the web service call creates, so there won't be any null values in web service call requests.

Responses

Blueriq as a Service

HTTP status codes

...