How to obtain a list of Terms & Conditions history

The Terms and Conditions archive can be retrieved by using the following URL and specifying a starting record number and ending record number.  If left blank, this will default to the first 50 records.  Terms are returned in order of date edited.

 

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

 

 Status Response
 200

 {
    "terms":[
        { "term" :
            {
                "term_id": <term_id>,
                "term_date": <term_date>,
                "term_copy": <term_copy>
            }
        },
        ...
    ]
    "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
terms object An object containing a list of terms entries
    term object An object containing details for an individual terms entry
        term_id int The unique identifier for the terms
        term_date string The date the terms was created
        term_copy string The terms and conditions
record_count int The total number of records matching the search results