AnsweredAssumed Answered

REST API: Not recognizing program id starts with number 0

Question asked by 4140fa790005ba2f3b41f26f00d969b9396f83f5 on Nov 8, 2017
Latest reply on Nov 9, 2017 by Sanford Whiteman

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.

Outcomes