The format of DATE_OF_BIRTH

what is the date of birth format that needs to be re-indicated in the API service?

Service : cases/screeningRequest

Exemple :

"secondaryFields": [
{
"typeId":"SFCT_2",
"value":"20-01-1950"
}
]

I have always Bad request when i send this date.

Best Answer

  • Prabhjyot
    Prabhjyot LSEG
    Answer ✓

    @cao-trung.do,

    Thank you for your query.

    In order to pass a date of birth, you will have to use 'dateTimeValue' instead of 'value'. The format of the date should be in ISO 8601 format excluding Week and Ordinal dates. Below is a sample :

    [{"typeId":"SFCT_2", "dateTimeValue":"yyyy-mm-dd"}]

    Hope this helps.

Answers