Team Manager - CreateTrainer
Service URL: https://api.learningassistant.com/webservices/soap/TeamManager.cfc?wsdl
Request
<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="https://api.learningassistant.com" xmlns:ns1="https://api.learningassistant.com">
<id type="xsd:string"> {ID} </id>
<uuid type="xsd:string"> {UUID} </uuid>
</authToken>
</soapenv:Header>
<soapenv:Body>
<api:CreateTrainer soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<CreateTrainerArguments xsi:type="team:Type_CreateTrainer" xmlns:team="http://teammanager.types.soap.webservices">
<CompanyUUID xsi:type="xsd:string"> {CompanyUUID} </CompanyUUID>
<EmailAddress xsi:type="xsd:string"> {EmailAddress} </EmailAddress>
<FirstName xsi:type="xsd:string"> {FirstName} </FirstName>
<Gender xsi:type="xsd:string"> {Gender} </Gender>
<LastName xsi:type="xsd:string"> {LastName} </LastName>
<MobileNumber xsi:type="xsd:string"> {MobileNumber} </MobileNumber>
<Password xsi:type="xsd:string"> {Password} </Password>
<PhoneNumber xsi:type="xsd:string"> {PhoneNumber} </PhoneNumber>
<Position xsi:type="xsd:string"> {Position} </Position>
<Title xsi:type="xsd:string"> {Title} </Title>
<TrainerSubRoles xsi:type="api:ArrayOf_tns1_TrainerSubRoles" soapenc:arrayType="team:TrainerSubRoles[]"/>
<Username xsi:type="xsd:string"> {Username} </Username>
</CreateTrainerArguments>
</api:CreateTrainer>
</soapenv:Body>
</soapenv:Envelope>
Response
<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>
<ns2:authToken loggedin="YES" soapenv:actor="" soapenv:mustUnderstand="0" xmlns="https://api.learningassistant.com" xmlns:ns2="https://api.learningassistant.com">
<ns2:id type="xsd:string"> {ID} </ns2:id>
<ns2:uuid type="xsd:string"> {UUID} </ns2:uuid>
</ns2:authToken>
</soapenv:Header>
<soapenv:Body>
<ns3:CreateTrainerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="https://api.learningassistant.com">
<CreateTrainerReturn xsi:type="ns4:Type_CreateTrainerReturn" xmlns:ns4="http://teammanager.types.soap.webservices">
<ErrorDescription xsi:type="xsd:string"/>
<Success xsi:type="xsd:boolean"> {Success} </Success>
<UUIDTrainer xsi:type="xsd:string"> {UUIDTrainer} </UUIDTrainer>
</CreateTrainerReturn>
</ns3:CreateTrainerResponse>
</soapenv:Body>
</soapenv:Envelope>