ProSolution


Click here for a complete list of operations.

SetLearner

Creates a learner

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ProSolution.asmx HTTP/1.1
Host: wsbeta.onefile.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "ws.onefile.co.uk/prosolution/SetLearner"

<?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:Header>
    <Header xmlns="ws.onefile.co.uk/prosolution">
      <PortalIDs>
        <int>int</int>
        <int>int</int>
      </PortalIDs>
      <Username>string</Username>
      <Password>string</Password>
    </Header>
  </soap:Header>
  <soap:Body>
    <SetLearner xmlns="ws.onefile.co.uk/prosolution">
      <Learner>
        <LearnerID>string</LearnerID>
        <ProSolutionID>string</ProSolutionID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <DateOfBirth>dateTime</DateOfBirth>
        <Email>string</Email>
        <HomeAddress>string</HomeAddress>
        <HomeTelephone>string</HomeTelephone>
        <MobileNumber>string</MobileNumber>
        <NationalInsuranceNumber>string</NationalInsuranceNumber>
        <EmployerName>string</EmployerName>
        <EmployerAddress>string</EmployerAddress>
        <UniqueLearnerNumber>string</UniqueLearnerNumber>
        <L12>string</L12>
        <L13>string</L13>
        <L14>string</L14>
        <L15>string</L15>
        <L16>string</L16>
        <ALN>boolean</ALN>
        <ASN>boolean</ASN>
        <LearningAims>
          <LearningAim>
            <NDAQCode>string</NDAQCode>
            <ActualStartDate>dateTime</ActualStartDate>
            <PlannedEndDate>dateTime</PlannedEndDate>
            <CertificateAppliedDate>dateTime</CertificateAppliedDate>
            <ActualCertificateDate>dateTime</ActualCertificateDate>
            <Status>string</Status>
          </LearningAim>
          <LearningAim>
            <NDAQCode>string</NDAQCode>
            <ActualStartDate>dateTime</ActualStartDate>
            <PlannedEndDate>dateTime</PlannedEndDate>
            <CertificateAppliedDate>dateTime</CertificateAppliedDate>
            <ActualCertificateDate>dateTime</ActualCertificateDate>
            <Status>string</Status>
          </LearningAim>
        </LearningAims>
      </Learner>
    </SetLearner>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <SetLearnerResponse xmlns="ws.onefile.co.uk/prosolution" />
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ProSolution.asmx HTTP/1.1
Host: wsbeta.onefile.co.uk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <Header xmlns="ws.onefile.co.uk/prosolution">
      <PortalIDs>
        <int>int</int>
        <int>int</int>
      </PortalIDs>
      <Username>string</Username>
      <Password>string</Password>
    </Header>
  </soap12:Header>
  <soap12:Body>
    <SetLearner xmlns="ws.onefile.co.uk/prosolution">
      <Learner>
        <LearnerID>string</LearnerID>
        <ProSolutionID>string</ProSolutionID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <DateOfBirth>dateTime</DateOfBirth>
        <Email>string</Email>
        <HomeAddress>string</HomeAddress>
        <HomeTelephone>string</HomeTelephone>
        <MobileNumber>string</MobileNumber>
        <NationalInsuranceNumber>string</NationalInsuranceNumber>
        <EmployerName>string</EmployerName>
        <EmployerAddress>string</EmployerAddress>
        <UniqueLearnerNumber>string</UniqueLearnerNumber>
        <L12>string</L12>
        <L13>string</L13>
        <L14>string</L14>
        <L15>string</L15>
        <L16>string</L16>
        <ALN>boolean</ALN>
        <ASN>boolean</ASN>
        <LearningAims>
          <LearningAim>
            <NDAQCode>string</NDAQCode>
            <ActualStartDate>dateTime</ActualStartDate>
            <PlannedEndDate>dateTime</PlannedEndDate>
            <CertificateAppliedDate>dateTime</CertificateAppliedDate>
            <ActualCertificateDate>dateTime</ActualCertificateDate>
            <Status>string</Status>
          </LearningAim>
          <LearningAim>
            <NDAQCode>string</NDAQCode>
            <ActualStartDate>dateTime</ActualStartDate>
            <PlannedEndDate>dateTime</PlannedEndDate>
            <CertificateAppliedDate>dateTime</CertificateAppliedDate>
            <ActualCertificateDate>dateTime</ActualCertificateDate>
            <Status>string</Status>
          </LearningAim>
        </LearningAims>
      </Learner>
    </SetLearner>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetLearnerResponse xmlns="ws.onefile.co.uk/prosolution" />
  </soap12:Body>
</soap12:Envelope>