Jump to content
Changes to the Jaspersoft community edition download ×

How to change timeformat in jasper rest api rest_v2/resources? creation date format in response.


srikanta.rath20

Recommended Posts

How to change timeformat in jasper rest api http://:/jasperserver[-pro]/rest_v2/resources? creation date format in response.

Ex: current datetime format "creationDate": "2013-07-04T12:18:47" change to new format "creationDate": "2013-07-04T12:18:47+05:30"

rest API response:

{  "resourceLookup": [    {      "version": 0,      "permissionMask": 1,      "creationDate": "2019-02-18T13:24:03",      "updateDate": "2019-02-18T13:24:03",      "label": "xxxxxxxxxxxxx.html",      "description": "DemoReport",      "uri": "xxxxxxxxxxxxxxxxxxxxxx.html",      "resourceType": "file"    },    {      "version": 0,      "permissionMask": 1,      "creationDate": "2019-02-18T12:38:40",      "updateDate": "2019-02-18T12:38:40",      "label": "xxxxxxxxxxxxxxxxxxx.html",      "description": "created by prabha",      "uri": "xxxxxxxxxxxxxxxxxxxxxxxxx.html",      "resourceType": "file"    }  ]}[/code]
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...