10 Replies Latest reply on Nov 9, 2017 10:52 PM by Sanford Whiteman

    REST API: Not recognizing program id starts with number 0

    Rajesh Narayanan

      Hi,

       

      I'm trying to get the leads by program id. Most of our programs IDs are starting with number 0 (zero)..

      example 0816

       

      REST url: https://123-wzl-123.mktorest.com:443/rest/v1/leads/programs/0816.json?access_token=123

      Response:

       

      {

          "requestId": "16286#15f9fc20164",

          "success": false,

          "errors": [

              {

                  "code": "1013",

                  "message": "Program '816' not found"

              }

          ]

      }

       

      Looks like the api removing the 0 from the Program id.

       

      Can anyone please help me on this.

       

      Thanks.