UCommerce Web Services

<back to all web services

ContentRoot

The following routes are available for this service:
All Verbs/ucommerceapi/Content/{ServiceType}/RootNode

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/ContentRoot HTTP/1.1 
Host: burnets.co.nz 
Content-Type: application/xml
Content-Length: length

<ContentRoot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCommerce.Web.Api.Services.Content">
  <ServiceType>String</ServiceType>
</ContentRoot>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<NodeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCommerce.Web">
  <autoload>false</autoload>
  <dimNode>false</dimNode>
  <hasChildren>false</hasChildren>
  <icon>String</icon>
  <id>String</id>
  <name>String</name>
  <nodeType>String</nodeType>
  <options xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType i:nil="true" />
  </options>
  <url>String</url>
</NodeItem>