User history

GET {{url}}/users/history?userlast={{$randomLastName}}&userfirst={{$randomFirstName}}

User history

This request mocks the behavior behind searching for a user's history.

It also leverages Qodex's contextual responses by accessing the {{$queryParams}} variable.

Request Params

KeyDatatypeRequiredDescription
userlaststring
userfirststring

HEADERS

KeyDatatypeRequiredDescription
x-mock-response-namestring
x-mock-response-idstringUID of the example response. Note that this id will be different if you have forked the original collection

RESPONSES

status: OK

"{\n    \"queryParameters\": {{$queryParams}},\n    \"userDetails\": {\n        \"lastLogin\": \"{{$randomDateRecent}}\",\n        \"dob\": \"{{$randomDatePast}}\",\n        \"active\": \"{{$randomBoolean}}\"\n    }\n}"