URL: components/Services/APIDocuments.asmx
Метод: CreateTemplateDocument
| Параметр | Описание |
|---|---|
ASPNETSessionId | Идентификатор сессии |
objectId | Идентификато объекта |
documentName | Название контрольного документа, который будет создан |
isNegotiationRequested | Флаг «Нужно ли согласование?». Флаг регулирует опцию «Проверять согласование» у контрольного документа (чекбокс «Контрольный документ» отмечен). По умолчанию false. |
description | Описание (необязательный) |
<?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:CreateTemplateDocument> <str:ASPNETSessionId>string</str:ASPNETSessionId> <str:objectId>string</str:objectId> <str:documentName>string</str:documentName> <str:isNegotiationRequested>boolean</str:isNegotiationRequested> <str:description>string</str:description> </str:CreateTemplateDocument> </soapenv:Body> </soapenv:Envelope>
| Параметр | Описание |
|---|---|
CreateTemplateDocumentResult | ID созданного документа |
<?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"> <CreateTemplateDocumentResponse xmlns="http://streamline/"> <CreateTemplateDocumentResult>string</CreateTemplateDocumentResult> </CreateTemplateDocumentResponse> </s:Body> </s:Envelope>