Announcement

Collapse
No announcement yet.

Problems with Channel Variable in JSON string to http Sender

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with Channel Variable in JSON string to http Sender

    Hi,

    I have a strange behavior, when I put a variable with an Integer Doc ID into the destination content of a http sender:

    it always adds a + .0 to the Doc Id.

    the Doc Id is now some kind of float and rejected by the web api, because it is expecting a 'System.Int64'

    what I've already tried is to cast the variable as int in the mapping

    Anyone can help me on this?
    Work for a NPO health care provider in Berlin
    • Current Version of MC 3.4.1.770 with the onboard MySQL Database on a Windows Server 2012 R2

  • #2
    Can you post the code that you are using?

    Comment


    • #3
      ok, found my mistake: forgot to remove the quotes from the JSON string value
      Work for a NPO health care provider in Berlin
      • Current Version of MC 3.4.1.770 with the onboard MySQL Database on a Windows Server 2012 R2

      Comment

      Working...
      X