Project

General

Profile

Actions

Improvement #9993

open

Remove null and false attributes from payload

Added by Arshana Atapattu about 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
None
Assignee:
-
Start date:
13/03/2023
Due date:
% Done:

0%

Estimated time:

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":[
]
}
Actions #1

Updated by Viranga Gunarathna almost 2 years ago

  • Project changed from product-uem 5.3.0 GA to 32
Actions #2

Updated by Viranga Gunarathna almost 2 years ago

  • Project changed from 32 to 33
Actions #3

Updated by Viranga Gunarathna about 1 year ago

  • Project changed from 33 to Backlog
Actions

Also available in: Atom PDF