Содержание

Получение всей информации о проекте


URL: components/services/APIProjects.asmx

Метод: GetProject

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
projectIdИдентификатор проекта
<?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:GetProject>
         <str:contract>
            <str:ASPNETSessionId>string</str:ASPNETSessionId>
            <str:ProjectId>string</str:ProjectId>
         </str:contract>
      </str:GetProject>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
UIDИдентификатор проекта
ParentProjectIdИдентификатор родительского проекта
NameНазвание проекта
StatusСтатус проекта
PercentCompleteПроцент выполнения
SystemStartDateРасчетная дата начала проекта
SystemEndDateРасчетная дата окончания проекта
PlannedStartDateПланируемая дата начала проекта
PlannedEndDateПланируемая дата окончания проекта
ActualStartDateДата начала проекта
ActualEndDateДата окончания проекта
OwnerIdИдентификатор руководителя проекта
ResponsibleIdИдентификатор исполнителя проекта
ResourceAssignmentsМассив назначенных ресурсов
ResourceAssignmentWrapperМассив параметров ресурса
PersonIdИдентификатор ресурса
ValueЗначение ресурса
PlannedCostЗначение плановых трудозатрат
Если объект не имеет плановых трудозатрат, то в параметре PlannedCost возвращается значение null
CalculatedCostЗначение расчетных трудозатрат
Если объект не имеет расчетных трудозатрат, то в параметре CalculatedCost возвращается значение null

Возможные статусы объектов (значения параметра «Status»):

Формат дат вида: YYYY-MM-DD:

<?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">
      <GetProjectResponse xmlns="http://streamline/">
         <GetProjectResult>
            <UsePlannedCost>boolean</UsePlannedCost>
            <str:PlannedCost>double</str:PlannedCost>
            <CalculatedCost>int</CalculatedCost>
            <UID>string</UID>
            <ParentProjectId>string</ParentProjectId>
            <Name>string</Name>
            <ProjectTypeId>string</ProjectTypeId>
            <ProjectType>string</ProjectType>
            <Status>int</Status>
            <PercentComplete>int</PercentComplete>
            <SystemStartDate>dateTime</SystemStartDate>
            <SystemEndDate>dateTime</SystemEndDate>
            <ActualStartDate>dateTime</ActualStartDate>
            <ActualEndDate>dateTime</ActualEndDate>
            <PlannedDuration>int</PlannedDuration>
            <DurationUnit>string</DurationUnit>
            <StartDateConstraint>string</StartDateConstraint>
            <CalendarId>guid</CalendarId>
            <Order>int</Order>
            <OwnerId>string</OwnerId>
            <ResponsibleId>string</ResponsibleId>
            <ResourceAssignments>
               <str:ResourceAssignmentWrapper>
                  <str:PersonId>guid</str:PersonId>
                  <str:Value>double</str:Value>
               </str:ResourceAssignmentWrapper>
            </str:ResourceAssignments>
         </GetProjectResult>
      </GetProjectResponse>
   </s:Body>
</s:Envelope>