Use this API to fetch the merge history of guest records. This API also retrieves the history of guest records that have been merged across different centers.
You must specify appropriate details for the start_date and end_date parameters in the API request.
Optionally, you can specify necessary details for the center_id, page, and size parameters in the API request.
Response Details
Name
Type
Description
merge_history
object
Object that contains the merge history-related elements of guest records. For more information, refer to the merge_history Object table.
page_info
object
Object that contains the pagination-related elements of the response. For more information, refer to the page_info Object table.
error
object
Object that contains error message and error code details. For more information, refer to the error Object table.
merge_history Object
Name
Type
Description
merged_date
datetime
Date and time on which the guest records were merged.
from_guest
object
Object that contains details about the guest record that was merged into the to_guest record. For more information, refer to the from_guest Object table.
to_guest
object
Object that contains details about the guest record into which the from_guest record was merged. For more information, refer to the to_guest Object table.
from_guest Object
Name
Type
Description
id
guid
Unique 32-character of the guest whose record was merged into the to_guest record.
code
string
Code of the guest whose record was merged into the to_guest record.
name
string
Name of the guest whose record was merged into the to_guest record.
center
object
Object that contains these elements of the center to which the from_guest record belongs: id and name.
to_guest Object
Name
Type
Description
id
guid
Unique 32-character of the guest into whose record the from_guest record was merged.
code
string
Code of the guest into whose record the from_guest record was merged.
name
string
Name of the guest into whose record the from_guest record was merged.
center
object
Object that contains these elements of the center to which the to_guest record belongs: id and name.
page_info Object
Name
Type
Description
total
int
Total records displayed in the response.
page
int
Number of pages that is displayed in the response.
size
int
Number of records displayed per page in the response.
error Object
code
error_message
1004
Request is missing mandatory parameters start_date and/or end_date.
Language
Credentials
Header
Click Try It! to start a request and see the response here!