I am requesting for Facets using AQL (D7.3). One of the facets that is part of the request is r_creation_date
{
"id": "id8",
"attributes": [
"r_creation_date"
]
},
The response that I get back have facet-value-id such as THIS_YEAR, LAST_YEAR, LAST_MONTH etc, which is then shown in a custom interface.
{
"facet-id": "id8",
"facet-label": "Declare Date",
"facet-value": [
{
"facet-id": "id8",
"facet-value-id": "THIS_YEAR",
"facet-value-count": 4,
"facet-value-constraint": "2017-01-01T00:00:00.000\\+0000/2018-01-01T00:00:00.000\\+0000",
"link": {
"rel": "search",
"href": "http://myserver:8080/dctm-rest/repositories/repo/search?inline=true&facet-id-constraints=id8%3D2017-01-01T00:00:00.000%5C%2B0000/2018-01-01T00:00:00.000%5C%2B0000"
}
},
{
"facet-id": "id8",
"facet-value-id": "LAST_MONTH",
"facet-value-count": 0,
"facet-value-constraint": "2017-08-01T00:00:00.000\\+0000/2017-09-01T00:00:00.000\\+0000",
"link": {
"rel": "search",
"href": "http://myserver:8080/dctm-rest/repositories/repo/search?inline=true&facet-id-constraints=id8%3D2017-08-01T00:00:00.000%5C%2B0000/2017-09-01T00:00:00.000%5C%2B0000"
}
},
{
"facet-id": "id8",
"facet-value-id": "LAST_YEAR",
"facet-value-count": 0,
"facet-value-constraint": "2016-01-01T00:00:00.000\\+0000/2017-01-01T00:00:00.000\\+0000",
"link": {
"rel": "search",
"href": "http://myserver:8080/dctm-rest/repositories/repo/search?inline=true&facet-id-constraints=id8%3D2016-01-01T00:00:00.000%5C%2B0000/2017-01-01T00:00:00.000%5C%2B0000"
}
},
]
},
On the same repository we have a D2 instance as well and D2 shows these facets in month/year format, like June 2017, July 2017 etc

Is there a way to get similar format using Documentum REST as well instead of LAST_MONTH, LAST_YEAR etc.