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

Date format in the Rest API - Assign a Metadata Collection to a Folder

edited Mar 11, 2019 2:44PM in Content Management 4 comments

Summary

Date format in the Rest API - Assign a Metadata Collection to a Folder

Content

I am trying to use this Rest API -Assign a Metadata Collection to a Folder

https://docs.oracle.com/en/cloud/paas/content-cloud/rest-api-documents/op-documents-api-1.2-folders-folderid-metadata-collectionname-post.html .

to assign metadata tags to a folder. I am using a date Type and the date type is defined as "mm/dd/yyyy"

and in my rest api post body i am sending the info as

{
    "collection": "XXXX"
    "**** Number": "1220",
    "**** Date": "12/12/2018"
}

It is erroring out saying it is an invalid date format although the format i am sending seems to be correct. Any Pointers please.  

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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