Получение подпроектов по типу
URL: components/services/APIProjects.asmx
Метод: GetProjectChilds
Передаваемые параметры
| Параметр | Описание |
|---|---|
ASPNETSessionId | Идентификатор сессии |
TypeId | Идентификатор типа проекта |
ParentProjectId | Идентификатор родительского проекта |
Возможные статусы проектов:
- «1» - Предполагаемый;
- «3» - В работе;
- «4» - Требует внимания;
- «5» - Наивысший приоритет;
- «6» - Завершен;
- «7» - Отменен;
- «8» - Отложен;
- «9» - Готов к проверке.
<?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>