Users - GetTrainers - Gets a list of trainers in their respective user groups
Service URL: https://api.learningassistant.com/webservices/soap/user.cfc?wsdl
Request
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<authToken loggedin="YES" soapenv:actor="" soapenv:mustUnderstand="0" xmlns="http://api.learningassistant.com" xmlns:ns1="http://api.learningassistant.com">
<id type="xsd:string"> {ID} </id>
<uuid type="xsd:string"> {UUID} </uuid>
</authToken>
</soapenv:Header>
<soapenv:Body>
<ns1:GetTrainers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="https://api.learningassistant.com"/>
</soapenv:Body>
</soapenv:Envelope>
Response
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<authToken loggedin="YES" soapenv:actor="" soapenv:mustUnderstand="0" xmlns="http://api.learningassistant.com" xmlns:ns1="http://api.learningassistant.com">
<id type="xsd:string"> {ID} </id>
<uuid type="xsd:string"> {UUID} </uuid>
</authToken>
</soapenv:Header>
<soapenv:Body>
<ns2:GetTrainersResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="https://api.learningassistant.com">
<GetTrainersReturn soapenc:arrayType="ns3:Type_trainer[0]" xmlns:ns3="http://user.types.soap.webservices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:Array">
<GetTrainersReturn xsi:type="ns3:Type_trainer">
<AdditionalInfo xsi:type="xsd:string"> {AdditionalInfo} </AdditionalInfo>
<EmailAddress xsi:type="xsd:string"> {EmailAddress} </EmailAddress>
<Forename xsi:type="xsd:string"> {Forename} </Forename>
<JobTitle xsi:type="xsd:string"> {JobTitle} </JobTitle>
<MiddleName xsi:type="xsd:string"> {MiddleName} </MiddleName>
<Roles soapenc:arrayType="ns3:Type_trainerRole[0]" xsi:type="soapenc:Array">
<Roles xsi:type="ns3:Type_trainerRole">
<Role xsi:type="xsd:string"> {Role} </Role>
<RoleMappingUUID xsi:type="xsd:string"> {RoleMappingUUID} </RoleMappingUUID>
<RoleUUID xsi:type="xsd:string"> {RoleUUID} </RoleUUID>
</Roles>
<Roles xsi:type="ns3:Type_trainerRole">
<Role xsi:type="xsd:string"> {Role} </Role>
<RoleMappingUUID xsi:type="xsd:string"> {RoleMappingUUID} </RoleMappingUUID>
<RoleUUID xsi:type="xsd:string"> {RoleUUID} </RoleUUID>
</Roles>
</Roles>
<Surname xsi:type="xsd:string"> {Surname} </Surname>
<UserUUID xsi:type="xsd:string"> {UserUUID} </UserUUID>
<Username xsi:type="xsd:string"> {Username} </Username>
</GetTrainersReturn>
</GetTrainersReturn>
</ns2:GetTrainersResponse>
</soapenv:Body>
</soapenv:Envelope>
Request Fields
Response Fields
-
GetTrainersReturn array
-
AdditionalInfo string
-
EmailAddress string
-
Forename string
-
JobTitle string
-
MiddleName string
-
Roles array
-
Role string
-
RoleMappingUUID string
-
RoleUUID string
-
Surname string
-
UserUUID string
-
Username string