Links

Add Error Report

post
[PlatformAddress]/api/1.0/account?action=addErrorReport
Add Error Report

Example Request

{
"refType": 2,
"code": "254856",
"message": "This is an error reported while booking",
"level": 3,
"refId1": 107,
"refId2": 2256,
}

Returns

Property
Description
success
Whether or not the error report was added to the account
id
The unique id of the error report

RefType

One of the following value:
Type
refType
Custom
1
Venue Booking
2
Accommodation Group
3
Room Reservation
4
Pass refIds as per below mapping. All below mentioned refIds are mandatory to pass in order to save an error report against specific model.

RefType-RefId Mapping

Venue Booking

RefId
Related identifier
refId1
The identifier of venue
refId2
The identifier of venue booking

Accommodation Group

RefId
Related identifier
refId1
The identifier of venue
refId2
The identifier of venue booking
refId3
The identifier of booking accommodation group

Room Reservation

RefId
Related identifier
refId1
The identifier of venue
refId2
The identifier of venue booking
refId3
The identifier of room reservation

Throws

Code
Description
Specific Code: 24262
The error report details are invalid.