Получение списка идентификаторов всех документов объекта


URL: components/Services/APIDocuments.asmx

Метод: GetDocumentsIds

Передаваемые параметры

ПараметрОписание
ASPNETSessionId*Идентификатор сессии
projectId*Идентификато объекта
areChildrenIncludedФлаг «Включить документы дочерних объектов?»
По умолчанию имеет значение «false», т.е. будет предоставлен список идентификаторов документов только того объекта, чей ProjectId указан
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:str="http://streamline/">
   <soapenv:Header/>
   <soapenv:Body>
      <str:GetDocumentsIds>
         <str:ASPNETSessionId>string</str:ASPNETSessionId>
         <str:projectId>guid</str:projectId>
         <str:areChildrenIncluded>boolean</str:areChildrenIncluded>
      </str:GetDocumentsIds>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемые параметры

ПараметрОписание
DocumentWrappersМассив идентификаторов документов
DocumentWrapperЭлемент массива
DocumentIdИдентификатор карточки документа
DocumentNameНазвание карточки документа
ProjectIdИдентификатор объекта, к которому прикреплен документ
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetDocumentsIdsResponse xmlns="http://streamline/">
         <GetDocumentsIdsResult>
            <DocumentWrappers>
               <DocumentWrapper>
                  <DocumentId>guid</DocumentId>
                  <DocumentName>string</DocumentName>
                  <ProjectId>guid</ProjectId>
               </DocumentWrapper>
            </DocumentWrappers>
         </GetDocumentsIdsResult>
      </GetDocumentsIdsResponse>
   </s:Body>
</s:Envelope>