I am using the Oracle REST API /hcmRestApi/resources/11.13.18.05/documentRecords
How do i fill multiple values in REST API. I tried using below but it is giving parsing error - For example - I want to pass multiple Person numbers and document types below.
{
[
{
"PersonNumber": "207118",
"DocumentCode": "207118_fancy_Nancy",
"DocumentName": "20191231_fancy_Nancy",
"DocumentNumber": null,
"DateTo": null,
"DocumentType": "Compliance",
"attachments":[
{
"UploadedFileName": "20191231_fancy_Nancy.pdf"
}
]
},
{
"PersonNumber": "217383",
"DocumentCode": "217383_Danny",
"DocumentName": "20161216_Danny",
"DocumentNumber": null,
"DateTo": null,
"DocumentType": "Compliance",
"attachments":[
{
"UploadedFileName": "20161216_Danny.pdf"
}
]
},
{
"PersonNumber": "202863",
"DocumentCode": "202863_Performance",
"DocumentName": "20191231_Performance",
"DocumentNumber": null,
"DateTo": null,
"DocumentType": "Compliance",
"attachments":[
{
"UploadedFileName": "20191231_Performance.pdf"
}
]
}
]
}