I have a large batch of data I am running through a Ruby script. To avoid unnecessary debugging and testing, are all fields in an Engagement's Metadata "required"? I.e. if I do not send a start and end time for a phone call, will it not import?
If they are required, is passing in a null value or blank string going to cause the response to be an error?
In the above case, a Call engagement will be logged to the record and the contens of the engagement will be left blank bar the Date and Time that defaults to the time when the request was made, should it be left blank.
In the above case, a Call engagement will be logged to the record and the contens of the engagement will be left blank bar the Date and Time that defaults to the time when the request was made, should it be left blank.
Yes, this does make sense. To clarify, my question was about leaving some of the requested fields out of metadata when they are not relevant, I see how I was not clear about that.
Your example was awesome and super helpful. Thanks!