Делегирование проекта


URL: components/services/APIProjects.asmx

Метод: DelegateProject

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
ProjectIdИдентификатор проекта
DelegateUserId*Идентификатор пользователя, которому делегируют полномочия исполнителя в проекте
DelegateOwnerId*Идентификатор пользователя, которому делегируют полномочия руководителя в проекте
AutoAcceptФлаг для автоматического принятия полномочий

* - параметры DelegateUserId и DelegateOwnerId должны быть либо оба, либо хотя бы один из них.

<?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:DelegateProject>
         <str:projectData>
            <str:ASPNETSessionId>string</str:ASPNETSessionId>
            <str:ProjectId>string</str:ProjectId>
            <str:DelegateUserId>string</str:DelegateUserId>
            <str:DelegateOwnerId>string</str:DelegateOwnerId>
            <str:AutoAccept>boolean</str:AutoAccept>
         </str:projectData>
      </str:DelegateProject>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
DelegateProjectResponseРезультат выполнения запроса
<?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">
      <DelegateProjectResponse xmlns="http://streamline/"/>
   </s:Body>
</s:Envelope>