Using Connect Enterprise Web Services |
|||
| Action reference > acl-field-update | |||
Breeze 5; Connect Enterprise Web Services 6
Updates the value of a field that belongs to a principal, SCO, or account.
The principal, SCO, or account belongs to at least one access control list (ACL), which lists the principals that have permission to access the principal, SCO, or account.
Call acl-field-info to determine the fields the principal, SCO, or account has. In the response, you can see the field-id you need for the request to acl-field-update:
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
<acl-fields>
<field acl-id="2006258745" field-id="email">
<value>joy@acme.com</value>
</field> ...
</acl-fields>
</results>
You can specify multiple trios of acl-id, field-id, and value. If you do, use an HTTP POST method, rather than a GET, to make the request. The GET method has limitations that might cause the request to be truncated. With a POST, you can add about 50 trios to the request.
To call acl-field-update, you need modify permission on the principal, SCO, or account.
http://server_name/api/xml ?action=acl-field-update &acl-id=integer&field-id=string&value=string&session=BreezeSessionCookieValue
|
Name |
Type |
Required |
Description |
|---|---|---|---|
acl-id
|
Integer |
Y |
The ID of the SCO, principal, or account. Can be a valid |
field-id
|
String |
Y |
The name of the field for which you want to update value. The field can be a server-defined field or a custom field. A custom field has a field-id starting with |
value
|
String |
Y |
The value to set. |
session
|
String |
N |
The value of the |
Results cannot be filtered or sorted.
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code=allowedValue />
</results>
|
Element |
Attribute |
Type |
Description |
|---|---|---|---|
|
|
Container |
All results the action returns. |
status
|
|
Empty, with attributes |
The status of the response. |
|
|
Allowed value |
A code indicating the response status (see status). |
https://example.com/api/xml?action=acl-field-update&acl-id=2006404141
&field-id=first-name&value=john
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
</results>
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/04a_act5.htm