Difference between revisions of "ChangeOwnerShipInfo"
From AgileApps Support Wiki
imported>Aeric (Created page with "{{DISPLAYTITLE:changeOwnerShipInfo}} Change the owner of a record. ;Requirements: To perform this operation, you must either: :* Own the record, :* Be a [[Syste…") |
imported>Aeric |
||
Line 7: | Line 7: | ||
:* Be a [[System Administrator]], or | :* Be a [[System Administrator]], or | ||
:* Have [[Change Ownership of my Team’s Records]] permission and be working on a record that is owned by someone on your [[Team]]. | :* Have [[Change Ownership of my Team’s Records]] permission and be working on a record that is owned by someone on your [[Team]]. | ||
{{Note|When adding a record with the [[addRecord]] method, it is only necessary to specify the owner in the requestParams: <tt>requestParams.add("owner_id", "some user id");</tt>}} | |||
;Syntax: | ;Syntax: |
Revision as of 01:15, 16 September 2011
Change the owner of a record.
- Requirements
To perform this operation, you must either:
- Own the record,
- Be a System Administrator, or
- Have Change Ownership of my Team’s Records permission and be working on a record that is owned by someone on your Team.
Note: When adding a record with the addRecord method, it is only necessary to specify the owner in the requestParams: requestParams.add("owner_id", "some user id");
- Syntax
Result result = __apiName__(String objectId, String fields, String criteria); Result result = __apiName__(String objectId, String fields, String criteria [, Parameters params] ); Result result = __apiName__(String objectId, String fields, String criteria); Result result = __apiName__(String objectId, String fields, String criteria, String sortBy, String sortOrder, String sortBy2, String sortOrder2, int offset, int numberOfRows);
- Parameters
-
- objectId
- The object identifier
- fields
- A comma-separated list of names of the fields to retrieve
- criteria
- A filter expression that specifies records to select.
- params
- Optional. A Parameters object that contains additional parameters.
- ...other parameters...
- Returns
- Result object
--or--
- An integer containing ...
- A string containing ...
- Throws
- Exception
- Example
- This example ....
...