RemoveReference
|
||
Revision history:
Introduced in QPR 8.1
Remove references to objects (defined in targetObjectIds) in referenceAttribute of objects defined by objectIds. Reference attributes define relations between objects and e.g. Portal actions have parents and external parents as reference attributes.
Synopsis:
void RemoveRefence(string sessionId, string objectIds, string referenceAttribute, string targetObjectIds, string options)
Return Value:
None.
Parameters:
sessionId: String. ID of an authenticated session.
objectIds: String. A comma-separated list of FullID's of objects to be modified
referenceAttribute: String. Name of the reference attribute.
targetObjectIds: String. A comma-separated list of FullID's that are to be removed from the reference attributes
options: String. A comma-separated list of options for the command. Note that there can be also mandatory options specific to product and object type.
Example Procedure:
ServiceClient client = new ServiceClient("WSHttpBinding_IService");
string sessionId = client.Authenticate("qpr", "demo");
client.RemoveReference(sessionId, "PO.0.12345", "parentobjects", "PO.0.67890, PO.0.112233", "");
client.LogOff(sessionId);
client.Close();