...
Параметр | Тип | Описание |
---|---|---|
credentials (requiredобязательный) | credentials | Смотрите описание объекта Credentials. |
userId (requiredобязательный) | string | ID пользователя, информацию о котором вы хотите получить. |
...
Блок кода | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ispringlearn.com/go/services/api/soap"> <SOAP-ENV:Body> <ns1:GetUserProfileResult> <ns1:userProfile> <ns1:userId>1<userId>string</ns1:userId> <ns1:fields> <ns1:field> <ns1:Id>login<Id>FIRST_NAME</ns1:Id> <ns1:value>test<value>Elena</ns1:value> </ns1:field> <ns1:field> <ns1:Id>firstId>LAST_name<NAME</ns1:Id> <ns1:valuevalue>Ivanova</>ns1:value> </ns1:field> <ns1:field> <ns1:Id>last_name<Id>EMAIL</ns1:Id> <ns1:value/>value>elena@ispring.ru</ns1:value> </ns1:field> <ns1:field> <ns1:Id>email<Id>JOB_TITLE</ns1:Id> <ns1:value>test@test.test<value>Sales Manager</ns1:value> </ns1:field> <ns1:field> <ns1:Id>country_id<Id>COUNTRY</ns1:Id> <ns1:valuevalue>5</>ns1:value> </ns1:field> <ns1:field> <ns1:Id>customfield<Id>USER_DEFINED_FIELD3</ns1:Id> <ns1:value/>value>Higher Education</ns1:value> </ns1:field> <ns1:groups> <ns1:id>string</ns1:id> <ns1:id>string</ns1:id> </ns1:groups> <ns1:status>1</ns1:status> <ns1:status>role</ns1:status> <ns1:departmentId>string</ns1:departmentId> <ns1:addedDate>date<addedDate>2019-03-26</ns1:addedDate> <ns1:lastLoginDate>date<lastLoginDate>2019-04-06</ns1:lastLoginDate> <ns1:manageableDepartmentIds> <id>string<<ns1:id>string</ns1:id> <id>string<<ns1:id>string</ns1:id> </ns1:manageableDepartmentIds> </ns1:userProfile> </ns1:GetUserProfileResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
...