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
Key | Datatype | Required | Description |
---|---|---|---|
userlast | string | ||
userfirst | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-mock-response-name | string | ||
x-mock-response-id | string | UID 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}"