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

Метод: SearchDirectoryRecordsByStatus

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

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

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

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchDirectoryRecordsByStatus xmlns="http://tempuri.org/">
      <ASPNETSessionId>string</ASPNETSessionId>
      <directoryId>string</directoryId>
      <RecordStatus>string</RecordStatus>
    </SearchDirectoryRecordsByStatus>
  </soap:Body>
</soap:Envelope>
ПараметрОписание
SearchDirectoryRecordsByStatusResultМассив элементов
ProjectWrapperЗначения элемента
UIDИдентификатор объекта
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchDirectoryRecordsByStatusResponse xmlns="http://tempuri.org/">
      <SearchDirectoryRecordsByStatusResult>
        <ProjectWrapper>
          <UID>string</UID>
          <ParentProjectId>string</ParentProjectId>
          <Name>string</Name>
          <ProjectType>string</ProjectType>
          <Status>int</Status>
          <PercentComplete>int</PercentComplete>
          <SystemStartDate>dateTime</SystemStartDate>
          <SystemEndDate>dateTime</SystemEndDate>
          <PlannedStartDate>dateTime</PlannedStartDate>
          <PlannedEndDate>dateTime</PlannedEndDate>
          <ActualStartDate>dateTime</ActualStartDate>
          <ActualEndDate>dateTime</ActualEndDate>
          <OwnerId>string</OwnerId>
          <ResponsibleId>string</ResponsibleId>
          <ResourceAssignments>
            <ResourceAssignmentWrapper xsi:nil="true" />
            <ResourceAssignmentWrapper xsi:nil="true" />
          </ResourceAssignments>
        </ProjectWrapper>
        <ProjectWrapper>
          <UID>string</UID>
          <ParentProjectId>string</ParentProjectId>
          <Name>string</Name>
          <ProjectType>string</ProjectType>
          <Status>int</Status>
          <PercentComplete>int</PercentComplete>
          <SystemStartDate>dateTime</SystemStartDate>
          <SystemEndDate>dateTime</SystemEndDate>
          <PlannedStartDate>dateTime</PlannedStartDate>
          <PlannedEndDate>dateTime</PlannedEndDate>
          <ActualStartDate>dateTime</ActualStartDate>
          <ActualEndDate>dateTime</ActualEndDate>
          <OwnerId>string</OwnerId>
          <ResponsibleId>string</ResponsibleId>
          <ResourceAssignments>
            <ResourceAssignmentWrapper xsi:nil="true" />
            <ResourceAssignmentWrapper xsi:nil="true" />
          </ResourceAssignments>
        </ProjectWrapper>
      </SearchDirectoryRecordsByStatusResult>
    </SearchDirectoryRecordsByStatusResponse>
  </soap:Body>
</soap:Envelope>