Method Community

 

Error while inserting/Updating DateTime field

Last post 02-06-2020 10:40 AM by Laks_Method. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-06-2020 9:22 AM

    Error while inserting/Updating DateTime field

    Hi,

    We are trying to update dateTime field using 

    https://www.methodintegration.com/MethodAPI/service.asmx/MethodAPIUpdateV2

    But we are getting error response. Please specify what should be expected format to update/insert datetime in table.

    <?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "2020-­02-­04 5:00:00 AM must be a date value." ></MethodAPI>

    <?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "2020-­02-­04 5:00:00 must be a date value." ></MethodAPI>

    <?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "1580810400 must be a date value." ></MethodAPI>

  • 02-06-2020 10:40 AM In reply to

    Re: Error while inserting/Updating DateTime field

    Hello OUG Developer,

    Thanks for reaching out. Both these formats 2020-­02-­04 5:00:00 AM or 2020-­02-­04 5:00:00 are supported. Need more account specific details to figure out why it is not working for your account. Can you email the xml request to api@method.me with the name of your CompanyAccount?

    Laks Sahayaprasath
    Product Manager
    Method CRM
Page 1 of 1 (2 items)