Microchip.Login.WebService


Click here for a complete list of operations.

ValidateLogin

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 /wwwregister/login.asmx HTTP/1.1
Host: www.microchip.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.microchip.com/ValidateLogin"

<?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>
    <ValidateLogin xmlns="http://www.microchip.com">
      <login>string</login>
      <password>string</password>
      <clientApp>string</clientApp>
    </ValidateLogin>
  </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>
    <ValidateLoginResponse xmlns="http://www.microchip.com">
      <ValidateLoginResult>
        <MCHPUserID>int</MCHPUserID>
        <MCHPUserGUID>string</MCHPUserGUID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <CompanyName>string</CompanyName>
        <Email>string</Email>
        <BusinessCustomer>boolean</BusinessCustomer>
        <MessageID>int</MessageID>
        <Message>string</Message>
        <Profile>string</Profile>
        <LoginExpireDays>int</LoginExpireDays>
        <EncryptedUserGUID>string</EncryptedUserGUID>
        <XC8_PRO_Compiler>int</XC8_PRO_Compiler>
        <XC16_PRO_Compiler>int</XC16_PRO_Compiler>
        <XC32_PRO_Compiler>int</XC32_PRO_Compiler>
        <MPLABSessionKey>string</MPLABSessionKey>
        <Phone>string</Phone>
        <Street>string</Street>
        <City>string</City>
        <StateProvince>string</StateProvince>
        <PostalCode>string</PostalCode>
        <CountryCode>string</CountryCode>
        <BusinessUser>boolean</BusinessUser>
        <CreatedDate>dateTime</CreatedDate>
        <LastModifiedDate>dateTime</LastModifiedDate>
        <Type>string</Type>
        <SalesRegionName>string</SalesRegionName>
        <SalesRegionCode>string</SalesRegionCode>
        <GeographyRegion>string</GeographyRegion>
        <OrgId>int</OrgId>
        <BaanNumber>string</BaanNumber>
        <BusinessAccount>boolean</BusinessAccount>
        <CompanyType>string</CompanyType>
        <Industry>string</Industry>
        <Employees>string</Employees>
        <AnnualRevenue>string</AnnualRevenue>
        <AzerityCustomer>string</AzerityCustomer>
        <AzerityLocation>string</AzerityLocation>
        <CompanyURL>string</CompanyURL>
        <CompanyCreatedDate>dateTime</CompanyCreatedDate>
        <CompanyLastModifiedDate>dateTime</CompanyLastModifiedDate>
        <CustomerApprovalDivision>string</CustomerApprovalDivision>
        <CustomerApprovalStatus>string</CustomerApprovalStatus>
        <CustomerApprovalCompanyName>string</CustomerApprovalCompanyName>
        <CustomerApprovalCompanyID>int</CustomerApprovalCompanyID>
        <CustomerApprovalCompanyType>string</CustomerApprovalCompanyType>
        <CustomerApprovalCompanyCountry>string</CustomerApprovalCompanyCountry>
        <CustomerApprovalBy>string</CustomerApprovalBy>
        <CustomerApprovalDate>dateTime</CustomerApprovalDate>
      </ValidateLoginResult>
    </ValidateLoginResponse>
  </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 /wwwregister/login.asmx HTTP/1.1
Host: www.microchip.com
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>
    <ValidateLogin xmlns="http://www.microchip.com">
      <login>string</login>
      <password>string</password>
      <clientApp>string</clientApp>
    </ValidateLogin>
  </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>
    <ValidateLoginResponse xmlns="http://www.microchip.com">
      <ValidateLoginResult>
        <MCHPUserID>int</MCHPUserID>
        <MCHPUserGUID>string</MCHPUserGUID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <CompanyName>string</CompanyName>
        <Email>string</Email>
        <BusinessCustomer>boolean</BusinessCustomer>
        <MessageID>int</MessageID>
        <Message>string</Message>
        <Profile>string</Profile>
        <LoginExpireDays>int</LoginExpireDays>
        <EncryptedUserGUID>string</EncryptedUserGUID>
        <XC8_PRO_Compiler>int</XC8_PRO_Compiler>
        <XC16_PRO_Compiler>int</XC16_PRO_Compiler>
        <XC32_PRO_Compiler>int</XC32_PRO_Compiler>
        <MPLABSessionKey>string</MPLABSessionKey>
        <Phone>string</Phone>
        <Street>string</Street>
        <City>string</City>
        <StateProvince>string</StateProvince>
        <PostalCode>string</PostalCode>
        <CountryCode>string</CountryCode>
        <BusinessUser>boolean</BusinessUser>
        <CreatedDate>dateTime</CreatedDate>
        <LastModifiedDate>dateTime</LastModifiedDate>
        <Type>string</Type>
        <SalesRegionName>string</SalesRegionName>
        <SalesRegionCode>string</SalesRegionCode>
        <GeographyRegion>string</GeographyRegion>
        <OrgId>int</OrgId>
        <BaanNumber>string</BaanNumber>
        <BusinessAccount>boolean</BusinessAccount>
        <CompanyType>string</CompanyType>
        <Industry>string</Industry>
        <Employees>string</Employees>
        <AnnualRevenue>string</AnnualRevenue>
        <AzerityCustomer>string</AzerityCustomer>
        <AzerityLocation>string</AzerityLocation>
        <CompanyURL>string</CompanyURL>
        <CompanyCreatedDate>dateTime</CompanyCreatedDate>
        <CompanyLastModifiedDate>dateTime</CompanyLastModifiedDate>
        <CustomerApprovalDivision>string</CustomerApprovalDivision>
        <CustomerApprovalStatus>string</CustomerApprovalStatus>
        <CustomerApprovalCompanyName>string</CustomerApprovalCompanyName>
        <CustomerApprovalCompanyID>int</CustomerApprovalCompanyID>
        <CustomerApprovalCompanyType>string</CustomerApprovalCompanyType>
        <CustomerApprovalCompanyCountry>string</CustomerApprovalCompanyCountry>
        <CustomerApprovalBy>string</CustomerApprovalBy>
        <CustomerApprovalDate>dateTime</CustomerApprovalDate>
      </ValidateLoginResult>
    </ValidateLoginResponse>
  </soap12:Body>
</soap12:Envelope>