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>