GUOIDLookupGUOID Method (ConnectionId, SessionId, String, Int32, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Transforms a list of GUOID of the Unit, Category or Document type to a list of id:s and type of object. The list items must be separated by a pipe (|). This is the backwards compatible implementation of this method. This implementation does not throw any exceptions, instead callers must examine the outcome of the call in the Status and StatusText output parameters.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string LookupGUOID(
	ConnectionId connectionId,
	SessionId sessionId,
	string xmlData,
	out int status,
	out string statusText
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
xmlData
Type: SystemString
A xml document that contains input parameters.
status
Type: SystemInt32
An integer indicating result of the call. Zero is success.
statusText
Type: SystemString
The textual representation of the call result.

Return Value

Type: String
XML
Content Studio permissions

All users with a valid session can execute this method. Anonymous access is not supported.
Remarks

The returned data is an XML document where each row has the format <object id="17" guoid="OK00000000G0000G0000GFACAG000000000017" class="D" /> depending on the data returned. The procedure omits duplicate records and invalid GUOIDs but returns GUOIDs that does not exists in the system. Status returns 0 Success 1001 Invalid Session 1009 Invalid parameter value XML input <root> <parameters> <parameter name="list">KT00000000G0000G0000GFACAG000000000001|KT00000000G0000G0000GFACAG000000000002</parameter> </parameters> </root> Return XML <root> <list> <object id="1" guoid="KT00000000G0000G0000GFACAG000000000001" class="C" filename=""/> <object id="2" guoid="KT00000000G0000G0000GFACAG000000000002" class="C" filename=""/> <!-- more object may follow --> </list> </root>
See Also

Reference