Get request by id

This method returns the request that matches the entered ID + the corresponding challenge.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
request_id
required
integer

The request's ID.

Responses
200

Request object with corresponding challenge

404

RequestWithChallenge not found

get/requests/{request_id}
Response samples
application/json
{
  • "challenge": "{\"challenge\":\"eyJhbnRpcmVwbGF5IjoiQUM4NjY3QTU1Qjc0REQwMDI4QkU1N0YzMzBGNjVCQ0Y1M0UyODkzMDc4MzRBQkQxQ0VDNkYyOUFFNTIwNkI5MSIsImRhdGEiOnsidHJhbnNhY3Rpb25fZGF0YSI6eyJhY2NvdW50X25hbWUiOiJteSBidGMgYWNjb3VudCIsImFtb3VudCI6IjEwMDAiLCJjdXJyZW5jeSI6ImJpdGNvaW4gdGVzdG5ldCIsIm1heF9mZWVzIjoiNDAxOCIsInJlY2lwaWVudCI6InRiMXF5N3M5YzJ4d3F5NHF5dmowa3lxN2g1Z2g0cnhnZGxqZHMwdDludiJ9LCJ0cmFuc2FjdGlvbl90eXBlIjoiQklUQ09JTl9MSUtFX1NFTkQifSwidHlwZSI6IkFQUFJPVkVfVFJBTlNBQ1RJT04ifQ\",\"id\":6}",
  • "created_by": 12,
  • "created_on": "2019-08-24T14:15:22Z",
  • "expires_at": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "status": "PENDING_APPROVAL",
  • "target_id": 10,
  • "target_type": "TRANSACTION",
  • "type": "CREATE_TRANSACTION",
  • "used_admin_group": 1
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.