Can't save date using WSDL

Vladimir's Avatar

Vladimir

26 Jul, 2016 04:22 PM

Hi all

I have an issue when I try to import data from my old DB to new Cascade using WSDL. I sent requests and all data which I want to store in data definition saved to DB, but I also want to use one of Meta Data field(Start Date, End Date, Review Date) to store date when post was created in old DB and as I can see date doesn't save to any of these fields.

I didn't get any error messages or log errors, so I don't know how to fix this error, and I am wondering is it even possible to save data to meta data fields?

If it is possible can someone share a code snippet(preferably .Net) to explain how it should work.

  1. 1 Posted by Wing Ming Chan on 26 Jul, 2016 05:13 PM

    Wing Ming Chan's Avatar
  2. 2 Posted by Ryan Griffith on 26 Jul, 2016 06:17 PM

    Ryan Griffith's Avatar

    Hi Vladimir,

    I also wanted to mention that timestamps are persisted in 13 digit format, so if you are attempting to enter 10 digits try multiplying by 1000 to see if that helps.

  3. 3 Posted by Vladimir on 27 Jul, 2016 09:12 AM

    Vladimir's Avatar

    Hi Wing,
    Thank you for links

    Hi Ryan
    I thought that I used wrong date format so I used dashboard to save "Start Date" field and then used that value and send new request to WSDL, and as I can see it didn't help. I hope Wing's links will help me resolve this issue.

  4. 4 Posted by Ryan Griffith on 27 Jul, 2016 12:11 PM

    Ryan Griffith's Avatar

    Hi there,

    When you have a moment, can you paste the relevant portion of your script so we can help take a closer look?

    Thanks!

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac