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>