Solved

Décalage horaire sur les downtimes appliqués en RestApi v2

  • 17 May 2022
  • 2 replies
  • 123 views

Badge +2

Hello,

 

When I apply a downtime on a Centreon host in REST V2 API, I have a 2h time difference.

I don't find this time difference when using CLAPI (or REST API V1)

 

The user with whom I generated an API token has a Europe/Paris timezone configured in his profile.

 

It looks very strongly like a timezone problem but I don't see where to fix it, do you know where it could come from? Do you have the same behavior on your Centreon platform?

 

Thanks and regards

icon

Best answer by qleg 20 May 2022, 16:50

View original

2 replies

Userlevel 5
Badge +11

Hi @qleg, Please ask your problem in English. This will help all other non-french speaking users who have the same issue to benefit from the solutions that will be proposed. Thank you for your understanding 😊

Badge +2

The API requires an ISO8601 format for the dates.

Example: 2022-04-07T15:00:00+02:00

Resolved

Reply