Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
REST Inbound to OTM : How to Assign a value of Null to a Date field? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST Inbound to OTM : How to Assign a value of Null to a Date field?

Accepted answer
11
Views
2
Comments
edited Oct 26, 2022 3:15PM in Transportation Management 2 comments

Summary:

How to Assign a value of Null to a Date field in a REST inbound transmission?

Content (required):

Assigning null to a GID column works. "planToLocationGid":""

However how to do the same for a Date Field?

Tried the following but it returns a HTTP 400 Bad Request.

 "lateDeliveryDate": "~"

 "lateDeliveryDate": { "value": "~" }

 "lateDeliveryDate": { "value": "" }

The last one does not error out at the time of handshake however it does not update it to null either :(

 "lateDeliveryDate": null,

Version (include the version you are using, if applicable):

22C

Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!