Removes a static option value from a property set field. Only fields with a COMBO BOX, LIST BOX, or RADIO BUTTON control type have option values. This operation is idempotent -“ if the option does not exist, the call succeeds without error.
/srv.asmx/DeletePropertySetFieldOption
/srv.asmx/DeletePropertySetFieldOption?authenticationTicket=...&PropertySetName=...&FieldName=...&OptionValue=.../srv.asmx/DeletePropertySetFieldOption (form data)http://tempuri.org/DeletePropertySetFieldOption| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
PropertySetName |
string | Yes | Name of the property set that contains the field. |
FieldName |
string | Yes | Internal name of the field. |
OptionValue |
string | Yes | The exact option value to remove. Case-sensitive. |
<response success="true" error="" />
<response success="false" error="Access denied." />
The calling user must be a System Administrator.
Anonymous access is not permitted.
GET /srv.asmx/DeletePropertySetFieldOption
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&PropertySetName=ProjectMetadata
&FieldName=STATUS
&OptionValue=In+Progress
HTTP/1.1
Host: yourserver
POST /srv.asmx/DeletePropertySetFieldOption HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&PropertySetName=ProjectMetadata&FieldName=STATUS&OptionValue=In+Progress
OptionValue matching is case-sensitive -“ "active" and "Active" are treated as different values.| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Access Denied | Calling user is not a System Administrator. |
| Property set not found | No property set with the specified PropertySetName exists. |
| Field not found | No field with the specified FieldName exists in the property set. |