Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
PeopleSof REST API result formatting
Hi,
We have designed an Get API where we are providing the client with a list of dates. The current format is shown below:
"minimumEffectiveDate": "2018-03-01",
"availableDates": [
{
"date": "2018-03-02"
},
{
"date": "2018-03-03"
},
{
"date": "2018-03-04"
},
{
"date": "2018-03-07"
}
Client requires the dates to show in the following format:
"minimumEffectiveDate": "2018-03-01",
"availableDates": [
"2018-03-02"
"2018-03-03"
"2018-03-07"
]
Any recommendation how this can be achieved? Thanks in advance
0