title: MFP 8 - error parsing JSON object when using MobileFirst Push API
body: <p>I am getting the following error when I tried to used the push API to send a notification. The JSON object works in version V7.1</p>
  
  <pre><code>{
    "code": "FPWSE0011E",
    "message": "Bad Request - The JSON validation failed at 'target'.",
    "productVersion": "8.0.0.00-20161122-1902"
  }
  </code></pre>
  
  <p>Here is my JSON object</p>
  
  <pre><code>{
    "message": {
      "alert": "hello"
    },
    "settings": {
      "apns": {
        "badge": 1,
        "iosActionKey": "Ok",
        "payload": {
            "messageType": "HELLO",
              "detail": "Here's your message details."
        },
        "sound": "song.mp3"
      },
      "gcm": {
        "payload": {},
        "sound": "song.mp3"
      }
    },
    "target": {
      "consumerIds": [],
      "deviceIds": ["4A1086CF-873A-4404-BE2D-200EA6BDA8AD"],
      "platforms": [
        "A","G"
      ]
    }
  }
  </code></pre>
  
  <p>I am using the admin RestAPi interface</p>
  
  <pre><code>https://myserver/mfpadmin/management-apis/2.0/runtimes/mfp/notifications/applications/com.myjobs/messages
  </code></pre>
  
  <p>I followed the format from the documentation
  <a href="http://www.ibm.com/support/knowledgecenter/SSHS8R_8.0.0/com.ibm.worklight.apiref.doc/apiref/r_restapi_send_message_post.html" rel="nofollow noreferrer">http://www.ibm.com/support/knowledgecenter/SSHS8R_8.0.0/com.ibm.worklight.apiref.doc/apiref/r_restapi_send_message_post.html</a></p>
  
  <p>Thanks for your help</p>