AuthService


Click here for a complete list of operations.

Authenticate

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 /AuthService.asmx HTTP/1.1
Host: account.vfw.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://account.vfw.org/Authenticate"

<?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>
    <Authenticate xmlns="http://account.vfw.org/">
      <userName>string</userName>
      <password>string</password>
    </Authenticate>
  </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>
    <AuthenticateResponse xmlns="http://account.vfw.org/">
      <AuthenticateResult>
        <UniqueId />
        <Token>string</Token>
        <UserName>string</UserName>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <MiddleInitial>string</MiddleInitial>
        <Suffix>string</Suffix>
        <Street1>string</Street1>
        <Street2>string</Street2>
        <Street3>string</Street3>
        <City>string</City>
        <State>string</State>
        <Zip>string</Zip>
        <Country>string</Country>
        <USAddress>boolean</USAddress>
        <Birthday>dateTime</Birthday>
        <Phone>string</Phone>
        <SSN>string</SSN>
        <Gender>int</Gender>
        <ReferralSource>string</ReferralSource>
        <MembershipId>int</MembershipId>
        <JoinDate>dateTime</JoinDate>
        <PasswordExpired>boolean</PasswordExpired>
        <MailList>boolean</MailList>
        <Branch>string</Branch>
        <CurrentStatus>string</CurrentStatus>
        <MemberType>string</MemberType>
        <ServiceStartDate>dateTime</ServiceStartDate>
        <ServiceEndDate>dateTime</ServiceEndDate>
        <DuesPaidThru>dateTime</DuesPaidThru>
        <PasswordTooWeak>boolean</PasswordTooWeak>
        <LegacyLevel>string</LegacyLevel>
        <PersonID>int</PersonID>
        <SSOUniqueId />
      </AuthenticateResult>
    </AuthenticateResponse>
  </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 /AuthService.asmx HTTP/1.1
Host: account.vfw.org
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>
    <Authenticate xmlns="http://account.vfw.org/">
      <userName>string</userName>
      <password>string</password>
    </Authenticate>
  </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>
    <AuthenticateResponse xmlns="http://account.vfw.org/">
      <AuthenticateResult>
        <UniqueId />
        <Token>string</Token>
        <UserName>string</UserName>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <MiddleInitial>string</MiddleInitial>
        <Suffix>string</Suffix>
        <Street1>string</Street1>
        <Street2>string</Street2>
        <Street3>string</Street3>
        <City>string</City>
        <State>string</State>
        <Zip>string</Zip>
        <Country>string</Country>
        <USAddress>boolean</USAddress>
        <Birthday>dateTime</Birthday>
        <Phone>string</Phone>
        <SSN>string</SSN>
        <Gender>int</Gender>
        <ReferralSource>string</ReferralSource>
        <MembershipId>int</MembershipId>
        <JoinDate>dateTime</JoinDate>
        <PasswordExpired>boolean</PasswordExpired>
        <MailList>boolean</MailList>
        <Branch>string</Branch>
        <CurrentStatus>string</CurrentStatus>
        <MemberType>string</MemberType>
        <ServiceStartDate>dateTime</ServiceStartDate>
        <ServiceEndDate>dateTime</ServiceEndDate>
        <DuesPaidThru>dateTime</DuesPaidThru>
        <PasswordTooWeak>boolean</PasswordTooWeak>
        <LegacyLevel>string</LegacyLevel>
        <PersonID>int</PersonID>
        <SSOUniqueId />
      </AuthenticateResult>
    </AuthenticateResponse>
  </soap12:Body>
</soap12:Envelope>