| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<wmservice-url>/updateConfigProperties |
|---|---|
| Parent Resource | Workflow Manager (Classic) Service |
returnCode response property and their meanings are as follows:
1 : All the properties are updated successfully.2 : All the properties are failed to update.3 : The properties are partially updated and the failed properties are listed as part of response.| Parameter | Details |
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json |
| user | Required Description: The username of the person who makes the update configuration properties request. The person must have AdministratorAccess Privilege. |
| properties | Required Description: A JSON object containing the system configuration propertes to update. At least one parameter from the list in below needs to be specified to update. F
Syntax:
{
"USE_STEP_STATUS":"<true | false>",
"SHOW_STEP_IDS":"<true | false>",
"DEFAULT_SENDER_EMAIL":"<defaultsenderEmail>",
"DEFAULT_SENDER_NAME":"<defaultsenderName>",
"HTML_SUPPORT":"<true | false>",
"JOB_ID_START_VALUE":"<jobIdstartingValue>",
"WF_SEL_STEP_FILL_COLOR":"<selectedstepfillColor>",
"WF_SEL_STEP_OUTLINE_COLOR":"<selectedstepoutlineColor>",
"WF_SEL_STEP_OUTLINE_WIDTH":"<1 | 2 | 3>",
"WF_SEL_STEP_TEXT_COLOR":"<selectedsteptextColor>",
"AOIOVERLAP":"<allow | disallow | disallowjobtype>",
"PROMPTSDEPWD":"<true | false>",
"AUTOASSIGNJOB":"<true | false>",
"AUTOCOMMITWORKFLOW":"<true | false>",
"AUTOSTATUSASSIGN":"<true | false>",
"SMTP_SERVER":"<SMTPServer>",
"CONFIRMPROCEDURALCHECK":"<true | false>",
"AUTOCLOSEJOB":"<true | false>",
"AOISELECTIONCOLOR":"<AOIselectionColor>",
"REQUIREPROCEDURALCHECKSTART":"<true | false>",
"USER_STORE":"<traditional | portal>",
"PENDING_DAYS_USE_HOLDS":"<true | false>",
"SEND_SN_CUSTOM_POST":"<true | false>",
"ZOOMTOAOI":"<true | false>",
"USEUSERDOMAIN":"<true | false>",
"SHOW_STEP_PERCENT_COMPLETE":"<true | false>",
"RESTRICT_AOI_OPTION":"<Warn | NoSelect | Off>",
"RESTRICT_AOI_OPERATOR":"<disjoint | !contains | default>",
"SMTP_USERNAME":"<SMTPUsername>",
"SMTP_PASSWORD":"<SMTPPassword>",
"SMTP_PORT":"<SMTPPort>",
"SMTP_PROTOCOL":"<SMTPProtocol>",
"SHOW_PENDING_DAYS":"<true | false>";
}
|
Example 1: URL for updating configuration properties in the "Workflow" service on sampleserver. The person who makes the request is "admin0000" and the properties to be updates including "AOIOVERLAP","USER_STORE", and "ZOOMTOAOI".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/updateConfigProperties?user=admin0000&properties={"AOIOVERLAP":"disallow","USER_STORE":"portal","ZOOMTOAOI":"true"}&f=pjsonAll the three properties are updated successfully and the returns code "1".
Example 2: URL for updating configuration properties in the "Workflow" service on sampleserver. The person who makes the request is "admin0000" and the properties to be updates including "ZOOMTOAOI","AOISELECTIONCOLOR", and "RESTRICT_AOI_OPTION".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/updateConfigProperties?user=admin0000&properties={"ZOOMTOAOI":"","AOISELECTIONCOLOR":"-1","RESTRICT_AOI_OPTION":""}&f=pjsonAll the three properties value are invalid and failed to be updated and returns code "2".
The correct URL is:
http://sampleserver/arcgis/rest/services/Workflow/WMServer/updateConfigProperties?user=admin0000&properties={"ZOOMTOAOI":"true","AOISELECTIONCOLOR":"255","RESTRICT_AOI_OPTION":"!contains"}&f=pjsonExample 3: URL for updating configuration properties in the "Workflow" service on sampleserver. The person who makes the request is "admin0000" and the properties to be updates including "AUTOASSIGNJOB","USE_STEP_STATUS", and "WF_SEL_STEP_OUTLINE_WIDTH".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/updateConfigProperties?user=admin0000&properties={"AUTOASSIGNJOB":"true","USE_STEP_STATUS":"off","WF_SEL_STEP_OUTLINE_WIDTH":"0"}&f=pjsonNot all the three properties value are invalid and failed to be updated. It returns code "3" and failed properties are listed.
The correct URL is:
http://sampleserver/arcgis/rest/services/Workflow/WMServer/updateConfigProperties?user=admin0000&properties={"AUTOASSIGNJOB":"true","USE_STEP_STATUS":"false","WF_SEL_STEP_OUTLINE_WIDTH":"1"}&f=pjson
{ "returnCode": 1 }
{ "returnCode": 2 }
{ "returnCode": 3,
"failedProperties": [
"property1",
"property2"
]
}
{ "returnCode": 1 }
{ "returnCode": 2 }
{ "returnCode": 3,
"failedProperties": [
"USE_STEP_STATUS",
"WF_SEL_STEP_OUTLINE_WIDTH"
]
}