Добавление записи в классификатор
URL: components/Services/APIService.asmx
Метод: InsertClassifierRecord
Передаваемые параметры
| Параметр | Описание |
|---|---|
ASPNETSessionId | Идентификатор сессии |
classifierId* | Идентификатор классификатора |
name | Название классификатора |
parentId | Идентификатор родительского проекта |
lstParams | Массив параметров записи |
FieldId | Идентификатор поля |
FieldVal | Значение поля |
* - параметры, обязательные для заполнения.
<?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"> <soapenv:Header/> <soapenv:Body> <tem:InsertClassifierRecord> <tem:ASPNETSessionId>string</tem:ASPNETSessionId> <tem:classifierId>string</tem:classifierId> <tem:name>string</tem:name> <tem:parentId>string</tem:parentId> <tem:lstParams> <tem:FieldWrapper> <tem:FieldName>string</tem:FieldName> <tem:FieldId>string</tem:FieldId> <tem:FieldVal>string</tem:FieldVal> <tem:FieldType>string</tem:FieldType> </tem:FieldWrapper> </tem:lstParams> </tem:InsertClassifierRecord> </soapenv:Body> </soapenv:Envelope>
Возвращаемый параметр
| Параметр | Описание |
|---|---|
InsertClassifierRecordResult | Идентификатор созданной записи |
<?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"> <InsertClassifierRecordResponse xmlns="http://tempuri.org/"> <InsertClassifierRecordResult>string</InsertClassifierRecordResult> </InsertClassifierRecordResponse> </s:Body> </s:Envelope>