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

API example for Date Type Custom Property Assigning

edited Apr 30, 2018 7:00AM in Content Management 4 comments

Summary

API example for Date Type Custom Property Assigning

Content

Created a new metadata field of Date type named as ”Create_date” and set the value of mm/dd/yyyy when trying to assign it.

Used Postman to validate the API endpoint with sample JSON as shown in below.

     POST: https://documents-gse*.documents.us2.oraclecloud.com/documents/api/1.1/files/DF2689*

     JSON Body: { "test_1.create_date":"12/12/2018" }

Although the JSON contains date in mm/dd/yyyy i.e. 12/12/2018 format still the error received was- “Invalid date format”. Not sure why this fails.

 

Looked up the API document for ODCS but there was no example available for uploading metadata field as date type.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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