REST API:tenantCapabilities Resource
From AgileApps Support Wiki
Revision as of 21:26, 27 May 2011 by imported>Alice (removed Manage Snapshot)
Access Permissions
Users that have the Manage Tenants and Company Capabilities permission can use this REST API resource.
Get Tenant Capabilities
- URI
- https://{domain}/networking/rest/tenantCapabilities/{tenant_id}
- Response
- <syntaxhighlight lang="xml" enclose="div">
<platform>
<tenantCapabilities> <id>1325580066</id> <create_objects>true</create_objects> <create_application>true</create_application> <custom_access_criteria>true</custom_access_criteria> <developer_tools>true</developer_tools> <digital_signature>true</digital_signature> <manage_sites>true</manage_sites> <mass_deployment_of_packages>true</mass_deployment_of_packages> <multiple_languages>true</multiple_languages> <multiple_record_owner>true</multiple_record_owner> <object_inheritance>true</object_inheritance> <overwrite_previous_package>true</overwrite_previous_package> <package_system_generated_objects>true</package_system_generated_objects> <publish_package>true</publish_package> <install_package_from_file>true</install_package_from_file> <synchronous_rollup_summary_fields>true</synchronous_rollup_summary_fields> <field_encryption>true</field_encryption> <rollup_field_count>11</rollup_field_count> <active>true</active> </tenantCapabilities>
<message>
0
<description>Success</description>
</message>
</platform> </syntaxhighlight>
- See also: REST API:Error Codes
Update Tenant Capabilities
- Method
- PUT
- URI
- https://{domain}/networking/rest/tenantCapabilities/{tenant_id}
- Request
- <syntaxhighlight lang="xml" enclose="div">
<platform>
<tenantCapabilities> <create_objects>true</create_objects> <create_application>true</create_application> <custom_access_criteria>true</custom_access_criteria> <developer_tools>true</developer_tools> <digital_signature>true</digital_signature> <manage_sites>true</manage_sites> <mass_deployment_of_packages>true</mass_deployment_of_packages> <multiple_languages>true</multiple_languages> <multiple_record_owner>true</multiple_record_owner> <object_inheritance>true</object_inheritance> <overwrite_previous_package>true</overwrite_previous_package> <package_system_generated_objects>true</package_system_generated_objects> <publish_package>true</publish_package> <install_package_from_file>true</install_package_from_file> <synchronous_rollup_summary_fields>true</synchronous_rollup_summary_fields> <field_encryption>true</field_encryption> <rollup_field_count>11</rollup_field_count> <active>true</active> </tenantCapabilities>
</platform> </syntaxhighlight>
- Response
- <syntaxhighlight lang="xml" enclose="div">
<platform>
<message>
0
<description>Success</description>
</message>
</platform> </syntaxhighlight>
- See also: REST API:Error Codes