Содержание

Создание дискуссии


URL: components/Services/APIDiscussions.asmx

Метод: CreateTopic

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
projectId*Идентификатор проекта
title*Тема дискуссии
contentСодержание дискуссии
addresseesМассив идентификаторов пользователей (GUID)

* - параметры, обязательные для заполнения.

<?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:CreateTopic>
         <str:ASPNETSessionId>string</str:ASPNETSessionId>
         <str:projectId>string</str:projectId>
         <str:title>string</str:title>
         <str:content>string</str:content>
         <str:addressees>
            <str:string>string</str:string>
         </str:addressees>
      </str:CreateTopic>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
CreateTopicResultРезультат выполнения запроса
<?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">
      <CreateTopicResponse xmlns="http://streamline/">
         <CreateTopicResult>string</CreateTopicResult>
      </CreateTopicResponse>
   </s:Body>
</s:Envelope>