Получение информации о реквизитах объекта\таблицы в Администрировании


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Идентификатор реквизита

<?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>