Query visit
Description
This method retrieves a given visit.
Request
| Method | GET | |||
|---|---|---|---|---|
| URL | /visits/${visitId} | |||
| Parameters | ||||
| Name | Value | Mandatory | Description | |
| ${visitId} | string | yes | Visit identifier. | |
| include_pages | 
 | no | If true, the returned visit contains the reference list of the associated pages. | |
| include_pages_detail | 
 | no | If true, the returned visit contains the associated pages. You can only use this parameter if include_pages is set to true. | |
| include_events | 
 | no | If true, the returned visit contains the reference list of associated events. | |
| include_events_detail | 
 | no | If true,  the returned visit contains the associated events. You can only use this parameter if include_events is set to true. | |
Response
The History REST API answers with HTTP codes for every request. The following table shows the correct response for a successful request. See HTTP Response Codes and Errors for further details on the possible codes that this request can return.
| HTTP code | 200 | 
|---|---|
| HTTP Title | OK | 
| Body | Visit. | 
 This page was last edited on June 17, 2019, at 12:33.
                
                
                
                
                
                
		
		
			Comments or questions about this documentation? Contact us for support! 
		
                
                                
            