Создание дискуссии с дополнительными полями


URL: components/Services/APIDiscussions.asmx

Метод CreateTopicWithFields

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
projectId*Идентификатор проекта
titleТема дискуссии
contentСодержание дискуссии
addresseesМассив идентификаторов пользователей
fieldsМассив с дополнительными реквизитами
FieldIdИдентификатор реквизита
FieldValЗначение реквизита

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

<?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:CreateTopicWithFields>
         <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:fields>
            <str:FieldWrapper>
               <str:FieldName>string</str:FieldName>
               <str:FieldId>string</str:FieldId>
               <str:FieldVal>string</str:FieldVal>
               <str:FieldType>string</str:FieldType>
            </str:FieldWrapper>
         </str:fields>
      </str:CreateTopicWithFields>
   </soapenv:Body>
</soapenv:Envelope>

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

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