# Retrieve the full configuration details of a Restrictions payload item Get Windows restriction payload details ## Endpoint **GET** `/api/v1/mdm/profiles/{profile_id}/payloads/windowsrestrictionpolicy/payloaditems/{payload_id}` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/windowsrestrictionpolicy/payloaditems/{payload_id}` ## Scope `MDMDeviceMgmt.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory**: `application/json` ### Path Parameters - **profile_id** `string` **Mandatory**: Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-profiles-get-profile.html) response - **payload_id** `string` **Mandatory**: Unique identifier of the payload item. Obtain from the [Get Payload Item IDs](https://www.manageengine.com/products/desktop-central/help/api/onpremise/windows-get-restrictions-payload-windows.html) response ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/windowsrestrictionpolicy/payloaditems/{payload_id} \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **payload_id** `long`: Unique identifier of the payload item - **enforce_device_encription** `boolean`: Enforce Device Encription. Default: false - **disable_sd_card** `boolean`: Disable Sd Card. Default: false - **allow_use_of_camera** `boolean`: Allow Use Of Camera. Default: true - **allow_screen_capture** `boolean`: Allow Screen Capture. Default: true - **allow_store** `boolean`: Allow Store. Default: true - **allow_storage_card** `boolean`: Allow Storage Card. Default: true - **allow_browser** `boolean`: Allow Browser. Default: true - **allow_bluetooth** `boolean`: Allow Bluetooth. Default: true - **allow_telemetry** `integer`: Allow Telemetry. Default: 2 - **allow_nfc** `boolean`: Allow Nfc. Default: true - **allow_usb** `boolean`: Allow Usb. Default: true - **allow_wifi** `boolean`: Allow Wifi. Default: true - **allow_manual_wifi_config** `boolean`: Allow Manual Wifi Config. Default: true - **allow_wifi_hotspot** `boolean`: Allow Wifi Hotspot. Default: true - **allow_auto_wifi_hotspot** `boolean`: Allow Auto Wifi Hotspot. Default: true - **allow_internet_sharing** `boolean`: Allow Internet Sharing. Default: true - **allow_vpn** `boolean`: Allow Vpn. Default: true - **allow_vpn_roaming** `boolean`: Allow Vpn Roaming. Default: true - **allow_vpn_over_data** `string`: Allow Vpn Over Data. Default: userConfig - **allow_vpn_over_data_roaming** `string`: Allow Vpn Over Data Roaming. Default: userConfig - **allow_data_roaming** `boolean`: Allow Data Roaming. Default: true - **allow_copy_paste** `boolean`: Allow Copy Paste. Default: true - **allow_location** `integer`: Allow Location. Default: true - **allow_microsoft_account** `boolean`: Allow Microsoft Account. Default: true - **allow_adding_non_microsoft** `boolean`: Allow Adding Non Microsoft. Default: true - **allow_root_certificate_install** `boolean`: Allow Root Certificate Install. Default: true - **allow_developer_unlock** `boolean`: Allow Developer Unlock. Default: true - **allow_developer_unlock_new** `string`: Allow Developer Unlock New. Default: userConfig - **allow_user_reset_phone** `boolean`: Allow User Reset Phone. Default: true - **allow_action_notification** `boolean`: Allow Action Notification. Default: true - **allow_cortana** `boolean`: Allow Cortana. Default: true - **allow_voice_recording** `boolean`: Allow Voice Recording. Default: true - **allow_save_as_office_files** `boolean`: Allow Save As Office Files. Default: true - **allow_sharing_office_files** `boolean`: Allow Sharing Office Files. Default: true - **allow_sync_my_settings** `boolean`: Allow Sync My Settings. Default: true - **allow_search_use_location** `boolean`: Allow Search Use Location. Default: true - **safe_search_permissions** `integer`: Safe Search Permissions. Default: -1 - **allow_storing_image_search** `boolean`: Allow Storing Image Search. Default: true - **allow_toast** `boolean`: Allow Toast. Default: true - **limit_appdata_to_sys_vol** `boolean`: Limit Appdata To Sys Vol. Default: false - **limit_appinstall_to_sys_vol** `boolean`: Limit Appinstall To Sys Vol. Default: false - **allow_all_trusted_apps** `integer`: Allow All Trusted Apps. Default: 65535 - **allow_appstore_auto_update** `integer`: Allow Appstore Auto Update. Default: -999 - **require_private_store_only** `boolean`: Require Private Store Only. Default: false - **allow_bluetooth_advertising** `boolean`: Allow Bluetooth Advertising. Default: true - **allow_bluetooth_discoverable** `boolean`: Allow Bluetooth Discoverable. Default: true - **allow_bluetooth_prepairing** `boolean`: Allow Bluetooth Prepairing. Default: true - **browser_allow_cookies** `string`: Browser Allow Cookies. Default: userConfig - **browser_allow_donot_track** `string`: Browser Allow Donot Track. Default: userConfig - **browser_allow_extensions** `boolean`: Browser Allow Extensions. Default: true - **browser_clear_browsing_data_exit** `integer`: Browser Clear Browsing Data Exit. Default: -999 - **browser_about_flags_access** `boolean`: Browser About Flags Access. Default: true - **browser_allow_address_bar_dropdown** `boolean`: Browser Allow Address Bar Dropdown. Default: true - **browser_allow_flash** `integer`: Browser Allow Flash. Default: -999 - **browser_run_flash_automatically** `boolean`: Browser Run Flash Automatically. Default: false - **browser_allow_autofill** `integer`: Browser Allow Autofill. Default: -999 - **browser_allow_popups** `integer`: Browser Allow Popups. Default: -999 - **browser_allow_developer_tools** `boolean`: Browser Allow Developer Tools. Default: true - **browser_home_page** `string`: Browser Home Page - **browser_allow_inprivate** `boolean`: Browser Allow Inprivate. Default: true - **browser_allow_passmgr** `string`: Browser Allow Passmgr. Default: userConfig - **browser_allow_searchsuggest** `string`: Browser Allow Searchsuggest. Default: userConfig - **browser_allow_smartscreen** `string`: Browser Allow Smartscreen. Default: userConfig - **browser_smartscreen_prompt** `string`: Browser Smartscreen Prompt. Default: userConfig - **browser_smartscreen_files** `string`: Browser Smartscreen Files. Default: userConfig - **allow_cellular_data** `integer`: Allow Cellular Data. Default: 1 - **allow_vpn_setting** `boolean`: Allow Vpn Setting. Default: true - **allow_fips_policy** `boolean`: Allow Fips Policy. Default: false - **ms_feedback_notif** `integer`: Ms Feedback Notif. Default: 0 - **allow_add_prov_package** `boolean`: Allow Add Prov Package. Default: true - **allow_remove_prov_package** `boolean`: Allow Remove Prov Package. Default: true - **enable_anti_theft_mode** `integer`: Enable Anti Theft Mode. Default: 1 - **allow_date_time** `boolean`: Allow Date Time. Default: true - **allow_edit_device_name** `boolean`: Allow Edit Device Name. Default: true ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Full configuration details of Restrictions payload item ```json { "allow_sharing_office_files": true, "browser_allow_extensions": true, "allow_nfc": true, "allow_vpn_over_data": "userConfig", "browser_allow_autofill": "-999", "allow_all_trusted_apps": "65535", "allow_bluetooth_discoverable": true, "allow_action_notification": true, "allow_appstore_auto_update": "-999", "allow_developer_unlock": true, "allow_bluetooth_advertising": true, "disable_sd_card": false, "allow_screen_capture": true, "browser_allow_developer_tools": true, "allow_microsoft_account": true, "allow_cellular_data": "1", "allow_use_of_camera": true, "browser_allow_address_bar_dropdown": true, "browser_home_page": "", "allow_data_roaming": true, "safe_search_permissions": "-1", "allow_user_reset_phone": true, "allow_location": "1", "allow_vpn_roaming": true, "browser_allow_inprivate": true, "browser_allow_popups": "-999", "allow_search_use_location": true, "allow_store": true, "allow_sync_my_settings": true, "allow_save_as_office_files": true, "allow_usb": true, "allow_fips_policy": false, "allow_storage_card": true, "allow_adding_non_microsoft": true, "browser_smartscreen_prompt": "userConfig", "allow_wifi": true, "browser_allow_donot_track": "userConfig", "allow_internet_sharing": true, "allow_cortana": true, "allow_voice_recording": true, "limit_appdata_to_sys_vol": false, "browser_clear_browsing_data_exit": "-999", "enforce_device_encription": false, "allow_vpn": true, "allow_root_certificate_install": true, "allow_bluetooth": true, "ms_feedback_notif": "0", "allow_telemetry": "2", "allow_vpn_setting": true, "require_private_store_only": false, "browser_allow_passmgr": "userConfig", "allow_add_prov_package": true, "limit_appinstall_to_sys_vol": false, "allow_developer_unlock_new": "userConfig", "browser_allow_searchsuggest": "userConfig", "payload_id": "9007199254741295", "allow_vpn_over_data_roaming": "userConfig", "allow_remove_prov_package": true, "browser_smartscreen_files": "userConfig", "allow_edit_device_name": true, "allow_toast": true, "allow_storing_image_search": true, "enable_anti_theft_mode": "1", "browser_allow_flash": "-999", "allow_auto_wifi_hotspot": true, "allow_date_time": true, "allow_manual_wifi_config": false, "browser_allow_smartscreen": "userConfig", "allow_copy_paste": true, "allow_browser": true, "browser_allow_cookies": "userConfig", "browser_run_flash_automatically": true, "browser_about_flags_access": true, "allow_wifi_hotspot": true, "allow_bluetooth_prepairing": true } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.