Does anyone know how I should format my string in my body payload when one of the attributes is a date field? I will eventually get it through trial and error, but it will take a while as I don't have CSIDE in this environment for debugging. -Hugh
In many cases, if you observe the things in a SmartUI screen you can mimic that ... Not sure of your exact thing(Fiddler is awesome or browser toolsF12)
The format appears to be simply "YYYY-MM-DD" . I am using that. It stopped stack tracing but it hasn't saved the value yet. My problem using Fiddler is that I can't decrypt SSL since I don't have sufficient rights to add Fiddler's self-signed certificate. -Hugh
Correction that does work. Date format that REST accepts is YYYY-MM-DD -hugh
It also accepts 2020-12-29T19:35:00.@Hugh Ferguson What were you passing in that caused a stack trace? When I tried a couple invalid dates I got the appropriate errors back.
@Matthew_Pinkney Sorry it wasn't a stack trace, but a response code of 500. As a feedback, for REST client developers, it would be nice to get a more specific response as to what was wrong. -Hugh
There was no error message returned? If you are using IIS please ensure that it isn't swallowing the errors which it does by default.
I am having an issue while providing the date, the workspace is created but following with date T000000 is also added automatically.
Can anyone please suggest how to correct it?
If you slection the ? behind Name Pattern you get to the documentation that explains how you can use a substring of the value.