Содержание

Получение подпроектов по типу


URL: components/services/APIProjects.asmx

Метод: GetProjectChilds

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
TypeIdИдентификатор типа проекта
ParentProjectIdИдентификатор родительского проекта

Возможные статусы проектов:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:str="http://streamline/">
   <soapenv:Header/>
   <soapenv:Body>
      <str:GetProjectChilds>
         <str:contract>
            <str:ASPNETSessionId>string</str:ASPNETSessionId>
            <str:ParentProjectId>string</str:ParentProjectId>
            <str:TypeId>string</str:TypeId>
         </str:contract>
      </str:GetProjectChilds>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
GetProjectChildsResultМассив с проектами
ProjectChildWrapperМассив с информацией о проекте
UIDИдентификатор проекта
ParentProjectIdИдентификатор родительского проекта
ParentTypeIdТип родительского проекта
<?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">
      <GetProjectChildsResponse xmlns="http://streamline/">
         <GetProjectChildsResult>
            <ProjectChildWrapper>
               <UID>string</UID>
               <ParentProjectId>string</ParentProjectId>
               <ParentTypeId>string</ParentTypeId>
            </ProjectChildWrapper>
            <ProjectChildWrapper>
               <UID>string</UID>
               <ParentProjectId>string</ParentProjectId>
               <ParentTypeId>string</ParentTypeId>
            </ProjectChildWrapper>
         </GetProjectChildsResult>
      </GetProjectChildsResponse>
   </s:Body>
</s:Envelope>