Skip to main content

According to documentation DateTime format is returned depending on http X-Ifs-Time-Zone-Aware-Request parameter value.

When we are performing request /main/ifsapplications/projection/v1/MeasurementsForObjectHandling.svc without the parameter 

we are getting response "RegDate": "2025-08-18T20:03:59Z",

when adding X-Ifs-Time-Zone-Aware-Request = "true"

response is  "RegDate": "2025-08-18T16:03:59Z", as I understand, according to the documentation it should return  "RegDate": "2025-08-18T16:03:59+04:00" since database timezone is configured to GMT+4

 

Hi ​@stasvb ,  Are you experiencing this with a specific endpoint, or does it occur with all the endpoints in the MeasurementsForObjectHandling.svc?
If possible, could you also share your API request here? That would be very helpful in identifying any clues.


Hi, we've tried two services:
/MeasurementsForObjectHandling.svc/EquipmentObjectMeasGroupSet(TestPntSeq=xxx,ParameterCode='yyy')

and

/TechPortalMeasurementHandling.svc/AllMeasurementParamSet(DummyTrue='TRUE')/ParametersPreviousArray?$select=Contract,MchCode,ParameterCode,TestPntSeq,TestPointId,MeterId,PrevPrelRecExists,MeterFlipValue,ParameterWithUoM,LatestValidRecordValue,RegistrationDate,Objgrants,luname,keyref&$expand=MeasurementParamRef($select=MeterIdRequired,MeasurementParamType,Objgrants,luname,keyref),TestPointRef($select=Description,Objgrants,luname,keyref)&$skip=0&$top=25&odata-debug=json"

both returned time in the same format but different values, depending on X-Ifs-Time-Zone-Aware-Request value. 

 

Hope that helps.

 


Reply