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


Создание пользователя

Метод: CreatePerson

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
firstName*Имя пользователя
lastName*Фамилия пользователя
companyОрганизация
position*Должность
notesЗаметки о пользователе
businessPhone*Рабочий телефон
mobilePhoneМобильный телефон
faxФакс
email*E-Mail
photoBase64Фотография в кодировке Base64

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

<?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>
    <CreatePerson xmlns="http://streamline/">
      <ASPNETSessionId>string</ASPNETSessionId>
      <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>
    </CreatePerson>
  </soap:Body>
</soap:Envelope>
ПараметрОписание
CreatePersonResultИдентификатор созданной записи
<?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>
    <CreatePersonResponse xmlns="http://streamline/">
      <CreatePersonResult>
        <Errors>
          <string>string</string>
          <string>string</string>
        </Errors>
        <Objects>
          <string>string</string>
          <string>string</string>
        </Objects>
      </CreatePersonResult>
    </CreatePersonResponse>
  </soap:Body>
</soap:Envelope>