Response webhook resources for rate locks

Webhook resources for rate lock includes additional information to help the integration get relevant information regarding the lock actions. Below are some examples of the details included in various different scenarios

{
    "id": "6465b23e-51a9-4168-8f0c-197ac468d1f5",
    "text": "Transaction response successfully processed",
    "type": "urn:elli:epc:transaction:response:processed",
    "from": "System",
    "sent": "2021-05-12T22:29:46Z",
    "comments": "Lock created and confirmed successfully",
    "details": {
      "action": "lock_confirm",
      "lockId": "3ca6e2ae-e475-4c05-94d3-58d9942b4828",
      "status": "Success",
      "lockStatus": "Locked",
      "requestType": "LockRequest",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "e306b5ab-540e-4555-a77a-e6887ed4aa05",
    "text": "Transaction response successfully processed",
    "type": "urn:elli:epc:transaction:response:processed",
    "from": "System",
    "sent": "2021-05-12T22:31:18Z",
    "comments": "Lock updated successfully",
    "details": {
      "action": "relock",
      "lockId": "3079641f-ace6-4ebc-ab71-687d11dffc37",
      "status": "Success",
      "lockStatus": "Requested",
      "requestType": "LockRequest",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "b8c2c9d1-4245-441f-a686-437cc346ecb1",
    "text": "Transaction response successfully processed",
    "type": "urn:elli:epc:transaction:response:processed",
    "from": "System",
    "sent": "2021-05-12T22:32:35Z",
    "comments": "Lock updated successfully",
    "details": {
      "action": "extend",
      "lockId": "92247c9e-23d3-47f9-8e5c-91f09ca19785",
      "status": "Success",
      "lockStatus": "Locked",
      "requestType": "LockRequest",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "64b69c69-9706-4d8e-8bd7-c69cb14dd68d",
    "text": "Transaction response successfully processed",
    "type": "urn:elli:epc:transaction:response:processed",
    "from": "System",
    "sent": "2021-05-12T22:33:12Z",
    "comments": "Lock cancelled successfully",
    "details": {
      "action": "cancel",
      "lockId": "92247c9e-23d3-47f9-8e5c-91f09ca19785",
      "status": "Success",
      "lockStatus": "Locked",
      "requestType": "LockRequest",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "39d0ad73-940c-4ba4-baea-9d5e536ec6ee",
    "text": "Transaction response successfully processed",
    "type": "urn:elli:epc:transaction:response:processed",
    "from": "System",
    "sent": "2021-05-12T22:42:33Z",
    "comments": "Lock updated successfully",
    "details": {
      "action": "relock",
      "lockId": "7b827b4c-eea7-4f10-9131-ef4b52a09bd3",
      "status": "Success",
      "lockStatus": "Requested",
      "requestType": "LockRequest",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "bb3ab05d-a3aa-48cc-9ff6-cec3c4442ddb",
    "text": "Bad data in transaction response",
    "type": "urn:elli:epc:transaction:response:error",
    "from": "System",
    "sent": "2021-05-12T22:21:57Z",
    "comments": "{\"summary\":\"Bad Request\",\"details\":\"Request Payload has errors\",\"errors\":[{\"summary\":\"loan\",\"details\":\"Error in changeset[0].value: Entities with these ids were not found: '06a19a2e-1e88-491a-926a-f983b5cf7728'\"}]}",
    "details": {
      "action": "lock_confirm",
      "lockId": "873921fe-6348-4642-90a6-9d6ae53d24b7",
      "status": "Partial success",
      "lockStatus": "Locked",
      "requestType": "LockRequest",
      "errorMessage": "Lock confirmation succeeded but loan update failed.",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "26589be3-aa80-4768-8e8e-be4a0df6229b",
    "text": "Bad data in transaction response",
    "type": "urn:elli:epc:transaction:response:error",
    "from": "System",
    "sent": "2021-05-12T22:25:23Z",
    "comments": "{\"summary\":\"Forbidden\",\"details\":\"User doesn't have rights to update a lock.\"}",
    "details": {
      "action": "lock_confirm",
      "lockId": "0369db93-f560-490b-9631-a4c00b9e6758",
      "status": "Partial success",
      "lockStatus": "Requested",
      "requestType": "LockRequest",
      "errorMessage": "Lock request succeeded but buyside update, lock confirmation and loan update failed.",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "cd467986-f682-458d-832a-9b73c7d46dc3",
    "text": "Bad data in transaction response",
    "type": "urn:elli:epc:transaction:response:error",
    "from": "System",
    "sent": "2021-05-12T22:30:34Z",
    "comments": "{\"summary\":\"Bad Request\",\"details\":\"Request Payload has errors\",\"errors\":[{\"summary\":\"loan\",\"details\":\"Error in changeset[0].value: Entities with these ids were not found: '06a19a2e-1e88-491a-926a-f983b5cf7728'\"}]}",
    "details": {
      "action": "relock",
      "lockId": "c8ad7bdf-7549-4e9a-ab71-1a7e2d43fea8",
      "status": "Partial success",
      "lockStatus": "Requested",
      "requestType": "LockRequest",
      "errorMessage": "Relock request succeeded but loan update failed.",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }
{
    "id": "f7ac40bc-21d4-429d-8ca4-9432fb6248dc",
    "text": "Data validation error in transaction response",
    "type": "urn:elli:epc:transaction:response:error",
    "from": "System",
    "sent": "2021-05-12T22:44:01Z",
    "comments": "{\"summary\":\"Conflict\",\"details\":\"Submit lock request not allowed on expired\/cancelled lock\"}",
    "details": {
      "action": "lock_confirm",
      "status": "Error",
      "requestType": "LockRequest",
      "errorMessage": "Lock creation failed.",
      "transactionId": "9a3bedd5-8f17-4564-b276-c343af99d941"
    }
  }

Did this page help you?