FRAMES | NO FRAMES Description | Parameters | Examples | Response
Create User Query Container (Operation)
URL http://<users-url>/<username>/createQueryContainer
Parent Resource User

Description

This operation is supported from 10.3.1 onwards.

Creates a user query container.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required

Description: The user name of the person who makes the create query container request. The user who has "ManageQuery" privilege can create their own personal query containers.
name Required

Description: The user query container name to create.
parentId Description: The parent query container ID for the new query container. If no parentId is specified, the new query container will be created in the "User Queries" container as the parent container.

Example Usage

Example: URL for Andy Miller to create his own user query container named "New Query Container" in the "Workflow" service on sampleserver. Andy Miller has "ManageQuery" privilege and user name is "amiller". The parent query container ID is "1281".

http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/users/amiller/createQueryContainer?user=amiller&name=New+Query+Container&parentId=1281&f=pjson

JSON Response Syntax

{ "Id": <querycontainerId> }

JSON Response Example

{ "Id": 6401 }