GetParent

Signature

http://CdmServer.com:port/dmwebservices/index.php?
q=GetParent/alias/pointer/format

  • alias is a collection alias
  • pointer is the pointer of the item whose parent you want to get
  • format is either xml or json

Returns

This function returns the pointer of the item that is the parent of the pointer in the URL signature. If no parent is found, this function returns "-1".

Example

http://CdmServer.com:port/dmwebservices/index.php?
q=GetParent/ukr/83062/xml

returns:

< parent>83090</parent>