cancel
Showing results for 
Search instead for 
Did you mean: 

InboundPriceRow date issue with CPI

tapash
Explorer
0 Kudos

Hi Team,

we are trying InboundPriceRow Integration from CPI to Commerce Cloud Version 2211.5, we have noticed that CPI team is sending the startTime and endTime as "startTime": "2017-01-29 00:00:00", but the OOTB json created for the inbound object accept in "startTime": "/Date(1577836800000)/".

Can you please help as to how this can be handled at either CPI or CC side so as to allow fluent flow of the integration object data.

romitchhabra
Participant
0 Kudos

Hi,

Are you sure that "2017-01-29 00:00:00" is being converted to 1577836800000 and not to 1485628200?

Accepted Solutions (0)

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Kudos

hello Tapash,

You can write groovy script to convert the same.Lot of content available in community and you can search for epoch time conversion to get more answers.Below one should help you.

https://answers.sap.com/questions/387626/converting-date-format-from-systemdate-to-epochuni.html?chi...

Regards,

Sriprasad S Bhat