How to retrieve a user's inquiry list

A user's inquiry list can be  retrieved by using the following URL, specifying a starting record number and ending record number, and additional POST data.  If left blank, this will default to the first 50 records.  Inquiries are returned in descending order of the inquiry date.

 

 Method URL
 GET  https://api.fairwarningsoftware.com/v1.1.1/inquiry/list/[start]/[limit]

 

Request
{
        "user_id": <user_id>
}

 

 Field  Type Description
user_id int The ID of the user submitting the item inquiry

 

 Status Response
 200  {
    "inquiries" : [
        {
            "inquiry" : {
                {
                    "report_id": <report_id>,
                    "item_id": <item_id>,
                    "user_id": <user_id>,
                    "report_date": <report_date>,
                    "item_title": <item_title>,
                    "item_slug": <item_slug>,
                    "auction_id": <auction_id>,
                    "auction_name": <auction_name>,
                    "auction_slug": <auction_slug>
            }
        },
        ...
    ],
    "record_count" : <record_count>
}
401  {"error":"The API keys provided are invalid."}
403  {"error":"API keys are missing."}
500  {"error": <custom error>}

 

 Field  Type Description
inquiries object An object containing a list of the user's inquiries.
    inquiry object An object containing an individual inquiry.
        report_id int The unique ID of the inquiry.
        item_id int The unique ID of the item the inquiry is for.
        user_id int The unique ID of the user who initially submitted the inquiry.
        report_date string The date the inquiry was originally submitted.
        item_title string The title of the item the inquiry is for.
        item_slug string The slug of the item the inquiry is for.
        auction_id int The unique ID of the auction the item is in.
        auction_name string The name of the auction the item is in.
        auction_slug string The slug of the auction the item is in.