TLinksService
Click here for a complete list of operations.
BookReservation
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 /tlinks/TLinksService.asmx HTTP/1.1 Host: totalsystemsonline.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.ezlinks.com/BookReservation" <?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> <BookReservation xmlns="http://www.ezlinks.com/"> <firstName>string</firstName> <lastName>string</lastName> <phone>string</phone> <email>string</email> <ccFirstName>string</ccFirstName> <ccLastName>string</ccLastName> <ccMiddleinitialName>string</ccMiddleinitialName> <ccAddress1>string</ccAddress1> <ccAddress2>string</ccAddress2> <ccCity>string</ccCity> <ccState>string</ccState> <ccZipCode>string</ccZipCode> <ccCountry>string</ccCountry> <ccType>string</ccType> <ccNumber>string</ccNumber> <ccExpires>string</ccExpires> <ccCvv2>string</ccCvv2> <resOwner>string</resOwner> <arrivalDate>string</arrivalDate> <departureDate>string</departureDate> <bookAnyPart>string</bookAnyPart> <roundsCourseCode>string</roundsCourseCode> <roundsGroupSize>string</roundsGroupSize> <roundsGender>string</roundsGender> <roundsTeeTimeId>string</roundsTeeTimeId> <roundsTeeNumber>string</roundsTeeNumber> <roundsPlayDate>string</roundsPlayDate> <roundsStartTime>string</roundsStartTime> <roundsRateId>string</roundsRateId> <roundsCourseCode2>string</roundsCourseCode2> <roundsGroupSize2>string</roundsGroupSize2> <roundsTeeTimeId2>string</roundsTeeTimeId2> <roundsTeeNumber2>string</roundsTeeNumber2> <roundsPlayDate2>string</roundsPlayDate2> <roundsStartTime2>string</roundsStartTime2> <roundsRateId2>string</roundsRateId2> <roundsCourseCode3>string</roundsCourseCode3> <roundsGroupSize3>string</roundsGroupSize3> <roundsTeeTimeId3>string</roundsTeeTimeId3> <roundsTeeNumber3>string</roundsTeeNumber3> <roundsPlayDate3>string</roundsPlayDate3> <roundsStartTime3>string</roundsStartTime3> <roundsRateId3>string</roundsRateId3> <customerId>string</customerId> <notes>string</notes> <roundsCartIncluded>string</roundsCartIncluded> <roundsPromotionId>string</roundsPromotionId> <roundsOverride>string</roundsOverride> <roundsGreensFee>string</roundsGreensFee> <roundsCartFee>string</roundsCartFee> </BookReservation> </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> <BookReservationResponse xmlns="http://www.ezlinks.com/"> <BookReservationResult xmlns=""> <Details> <Header> <LocationCode>string</LocationCode> <TransID>string</TransID> <Status>unsignedByte</Status> <Message>string</Message> </Header> <Confirmation>unsignedLong</Confirmation> <Rounds> <CourseCode>string</CourseCode> <GroupSize>unsignedByte</GroupSize> <Gender>string</Gender> <TeeTimeID>unsignedInt</TeeTimeID> <TeeNumber>unsignedByte</TeeNumber> <PlayDate>string</PlayDate> <StartTime>unsignedShort</StartTime> <RateID>unsignedShort</RateID> <GreensFees>decimal</GreensFees> <CartFees>decimal</CartFees> <CartIncluded>unsignedByte</CartIncluded> <PromotionID>unsignedInt</PromotionID> <PerPerson xsi:nil="true" /> <PerPerson xsi:nil="true" /> </Rounds> <Rounds> <CourseCode>string</CourseCode> <GroupSize>unsignedByte</GroupSize> <Gender>string</Gender> <TeeTimeID>unsignedInt</TeeTimeID> <TeeNumber>unsignedByte</TeeNumber> <PlayDate>string</PlayDate> <StartTime>unsignedShort</StartTime> <RateID>unsignedShort</RateID> <GreensFees>decimal</GreensFees> <CartFees>decimal</CartFees> <CartIncluded>unsignedByte</CartIncluded> <PromotionID>unsignedInt</PromotionID> <PerPerson xsi:nil="true" /> <PerPerson xsi:nil="true" /> </Rounds> </Details> </BookReservationResult> </BookReservationResponse> </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 /tlinks/TLinksService.asmx HTTP/1.1 Host: totalsystemsonline.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> <BookReservation xmlns="http://www.ezlinks.com/"> <firstName>string</firstName> <lastName>string</lastName> <phone>string</phone> <email>string</email> <ccFirstName>string</ccFirstName> <ccLastName>string</ccLastName> <ccMiddleinitialName>string</ccMiddleinitialName> <ccAddress1>string</ccAddress1> <ccAddress2>string</ccAddress2> <ccCity>string</ccCity> <ccState>string</ccState> <ccZipCode>string</ccZipCode> <ccCountry>string</ccCountry> <ccType>string</ccType> <ccNumber>string</ccNumber> <ccExpires>string</ccExpires> <ccCvv2>string</ccCvv2> <resOwner>string</resOwner> <arrivalDate>string</arrivalDate> <departureDate>string</departureDate> <bookAnyPart>string</bookAnyPart> <roundsCourseCode>string</roundsCourseCode> <roundsGroupSize>string</roundsGroupSize> <roundsGender>string</roundsGender> <roundsTeeTimeId>string</roundsTeeTimeId> <roundsTeeNumber>string</roundsTeeNumber> <roundsPlayDate>string</roundsPlayDate> <roundsStartTime>string</roundsStartTime> <roundsRateId>string</roundsRateId> <roundsCourseCode2>string</roundsCourseCode2> <roundsGroupSize2>string</roundsGroupSize2> <roundsTeeTimeId2>string</roundsTeeTimeId2> <roundsTeeNumber2>string</roundsTeeNumber2> <roundsPlayDate2>string</roundsPlayDate2> <roundsStartTime2>string</roundsStartTime2> <roundsRateId2>string</roundsRateId2> <roundsCourseCode3>string</roundsCourseCode3> <roundsGroupSize3>string</roundsGroupSize3> <roundsTeeTimeId3>string</roundsTeeTimeId3> <roundsTeeNumber3>string</roundsTeeNumber3> <roundsPlayDate3>string</roundsPlayDate3> <roundsStartTime3>string</roundsStartTime3> <roundsRateId3>string</roundsRateId3> <customerId>string</customerId> <notes>string</notes> <roundsCartIncluded>string</roundsCartIncluded> <roundsPromotionId>string</roundsPromotionId> <roundsOverride>string</roundsOverride> <roundsGreensFee>string</roundsGreensFee> <roundsCartFee>string</roundsCartFee> </BookReservation> </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> <BookReservationResponse xmlns="http://www.ezlinks.com/"> <BookReservationResult xmlns=""> <Details> <Header> <LocationCode>string</LocationCode> <TransID>string</TransID> <Status>unsignedByte</Status> <Message>string</Message> </Header> <Confirmation>unsignedLong</Confirmation> <Rounds> <CourseCode>string</CourseCode> <GroupSize>unsignedByte</GroupSize> <Gender>string</Gender> <TeeTimeID>unsignedInt</TeeTimeID> <TeeNumber>unsignedByte</TeeNumber> <PlayDate>string</PlayDate> <StartTime>unsignedShort</StartTime> <RateID>unsignedShort</RateID> <GreensFees>decimal</GreensFees> <CartFees>decimal</CartFees> <CartIncluded>unsignedByte</CartIncluded> <PromotionID>unsignedInt</PromotionID> <PerPerson xsi:nil="true" /> <PerPerson xsi:nil="true" /> </Rounds> <Rounds> <CourseCode>string</CourseCode> <GroupSize>unsignedByte</GroupSize> <Gender>string</Gender> <TeeTimeID>unsignedInt</TeeTimeID> <TeeNumber>unsignedByte</TeeNumber> <PlayDate>string</PlayDate> <StartTime>unsignedShort</StartTime> <RateID>unsignedShort</RateID> <GreensFees>decimal</GreensFees> <CartFees>decimal</CartFees> <CartIncluded>unsignedByte</CartIncluded> <PromotionID>unsignedInt</PromotionID> <PerPerson xsi:nil="true" /> <PerPerson xsi:nil="true" /> </Rounds> </Details> </BookReservationResult> </BookReservationResponse> </soap12:Body> </soap12:Envelope>