Avatar

GETTING DATA OF REMAINING DISTANCE UNTIL NEXT SERVICE

0

HI,

WHEN I TRY TO FETCH THE DATA FOR REMAINING DISTANCE UNTIL NEXT SERVICE PASSING THE TO AND FROM PARAMS, I AM ALSO GETTING ONE EXTRA OBJECT IN THE DATA ARRAY WITH THE CURRENT TIME(THE TIME AT WHICH API CALL IS MADE) AND THE LAST VALUE OF THAT FIELD WHICH IS OLD. HOW CAN I DIFFERENTIATE WHETHER ITS THE CURRENT DATA OR OLD DATA.

ONE THING THAT I HAVE NOTICED IS THAT ID FIELD IS COMING AS NULL IN THIS DATA OBJECT. IS THIS THE CORRECT WAY TO DETERMINE WHETHER ITS THE CURRENT DATA OR OLD DATA?

Deepanshu Pathak

Please sign in to leave a comment.

1 comment

0
Avatar

Deepanshu,

Apologies that this was missed. If this is still an issue, please provide the call and sample response (removing any PII) and we can review and assist.

Mauricio Muniz 0 votes