Получение информации о реквизитах объекта\таблицы в Администрировании
URL: components/Services/APIService.asmx
Метод: GetDirectoryInfo
Передаваемые параметры
| Параметр | Описание |
|---|---|
ASPNETSessionId | Идентификатор сессии |
directoryTemplateId | Идентификатор таблицы |
<?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:GetDirectoryInfo> <tem:ASPNETSessionId>string</tem:ASPNETSessionId> <tem:directoryTemplateId>string</tem:directoryTemplateId> </tem:GetDirectoryInfo> </soapenv:Body> </soapenv:Envelope>
Возвращаемые параметры
| Параметр | Описание |
|---|---|
GetDirectoryInfoResult | Контейнер с результатами запроса |
Name | Имя объекта/таблицы |
Fields | Массив реквизитов объекта/таблицы |
FieldWrapper | Массив параметров для каждого реквизита |
FieldName | Наименование реквизита |
FieldId | Идентификатор реквизита |
Параметры
FieldVal и FieldType в методе не возвращаются.
<?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"> <GetDirectoryInfoResponse xmlns="http://tempuri.org/"> <GetDirectoryInfoResult> <Name>string</Name> <Fields> <FieldWrapper> <FieldName>string</FieldName> <FieldId>string</FieldId> <FieldVal/> <FieldType/> </FieldWrapper> <FieldWrapper> <FieldName>string</FieldName> <FieldId>string</FieldId> <FieldVal/> <FieldType/> </FieldWrapper> <FieldWrapper> <FieldName>string</FieldName> <FieldId>string</FieldId> <FieldVal/> <FieldType/> </FieldWrapper> </Fields> </GetDirectoryInfoResult> </GetDirectoryInfoResponse> </s:Body> </s:Envelope>