Web API custom fieldsAnswered

When running limelm.pkey.getDetails if I have a  custom checkbox field it only shows in the json response if the value is 1, otherwise it is not showing up.

Shouldn't it show up also when the value is 0?

When 1:

"features": {
            "feature": [
                {
                    "name": "expireDate",
                    "value": "2024-03-25 20:51:00"
                },
                {
                    "name": "isSubscription",
                    "value": "1"
                }
            ]
        },

When 0:

"features": {
			"feature": [
				{
					"name": "expireDate",
					"value": "2024-03-25 20:51:00"
				}
			]
		},

Thanks!

Answer

Hey Henrique,

That's just how things are currently implemented. If a check-able value isn't set it's not returned.