Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Service Information Management Domain > Retrieving and Expanding the Contents of a Publication Structure
  
Retrieving and Expanding the Contents of a Publication Structure
This example shows you how to retrieve and expand the contents of a publication structure. The retrieved contents are sorted by line number. Use the following POST request, with the ServiceObjectUsesLineNumber property.
URI
POST /Windchill/servlet/odata/ServiceInfoMgmt/PublicationStructures('OR:wt.part.WTPart:258646')/PTC.ServiceInfoMgmt.GetStructure?$expand=Children($levels=max ;$orderby=ServiceObjectUsesLineNumber) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"NavigationCriteriaId":"OR:wt.filter.NavigationCriteria:270048"
}
You can choose not to specify the navigation criteria. In this case, the request body is empty, that is, {}. The default navigation criteria is used.