List Response Code

If success on List request, you should get JSON response with the list of records result eg.



{

      "customers": [

            {

                  "contactid": 1,

                  "firstname": "John",

                  "lastname": "Due",

                  "email": "[email protected]"

            },

            {

                  "contactid": 2,

                  "firstname": "Jane",

                  "lastname": "Goodall",

                  "email": "[email protected]"

            },

            {

                  "contactid": 3,

                  "firstname": "Max",

                  "lastname": "Born",

                  "email": "[email protected]"

            },

            {

                  "contactid": 4,

                  "firstname": "Shannon",

                  "lastname": "Lucid",

                  "email": "[email protected]"

            }

      ]

}

 

If failure on List request, you should get JSON response eg.

{

      "Code": "[error response code]",

      "Message": "[reason message]"

}