Поиск идентификаторов объектов по статусу записей таблицы


URL: components/Services/APIService.asmx

Метод: SearchDirectoryRecordsByStatus

Ищет все объекты, у которых в нужной таблице есть записи с определенным статусом (утверждено/на редактировании).

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

ПараметрОписание
ASPNETSessionId*Идентификатор сессии
directoryId*Идентификатор таблицы
RecordStatusТекущий статус записи (approved/editing)

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

<?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:SearchDirectoryRecordsByStatus>
         <tem:ASPNETSessionId>string</tem:ASPNETSessionId>
         <tem:directoryId>string</tem:directoryId>
         <tem:fieldId>string</tem:fieldId>
         <tem:RecordStatus>string</tem:RecordStatus>
      </tem:SearchDirectoryRecordsByStatus>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
SearchDirectoryRecordsByStatusResultМассив элементов
ProjectWrapperЗначения элемента
UIDИдентификатор объекта
<?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">
      <SearchDirectoryRecordsByStatusResponse xmlns="http://tempuri.org/">
         <SearchDirectoryRecordsByStatusResult>
            <ProjectWrapper>
               <UsePlannedCost>false</UsePlannedCost>
               <PlannedCost>double</PlannedCost>
               <CalculatedCost>int</CalculatedCost>
               <UID>string</UID>
               <Status>int</Status>
               <PercentComplete>int</PercentComplete>
               <SystemStartDate>dateTime</SystemStartDate>
               <SystemEndDate>dateTime</SystemEndDate>
               <PlannedStartDate>dateTime</PlannedStartDate>
               <PlannedEndDate>dateTime</PlannedEndDate>
               <ActualStartDate>dateTime</ActualStartDate>
               <ActualEndDate>dateTime</ActualEndDate>
               <PlannedDuration>int</PlannedDuration>
               <CalendarId>guid</CalendarId>
               <Order>int</Order>
            </ProjectWrapper>
            <ProjectWrapper>
               <UsePlannedCost>false</UsePlannedCost>
               <PlannedCost>double</PlannedCost>
               <CalculatedCost>int</CalculatedCost>
               <UID>string</UID>
               <Status>int</Status>
               <PercentComplete>int</PercentComplete>
               <SystemStartDate>dateTime</SystemStartDate>
               <SystemEndDate>dateTime</SystemEndDate>
               <PlannedStartDate>dateTime</PlannedStartDate>
               <PlannedEndDate>dateTime</PlannedEndDate>
               <ActualStartDate>dateTime</ActualStartDate>
               <ActualEndDate>dateTime</ActualEndDate>
               <PlannedDuration>int</PlannedDuration>
               <CalendarId>guid</CalendarId>
               <Order>int</Order>
            </ProjectWrapper>
         </SearchDirectoryRecordsByStatusResult>
      </SearchDirectoryRecordsByStatusResponse>
   </s:Body>
</s:Envelope>