What is correct format when setting Date attributes with REST API
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
Comments
-
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.0 -
@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.
-Hugh0 -
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.
0 -
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?
0 -
If you slection the ? behind Name Pattern you get to the documentation that explains how you can use a substring of the value.
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 151 General Questions
- 146 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 179 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 9 XM Fax
- Follow Categories