POST api/DocumentManager/UploadDocumentsToAtlas?domainId={domainId}&userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
domainId

string

Required

userId

string

Required

Body Parameters

Collection of DocumentNodes
NameDescriptionTypeAdditional information
NodeId

integer

None.

ParentNodeId

integer

None.

NodeName

string

None.

NodeLevel

integer

None.

IsFolder

boolean

None.

FilePath

string

None.

BasePathId

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "NodeId": 1,
    "ParentNodeId": 2,
    "NodeName": "sample string 3",
    "NodeLevel": 4,
    "IsFolder": true,
    "FilePath": "sample string 6",
    "BasePathId": "sample string 7"
  },
  {
    "NodeId": 1,
    "ParentNodeId": 2,
    "NodeName": "sample string 3",
    "NodeLevel": 4,
    "IsFolder": true,
    "FilePath": "sample string 6",
    "BasePathId": "sample string 7"
  }
]

text/html

Sample:
[{"NodeId":1,"ParentNodeId":2,"NodeName":"sample string 3","NodeLevel":4,"IsFolder":true,"FilePath":"sample string 6","BasePathId":"sample string 7"},{"NodeId":1,"ParentNodeId":2,"NodeName":"sample string 3","NodeLevel":4,"IsFolder":true,"FilePath":"sample string 6","BasePathId":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfDocumentNodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATLAS_Business.Entities.Common">
  <DocumentNodes>
    <BasePathId>sample string 7</BasePathId>
    <FilePath>sample string 6</FilePath>
    <IsFolder>true</IsFolder>
    <NodeId>1</NodeId>
    <NodeLevel>4</NodeLevel>
    <NodeName>sample string 3</NodeName>
    <ParentNodeId>2</ParentNodeId>
  </DocumentNodes>
  <DocumentNodes>
    <BasePathId>sample string 7</BasePathId>
    <FilePath>sample string 6</FilePath>
    <IsFolder>true</IsFolder>
    <NodeId>1</NodeId>
    <NodeLevel>4</NodeLevel>
    <NodeName>sample string 3</NodeName>
    <ParentNodeId>2</ParentNodeId>
  </DocumentNodes>
</ArrayOfDocumentNodes>

multipart/form-data

Sample:
<ArrayOfDocumentNodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATLAS_Business.Entities.Common"><DocumentNodes><BasePathId>sample string 7</BasePathId><FilePath>sample string 6</FilePath><IsFolder>true</IsFolder><NodeId>1</NodeId><NodeLevel>4</NodeLevel><NodeName>sample string 3</NodeName><ParentNodeId>2</ParentNodeId></DocumentNodes><DocumentNodes><BasePathId>sample string 7</BasePathId><FilePath>sample string 6</FilePath><IsFolder>true</IsFolder><NodeId>1</NodeId><NodeLevel>4</NodeLevel><NodeName>sample string 3</NodeName><ParentNodeId>2</ParentNodeId></DocumentNodes></ArrayOfDocumentNodes>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseData
NameDescriptionTypeAdditional information
MessageCode

string

None.

MessageText

string

None.

MessageType

EnumMessageType

None.

HasException

boolean

None.

Exception

string

None.

Data

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageCode": "sample string 1",
  "MessageText": "sample string 2",
  "MessageType": 1,
  "HasException": true,
  "Exception": "sample string 4",
  "Data": [
    {},
    {}
  ]
}

text/html

Sample:
{"MessageCode":"sample string 1","MessageText":"sample string 2","MessageType":1,"HasException":true,"Exception":"sample string 4","Data":[{},{}]}

application/xml, text/xml

Sample:
<ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATLAS_Business.Entities.Common">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Data>
  <Exception>sample string 4</Exception>
  <HasException>true</HasException>
  <MessageCode>sample string 1</MessageCode>
  <MessageText>sample string 2</MessageText>
  <MessageType>OPERATION_SUCCESS</MessageType>
</ResponseData>

multipart/form-data

Sample:
<ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATLAS_Business.Entities.Common"><Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:anyType /><d2p1:anyType /></Data><Exception>sample string 4</Exception><HasException>true</HasException><MessageCode>sample string 1</MessageCode><MessageText>sample string 2</MessageText><MessageType>OPERATION_SUCCESS</MessageType></ResponseData>