Improvement #9993
openRemove null and false attributes from payload
0%
Description
Description
With a several policies the policy bundle payload could be very large.
It is possible to reduce the size of the payload by removing the false and null attributes from payload. Send only the values and 'true' attributes.
Ex: Below payload has the several null and false values.
{
"policyName":"Temp policy Bundle 2",
"description":"Temp policy Bundle Description 2",
"compliance":"enforce",
"ownershipType":null,
"active":true,
"policyType":"GENERAL",
"profile":{
"profileName":"Temp policy Bundle 2",
"deviceType":"android",
"profileFeaturesList":[
{
"featureCode":"PASSCODE_POLICY",
"deviceType":"android",
"content":{
"allowSimple":true,
"requireAlphanumeric":true,
"minLength":null,
"minComplexChars":null,
"maxPINAgeInDays":null,
"pinHistory":null,
"maxFailedAttemptsDeviceLock":null,
"maxFailedAttemptsDeviceWipe":null,
"maxTimeToLock":null,
"passcodePolicyWPExist":false
},
"correctiveActions":[
]
},
},
"deviceGroups":[
{
"id":5,
"name":"Group - 2"
}
],
"roles":[
"ANY"
],
"users":[
]
}
Updated by Viranga Gunarathna almost 2 years ago
- Project changed from product-uem 5.3.0 GA to 32
Updated by Viranga Gunarathna about 1 year ago
- Project changed from 33 to Backlog