Получение списка идентификаторов проектов по их типу
URL: components/services/APIProjects.asmx
Метод: GetProjectsUidsByType
Передаваемые параметры
| Параметр | Описание |
|---|---|
ASPNETSessionId | Идентификатор сессии |
typeId | Идентификатор типа проекта |
status | Статус проекта |
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:GetProjectsUidsByType> <str:ASPNETSessionId>string</str:ASPNETSessionId> <str:typeId>string</str:typeId> <str:status>string</str:status> <str:parentProjectId>string</str:parentProjectId> </str:GetProjectsUidsByType> </soapenv:Body> </soapenv:Envelope>
Возвращаемые параметры
| Параметр | Описание |
|---|---|
GetProjectsUidsByTypeResult | Массив с информацией о проектах |
UID | Идентификатор проекта |
Name | Название проекта |
<?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"> <GetProjectsUidsByTypeResponse xmlns="http://streamline/"> <GetProjectsUidsByTypeResult> <ProjectWrapper> <UsePlannedCost>boolean</UsePlannedCost> <str:PlannedCost>double</str:PlannedCost> <CalculatedCost>int</CalculatedCost> <UID>string</UID> <Name>string</Name> <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>boolean</UsePlannedCost> <PlannedCost>double</PlannedCost> <CalculatedCost>int</CalculatedCost> <UID>string</UID> <Name>string</Name> <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> </GetProjectsUidsByTypeResult> </GetProjectsUidsByTypeResponse> </s:Body> </s:Envelope>