SLnet.WebExtApi

<back to all web services

CreateFolder

Generic API

The following routes are available for this service:
POST/api/documents/foldercreateCreate a directory on documents structure

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/CreateFolder HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/xml
Content-Length: length

<CreateFolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.ServiceInterface.WebAPI.Api">
  <DomainName xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">String</DomainName>
  <FileID xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">String</FileID>
  <Domain>0</Domain>
  <FolderKind>0</FolderKind>
  <Folders xmlns:d2p1="http://schemas.datacontract.org/2004/07/SLnet.Sand.Base.Documents">
    <d2p1:slsWebDocumentInfo>
      <d2p1:_x003C_Completed_x003E_k__BackingField>0</d2p1:_x003C_Completed_x003E_k__BackingField>
      <d2p1:_x003C_CreationDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_CreationDate_x003E_k__BackingField>
      <d2p1:_x003C_Description_x003E_k__BackingField>String</d2p1:_x003C_Description_x003E_k__BackingField>
      <d2p1:_x003C_Domain_x003E_k__BackingField>0</d2p1:_x003C_Domain_x003E_k__BackingField>
      <d2p1:_x003C_FileName_x003E_k__BackingField>String</d2p1:_x003C_FileName_x003E_k__BackingField>
      <d2p1:_x003C_ID_x003E_k__BackingField>String</d2p1:_x003C_ID_x003E_k__BackingField>
      <d2p1:_x003C_Kind_x003E_k__BackingField>0</d2p1:_x003C_Kind_x003E_k__BackingField>
      <d2p1:_x003C_LinkID_x003E_k__BackingField>String</d2p1:_x003C_LinkID_x003E_k__BackingField>
      <d2p1:_x003C_Locked_x003E_k__BackingField>0</d2p1:_x003C_Locked_x003E_k__BackingField>
      <d2p1:_x003C_ModifiedDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_ModifiedDate_x003E_k__BackingField>
      <d2p1:_x003C_NodeIsTemplate_x003E_k__BackingField>false</d2p1:_x003C_NodeIsTemplate_x003E_k__BackingField>
      <d2p1:_x003C_NodeObject_x003E_k__BackingField />
      <d2p1:_x003C_NodePath_x003E_k__BackingField>String</d2p1:_x003C_NodePath_x003E_k__BackingField>
      <d2p1:_x003C_NodeType_x003E_k__BackingField>providerNode</d2p1:_x003C_NodeType_x003E_k__BackingField>
      <d2p1:_x003C_Origin_x003E_k__BackingField>0</d2p1:_x003C_Origin_x003E_k__BackingField>
      <d2p1:_x003C_OwnerID_x003E_k__BackingField>String</d2p1:_x003C_OwnerID_x003E_k__BackingField>
      <d2p1:_x003C_ParentID_x003E_k__BackingField>String</d2p1:_x003C_ParentID_x003E_k__BackingField>
      <d2p1:_x003C_RelativeID_x003E_k__BackingField>String</d2p1:_x003C_RelativeID_x003E_k__BackingField>
      <d2p1:_x003C_RevisionID_x003E_k__BackingField>String</d2p1:_x003C_RevisionID_x003E_k__BackingField>
      <d2p1:_x003C_Revision_x003E_k__BackingField>0</d2p1:_x003C_Revision_x003E_k__BackingField>
      <d2p1:_x003C_Size_x003E_k__BackingField>0</d2p1:_x003C_Size_x003E_k__BackingField>
      <d2p1:_x003C_Tags_x003E_k__BackingField>String</d2p1:_x003C_Tags_x003E_k__BackingField>
      <d2p1:Files>
        <d2p1:slsDocumentInfo>
          <d2p1:_x003C_Completed_x003E_k__BackingField>0</d2p1:_x003C_Completed_x003E_k__BackingField>
          <d2p1:_x003C_CreationDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_CreationDate_x003E_k__BackingField>
          <d2p1:_x003C_Description_x003E_k__BackingField>String</d2p1:_x003C_Description_x003E_k__BackingField>
          <d2p1:_x003C_Domain_x003E_k__BackingField>0</d2p1:_x003C_Domain_x003E_k__BackingField>
          <d2p1:_x003C_FileName_x003E_k__BackingField>String</d2p1:_x003C_FileName_x003E_k__BackingField>
          <d2p1:_x003C_ID_x003E_k__BackingField>String</d2p1:_x003C_ID_x003E_k__BackingField>
          <d2p1:_x003C_Kind_x003E_k__BackingField>0</d2p1:_x003C_Kind_x003E_k__BackingField>
          <d2p1:_x003C_LinkID_x003E_k__BackingField>String</d2p1:_x003C_LinkID_x003E_k__BackingField>
          <d2p1:_x003C_Locked_x003E_k__BackingField>0</d2p1:_x003C_Locked_x003E_k__BackingField>
          <d2p1:_x003C_ModifiedDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_ModifiedDate_x003E_k__BackingField>
          <d2p1:_x003C_NodeIsTemplate_x003E_k__BackingField>false</d2p1:_x003C_NodeIsTemplate_x003E_k__BackingField>
          <d2p1:_x003C_NodeObject_x003E_k__BackingField />
          <d2p1:_x003C_NodePath_x003E_k__BackingField>String</d2p1:_x003C_NodePath_x003E_k__BackingField>
          <d2p1:_x003C_NodeType_x003E_k__BackingField>providerNode</d2p1:_x003C_NodeType_x003E_k__BackingField>
          <d2p1:_x003C_Origin_x003E_k__BackingField>0</d2p1:_x003C_Origin_x003E_k__BackingField>
          <d2p1:_x003C_OwnerID_x003E_k__BackingField>String</d2p1:_x003C_OwnerID_x003E_k__BackingField>
          <d2p1:_x003C_ParentID_x003E_k__BackingField>String</d2p1:_x003C_ParentID_x003E_k__BackingField>
          <d2p1:_x003C_RelativeID_x003E_k__BackingField>String</d2p1:_x003C_RelativeID_x003E_k__BackingField>
          <d2p1:_x003C_RevisionID_x003E_k__BackingField>String</d2p1:_x003C_RevisionID_x003E_k__BackingField>
          <d2p1:_x003C_Revision_x003E_k__BackingField>0</d2p1:_x003C_Revision_x003E_k__BackingField>
          <d2p1:_x003C_Size_x003E_k__BackingField>0</d2p1:_x003C_Size_x003E_k__BackingField>
          <d2p1:_x003C_Tags_x003E_k__BackingField>String</d2p1:_x003C_Tags_x003E_k__BackingField>
        </d2p1:slsDocumentInfo>
      </d2p1:Files>
    </d2p1:slsWebDocumentInfo>
  </Folders>
  <Name>String</Name>
  <ParentID>String</ParentID>
  <PathIDs>String</PathIDs>
  <ProviderSetupName>String</ProviderSetupName>
  <RelativeID>String</RelativeID>
</CreateFolder>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />