GunBroker.com Auctions Web Service

The GunBroker.com SOAP API will be deprecated.  Please start using our REST API for your applications.

Click here for a complete list of operations.

GetFeedback

Get all the feedback for a particular user.

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 /AuctionService.asmx HTTP/1.1
Host: apiv2.gunbroker.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "GunBrokerAPI_V2/GetFeedback"

<?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>
    <RequesterCredentials xmlns="GunBrokerAPI_V2">
      <DevKey>string</DevKey>
      <AppKey>string</AppKey>
    </RequesterCredentials>
  </soap:Header>
  <soap:Body>
    <GetFeedback xmlns="GunBrokerAPI_V2">
      <GetFeedbackRequest>
        <UserID>int</UserID>
        <UserName>string</UserName>
      </GetFeedbackRequest>
    </GetFeedback>
  </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>
    <GetFeedbackResponse xmlns="GunBrokerAPI_V2">
      <GetFeedbackResult>
        <Timestamp>dateTime</Timestamp>
        <Ack>Success or Failure or Warning</Ack>
        <Errors>
          <ShortMessage>string</ShortMessage>
          <LongMessage>string</LongMessage>
          <ErrorCode>string</ErrorCode>
        </Errors>
        <FeedbackDetailArray>
          <FeedbackDetailArrayType>
            <FeedbackDetail>
              <ItemID>int</ItemID>
              <CommentingUserID>int</CommentingUserID>
              <CommentingUserName>string</CommentingUserName>
              <CommentingUserFeedbackCount>int</CommentingUserFeedbackCount>
              <CommentingUserFeedbackRating>decimal</CommentingUserFeedbackRating>
              <CommentText>string</CommentText>
              <CommentTime>dateTime</CommentTime>
              <CommentType>APlus or A or B or C or D or F</CommentType>
              <FeedbackResponse>string</FeedbackResponse>
              <FeedbackResponseDate>dateTime</FeedbackResponseDate>
              <FollowUp>string</FollowUp>
              <FollowUpDate>dateTime</FollowUpDate>
              <Role>Unspecified or Buyer or Seller</Role>
            </FeedbackDetail>
          </FeedbackDetailArrayType>
          <FeedbackDetailArrayType>
            <FeedbackDetail>
              <ItemID>int</ItemID>
              <CommentingUserID>int</CommentingUserID>
              <CommentingUserName>string</CommentingUserName>
              <CommentingUserFeedbackCount>int</CommentingUserFeedbackCount>
              <CommentingUserFeedbackRating>decimal</CommentingUserFeedbackRating>
              <CommentText>string</CommentText>
              <CommentTime>dateTime</CommentTime>
              <CommentType>APlus or A or B or C or D or F</CommentType>
              <FeedbackResponse>string</FeedbackResponse>
              <FeedbackResponseDate>dateTime</FeedbackResponseDate>
              <FollowUp>string</FollowUp>
              <FollowUpDate>dateTime</FollowUpDate>
              <Role>Unspecified or Buyer or Seller</Role>
            </FeedbackDetail>
          </FeedbackDetailArrayType>
        </FeedbackDetailArray>
        <TotalResults>int</TotalResults>
      </GetFeedbackResult>
    </GetFeedbackResponse>
  </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 /AuctionService.asmx HTTP/1.1
Host: apiv2.gunbroker.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:Header>
    <RequesterCredentials xmlns="GunBrokerAPI_V2">
      <DevKey>string</DevKey>
      <AppKey>string</AppKey>
    </RequesterCredentials>
  </soap12:Header>
  <soap12:Body>
    <GetFeedback xmlns="GunBrokerAPI_V2">
      <GetFeedbackRequest>
        <UserID>int</UserID>
        <UserName>string</UserName>
      </GetFeedbackRequest>
    </GetFeedback>
  </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>
    <GetFeedbackResponse xmlns="GunBrokerAPI_V2">
      <GetFeedbackResult>
        <Timestamp>dateTime</Timestamp>
        <Ack>Success or Failure or Warning</Ack>
        <Errors>
          <ShortMessage>string</ShortMessage>
          <LongMessage>string</LongMessage>
          <ErrorCode>string</ErrorCode>
        </Errors>
        <FeedbackDetailArray>
          <FeedbackDetailArrayType>
            <FeedbackDetail>
              <ItemID>int</ItemID>
              <CommentingUserID>int</CommentingUserID>
              <CommentingUserName>string</CommentingUserName>
              <CommentingUserFeedbackCount>int</CommentingUserFeedbackCount>
              <CommentingUserFeedbackRating>decimal</CommentingUserFeedbackRating>
              <CommentText>string</CommentText>
              <CommentTime>dateTime</CommentTime>
              <CommentType>APlus or A or B or C or D or F</CommentType>
              <FeedbackResponse>string</FeedbackResponse>
              <FeedbackResponseDate>dateTime</FeedbackResponseDate>
              <FollowUp>string</FollowUp>
              <FollowUpDate>dateTime</FollowUpDate>
              <Role>Unspecified or Buyer or Seller</Role>
            </FeedbackDetail>
          </FeedbackDetailArrayType>
          <FeedbackDetailArrayType>
            <FeedbackDetail>
              <ItemID>int</ItemID>
              <CommentingUserID>int</CommentingUserID>
              <CommentingUserName>string</CommentingUserName>
              <CommentingUserFeedbackCount>int</CommentingUserFeedbackCount>
              <CommentingUserFeedbackRating>decimal</CommentingUserFeedbackRating>
              <CommentText>string</CommentText>
              <CommentTime>dateTime</CommentTime>
              <CommentType>APlus or A or B or C or D or F</CommentType>
              <FeedbackResponse>string</FeedbackResponse>
              <FeedbackResponseDate>dateTime</FeedbackResponseDate>
              <FollowUp>string</FollowUp>
              <FollowUpDate>dateTime</FollowUpDate>
              <Role>Unspecified or Buyer or Seller</Role>
            </FeedbackDetail>
          </FeedbackDetailArrayType>
        </FeedbackDetailArray>
        <TotalResults>int</TotalResults>
      </GetFeedbackResult>
    </GetFeedbackResponse>
  </soap12:Body>
</soap12:Envelope>