Это старая версия документа!


Редактирование пользователя

Метод: EditPerson

ПараметрОписание
ASPNETSessionId*Идентификатор сессии
uid*Идентификатор пользователя
firstNameИмя
lastNameФамилия
companyОрганизация
positionДолжность
notesЗаметки
businessPhoneРабочий телефон
mobilePhoneМобильный телефон
faxФакс
emailE-Mail
photoBase64Фотография в кодировке Base64 (null если изменения не требуются)
allowLoginРазрешить пользователю доступ в систему True/False

* – параметры, обязательные для заполнения.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <EditPerson xmlns="http://streamline/">
      <ASPNETSessionId>string</ASPNETSessionId>
      <uid>string</uid>
      <firstName>string</firstName>
      <lastName>string</lastName>
      <company>string</company>
      <position>string</position>
      <notes>string</notes>
      <businessPhone>string</businessPhone>
      <mobilePhone>string</mobilePhone>
      <fax>string</fax>
      <email>string</email>
      <photoBase64>string</photoBase64>
      <allowLogin>boolean</allowLogin>
    </EditPerson>
  </soap:Body>
</soap:Envelope>
ПараметрОписание
EditPersonResultРезультат выполнения запроса
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <EditPersonResponse xmlns="http://streamline/">
      <EditPersonResult>
        <Errors>
          <string>string</string>
          <string>string</string>
        </Errors>
        <Objects>
          <string>string</string>
          <string>string</string>
        </Objects>
      </EditPersonResult>
    </EditPersonResponse>
  </soap:Body>
</soap:Envelope>