LPGAServices


Click here for a complete list of operations.

GetCourseDetailByTournamentID

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
intTournamentID:
RegistrationKey:

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 /LPGAServices.asmx HTTP/1.1
Host: secureservices.lpga.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://secureservices.lpga.com/GetCourseDetailByTournamentID"

<?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>
    <GetCourseDetailByTournamentID xmlns="http://secureservices.lpga.com">
      <intTournamentID>int</intTournamentID>
      <RegistrationKey>string</RegistrationKey>
    </GetCourseDetailByTournamentID>
  </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>
    <GetCourseDetailByTournamentIDResponse xmlns="http://secureservices.lpga.com">
      <GetCourseDetailByTournamentIDResult>
        <vwLPGAServicesTournamentCourseDetail>
          <TournamentID>int</TournamentID>
          <CourseName>string</CourseName>
          <hole1_yds>int</hole1_yds>
          <hole2_yds>int</hole2_yds>
          <hole3_yds>int</hole3_yds>
          <hole4_yds>int</hole4_yds>
          <hole5_yds>int</hole5_yds>
          <hole6_yds>int</hole6_yds>
          <hole7_yds>int</hole7_yds>
          <hole8_yds>int</hole8_yds>
          <hole9_yds>int</hole9_yds>
          <hole10_yds>int</hole10_yds>
          <hole11_yds>int</hole11_yds>
          <hole12_yds>int</hole12_yds>
          <hole13_yds>int</hole13_yds>
          <hole14_yds>int</hole14_yds>
          <hole15_yds>int</hole15_yds>
          <hole16_yds>int</hole16_yds>
          <hole17_yds>int</hole17_yds>
          <hole18_ydd>int</hole18_ydd>
          <hole1_par>int</hole1_par>
          <hole2_par>int</hole2_par>
          <hole3_par>int</hole3_par>
          <hole4_par>int</hole4_par>
          <hole5_par>int</hole5_par>
          <hole6_par>int</hole6_par>
          <hole7_par>int</hole7_par>
          <hole8_par>int</hole8_par>
          <hole9_par>int</hole9_par>
          <hole10_par>int</hole10_par>
          <hole11_par>int</hole11_par>
          <hole12_par>int</hole12_par>
          <hole13_par>int</hole13_par>
          <hole14_par>int</hole14_par>
          <hole15_par>int</hole15_par>
          <hole16_par>int</hole16_par>
          <hole17_par>int</hole17_par>
          <hole18_par>int</hole18_par>
          <par_in>int</par_in>
          <par_out>int</par_out>
          <total_par>int</total_par>
          <total_yds>int</total_yds>
          <yds_in>int</yds_in>
          <yds_out>int</yds_out>
          <Tournament_code>string</Tournament_code>
          <year>short</year>
        </vwLPGAServicesTournamentCourseDetail>
        <vwLPGAServicesTournamentCourseDetail>
          <TournamentID>int</TournamentID>
          <CourseName>string</CourseName>
          <hole1_yds>int</hole1_yds>
          <hole2_yds>int</hole2_yds>
          <hole3_yds>int</hole3_yds>
          <hole4_yds>int</hole4_yds>
          <hole5_yds>int</hole5_yds>
          <hole6_yds>int</hole6_yds>
          <hole7_yds>int</hole7_yds>
          <hole8_yds>int</hole8_yds>
          <hole9_yds>int</hole9_yds>
          <hole10_yds>int</hole10_yds>
          <hole11_yds>int</hole11_yds>
          <hole12_yds>int</hole12_yds>
          <hole13_yds>int</hole13_yds>
          <hole14_yds>int</hole14_yds>
          <hole15_yds>int</hole15_yds>
          <hole16_yds>int</hole16_yds>
          <hole17_yds>int</hole17_yds>
          <hole18_ydd>int</hole18_ydd>
          <hole1_par>int</hole1_par>
          <hole2_par>int</hole2_par>
          <hole3_par>int</hole3_par>
          <hole4_par>int</hole4_par>
          <hole5_par>int</hole5_par>
          <hole6_par>int</hole6_par>
          <hole7_par>int</hole7_par>
          <hole8_par>int</hole8_par>
          <hole9_par>int</hole9_par>
          <hole10_par>int</hole10_par>
          <hole11_par>int</hole11_par>
          <hole12_par>int</hole12_par>
          <hole13_par>int</hole13_par>
          <hole14_par>int</hole14_par>
          <hole15_par>int</hole15_par>
          <hole16_par>int</hole16_par>
          <hole17_par>int</hole17_par>
          <hole18_par>int</hole18_par>
          <par_in>int</par_in>
          <par_out>int</par_out>
          <total_par>int</total_par>
          <total_yds>int</total_yds>
          <yds_in>int</yds_in>
          <yds_out>int</yds_out>
          <Tournament_code>string</Tournament_code>
          <year>short</year>
        </vwLPGAServicesTournamentCourseDetail>
      </GetCourseDetailByTournamentIDResult>
    </GetCourseDetailByTournamentIDResponse>
  </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 /LPGAServices.asmx HTTP/1.1
Host: secureservices.lpga.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>
    <GetCourseDetailByTournamentID xmlns="http://secureservices.lpga.com">
      <intTournamentID>int</intTournamentID>
      <RegistrationKey>string</RegistrationKey>
    </GetCourseDetailByTournamentID>
  </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>
    <GetCourseDetailByTournamentIDResponse xmlns="http://secureservices.lpga.com">
      <GetCourseDetailByTournamentIDResult>
        <vwLPGAServicesTournamentCourseDetail>
          <TournamentID>int</TournamentID>
          <CourseName>string</CourseName>
          <hole1_yds>int</hole1_yds>
          <hole2_yds>int</hole2_yds>
          <hole3_yds>int</hole3_yds>
          <hole4_yds>int</hole4_yds>
          <hole5_yds>int</hole5_yds>
          <hole6_yds>int</hole6_yds>
          <hole7_yds>int</hole7_yds>
          <hole8_yds>int</hole8_yds>
          <hole9_yds>int</hole9_yds>
          <hole10_yds>int</hole10_yds>
          <hole11_yds>int</hole11_yds>
          <hole12_yds>int</hole12_yds>
          <hole13_yds>int</hole13_yds>
          <hole14_yds>int</hole14_yds>
          <hole15_yds>int</hole15_yds>
          <hole16_yds>int</hole16_yds>
          <hole17_yds>int</hole17_yds>
          <hole18_ydd>int</hole18_ydd>
          <hole1_par>int</hole1_par>
          <hole2_par>int</hole2_par>
          <hole3_par>int</hole3_par>
          <hole4_par>int</hole4_par>
          <hole5_par>int</hole5_par>
          <hole6_par>int</hole6_par>
          <hole7_par>int</hole7_par>
          <hole8_par>int</hole8_par>
          <hole9_par>int</hole9_par>
          <hole10_par>int</hole10_par>
          <hole11_par>int</hole11_par>
          <hole12_par>int</hole12_par>
          <hole13_par>int</hole13_par>
          <hole14_par>int</hole14_par>
          <hole15_par>int</hole15_par>
          <hole16_par>int</hole16_par>
          <hole17_par>int</hole17_par>
          <hole18_par>int</hole18_par>
          <par_in>int</par_in>
          <par_out>int</par_out>
          <total_par>int</total_par>
          <total_yds>int</total_yds>
          <yds_in>int</yds_in>
          <yds_out>int</yds_out>
          <Tournament_code>string</Tournament_code>
          <year>short</year>
        </vwLPGAServicesTournamentCourseDetail>
        <vwLPGAServicesTournamentCourseDetail>
          <TournamentID>int</TournamentID>
          <CourseName>string</CourseName>
          <hole1_yds>int</hole1_yds>
          <hole2_yds>int</hole2_yds>
          <hole3_yds>int</hole3_yds>
          <hole4_yds>int</hole4_yds>
          <hole5_yds>int</hole5_yds>
          <hole6_yds>int</hole6_yds>
          <hole7_yds>int</hole7_yds>
          <hole8_yds>int</hole8_yds>
          <hole9_yds>int</hole9_yds>
          <hole10_yds>int</hole10_yds>
          <hole11_yds>int</hole11_yds>
          <hole12_yds>int</hole12_yds>
          <hole13_yds>int</hole13_yds>
          <hole14_yds>int</hole14_yds>
          <hole15_yds>int</hole15_yds>
          <hole16_yds>int</hole16_yds>
          <hole17_yds>int</hole17_yds>
          <hole18_ydd>int</hole18_ydd>
          <hole1_par>int</hole1_par>
          <hole2_par>int</hole2_par>
          <hole3_par>int</hole3_par>
          <hole4_par>int</hole4_par>
          <hole5_par>int</hole5_par>
          <hole6_par>int</hole6_par>
          <hole7_par>int</hole7_par>
          <hole8_par>int</hole8_par>
          <hole9_par>int</hole9_par>
          <hole10_par>int</hole10_par>
          <hole11_par>int</hole11_par>
          <hole12_par>int</hole12_par>
          <hole13_par>int</hole13_par>
          <hole14_par>int</hole14_par>
          <hole15_par>int</hole15_par>
          <hole16_par>int</hole16_par>
          <hole17_par>int</hole17_par>
          <hole18_par>int</hole18_par>
          <par_in>int</par_in>
          <par_out>int</par_out>
          <total_par>int</total_par>
          <total_yds>int</total_yds>
          <yds_in>int</yds_in>
          <yds_out>int</yds_out>
          <Tournament_code>string</Tournament_code>
          <year>short</year>
        </vwLPGAServicesTournamentCourseDetail>
      </GetCourseDetailByTournamentIDResult>
    </GetCourseDetailByTournamentIDResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /LPGAServices.asmx/GetCourseDetailByTournamentID?intTournamentID=string&RegistrationKey=string HTTP/1.1
Host: secureservices.lpga.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfVwLPGAServicesTournamentCourseDetail xmlns="http://secureservices.lpga.com">
  <vwLPGAServicesTournamentCourseDetail>
    <TournamentID>int</TournamentID>
    <CourseName>string</CourseName>
    <hole1_yds>int</hole1_yds>
    <hole2_yds>int</hole2_yds>
    <hole3_yds>int</hole3_yds>
    <hole4_yds>int</hole4_yds>
    <hole5_yds>int</hole5_yds>
    <hole6_yds>int</hole6_yds>
    <hole7_yds>int</hole7_yds>
    <hole8_yds>int</hole8_yds>
    <hole9_yds>int</hole9_yds>
    <hole10_yds>int</hole10_yds>
    <hole11_yds>int</hole11_yds>
    <hole12_yds>int</hole12_yds>
    <hole13_yds>int</hole13_yds>
    <hole14_yds>int</hole14_yds>
    <hole15_yds>int</hole15_yds>
    <hole16_yds>int</hole16_yds>
    <hole17_yds>int</hole17_yds>
    <hole18_ydd>int</hole18_ydd>
    <hole1_par>int</hole1_par>
    <hole2_par>int</hole2_par>
    <hole3_par>int</hole3_par>
    <hole4_par>int</hole4_par>
    <hole5_par>int</hole5_par>
    <hole6_par>int</hole6_par>
    <hole7_par>int</hole7_par>
    <hole8_par>int</hole8_par>
    <hole9_par>int</hole9_par>
    <hole10_par>int</hole10_par>
    <hole11_par>int</hole11_par>
    <hole12_par>int</hole12_par>
    <hole13_par>int</hole13_par>
    <hole14_par>int</hole14_par>
    <hole15_par>int</hole15_par>
    <hole16_par>int</hole16_par>
    <hole17_par>int</hole17_par>
    <hole18_par>int</hole18_par>
    <par_in>int</par_in>
    <par_out>int</par_out>
    <total_par>int</total_par>
    <total_yds>int</total_yds>
    <yds_in>int</yds_in>
    <yds_out>int</yds_out>
    <Tournament_code>string</Tournament_code>
    <year>short</year>
  </vwLPGAServicesTournamentCourseDetail>
  <vwLPGAServicesTournamentCourseDetail>
    <TournamentID>int</TournamentID>
    <CourseName>string</CourseName>
    <hole1_yds>int</hole1_yds>
    <hole2_yds>int</hole2_yds>
    <hole3_yds>int</hole3_yds>
    <hole4_yds>int</hole4_yds>
    <hole5_yds>int</hole5_yds>
    <hole6_yds>int</hole6_yds>
    <hole7_yds>int</hole7_yds>
    <hole8_yds>int</hole8_yds>
    <hole9_yds>int</hole9_yds>
    <hole10_yds>int</hole10_yds>
    <hole11_yds>int</hole11_yds>
    <hole12_yds>int</hole12_yds>
    <hole13_yds>int</hole13_yds>
    <hole14_yds>int</hole14_yds>
    <hole15_yds>int</hole15_yds>
    <hole16_yds>int</hole16_yds>
    <hole17_yds>int</hole17_yds>
    <hole18_ydd>int</hole18_ydd>
    <hole1_par>int</hole1_par>
    <hole2_par>int</hole2_par>
    <hole3_par>int</hole3_par>
    <hole4_par>int</hole4_par>
    <hole5_par>int</hole5_par>
    <hole6_par>int</hole6_par>
    <hole7_par>int</hole7_par>
    <hole8_par>int</hole8_par>
    <hole9_par>int</hole9_par>
    <hole10_par>int</hole10_par>
    <hole11_par>int</hole11_par>
    <hole12_par>int</hole12_par>
    <hole13_par>int</hole13_par>
    <hole14_par>int</hole14_par>
    <hole15_par>int</hole15_par>
    <hole16_par>int</hole16_par>
    <hole17_par>int</hole17_par>
    <hole18_par>int</hole18_par>
    <par_in>int</par_in>
    <par_out>int</par_out>
    <total_par>int</total_par>
    <total_yds>int</total_yds>
    <yds_in>int</yds_in>
    <yds_out>int</yds_out>
    <Tournament_code>string</Tournament_code>
    <year>short</year>
  </vwLPGAServicesTournamentCourseDetail>
</ArrayOfVwLPGAServicesTournamentCourseDetail>

HTTP POST

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

POST /LPGAServices.asmx/GetCourseDetailByTournamentID HTTP/1.1
Host: secureservices.lpga.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

intTournamentID=string&RegistrationKey=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfVwLPGAServicesTournamentCourseDetail xmlns="http://secureservices.lpga.com">
  <vwLPGAServicesTournamentCourseDetail>
    <TournamentID>int</TournamentID>
    <CourseName>string</CourseName>
    <hole1_yds>int</hole1_yds>
    <hole2_yds>int</hole2_yds>
    <hole3_yds>int</hole3_yds>
    <hole4_yds>int</hole4_yds>
    <hole5_yds>int</hole5_yds>
    <hole6_yds>int</hole6_yds>
    <hole7_yds>int</hole7_yds>
    <hole8_yds>int</hole8_yds>
    <hole9_yds>int</hole9_yds>
    <hole10_yds>int</hole10_yds>
    <hole11_yds>int</hole11_yds>
    <hole12_yds>int</hole12_yds>
    <hole13_yds>int</hole13_yds>
    <hole14_yds>int</hole14_yds>
    <hole15_yds>int</hole15_yds>
    <hole16_yds>int</hole16_yds>
    <hole17_yds>int</hole17_yds>
    <hole18_ydd>int</hole18_ydd>
    <hole1_par>int</hole1_par>
    <hole2_par>int</hole2_par>
    <hole3_par>int</hole3_par>
    <hole4_par>int</hole4_par>
    <hole5_par>int</hole5_par>
    <hole6_par>int</hole6_par>
    <hole7_par>int</hole7_par>
    <hole8_par>int</hole8_par>
    <hole9_par>int</hole9_par>
    <hole10_par>int</hole10_par>
    <hole11_par>int</hole11_par>
    <hole12_par>int</hole12_par>
    <hole13_par>int</hole13_par>
    <hole14_par>int</hole14_par>
    <hole15_par>int</hole15_par>
    <hole16_par>int</hole16_par>
    <hole17_par>int</hole17_par>
    <hole18_par>int</hole18_par>
    <par_in>int</par_in>
    <par_out>int</par_out>
    <total_par>int</total_par>
    <total_yds>int</total_yds>
    <yds_in>int</yds_in>
    <yds_out>int</yds_out>
    <Tournament_code>string</Tournament_code>
    <year>short</year>
  </vwLPGAServicesTournamentCourseDetail>
  <vwLPGAServicesTournamentCourseDetail>
    <TournamentID>int</TournamentID>
    <CourseName>string</CourseName>
    <hole1_yds>int</hole1_yds>
    <hole2_yds>int</hole2_yds>
    <hole3_yds>int</hole3_yds>
    <hole4_yds>int</hole4_yds>
    <hole5_yds>int</hole5_yds>
    <hole6_yds>int</hole6_yds>
    <hole7_yds>int</hole7_yds>
    <hole8_yds>int</hole8_yds>
    <hole9_yds>int</hole9_yds>
    <hole10_yds>int</hole10_yds>
    <hole11_yds>int</hole11_yds>
    <hole12_yds>int</hole12_yds>
    <hole13_yds>int</hole13_yds>
    <hole14_yds>int</hole14_yds>
    <hole15_yds>int</hole15_yds>
    <hole16_yds>int</hole16_yds>
    <hole17_yds>int</hole17_yds>
    <hole18_ydd>int</hole18_ydd>
    <hole1_par>int</hole1_par>
    <hole2_par>int</hole2_par>
    <hole3_par>int</hole3_par>
    <hole4_par>int</hole4_par>
    <hole5_par>int</hole5_par>
    <hole6_par>int</hole6_par>
    <hole7_par>int</hole7_par>
    <hole8_par>int</hole8_par>
    <hole9_par>int</hole9_par>
    <hole10_par>int</hole10_par>
    <hole11_par>int</hole11_par>
    <hole12_par>int</hole12_par>
    <hole13_par>int</hole13_par>
    <hole14_par>int</hole14_par>
    <hole15_par>int</hole15_par>
    <hole16_par>int</hole16_par>
    <hole17_par>int</hole17_par>
    <hole18_par>int</hole18_par>
    <par_in>int</par_in>
    <par_out>int</par_out>
    <total_par>int</total_par>
    <total_yds>int</total_yds>
    <yds_in>int</yds_in>
    <yds_out>int</yds_out>
    <Tournament_code>string</Tournament_code>
    <year>short</year>
  </vwLPGAServicesTournamentCourseDetail>
</ArrayOfVwLPGAServicesTournamentCourseDetail>