Retrieves a shield information barrier report by its ID.
3423
The ID of the shield information barrier Report.
Returns the shield information barrier report object.
Returns a not_found
error if the
shield information barrier Report was not found.
An unexpected client error.
await client.shieldInformationBarrierReports.getShieldInformationBarrierReportById(
createdReport.id!,
);
client.shield_information_barrier_reports.get_shield_information_barrier_report_by_id(
created_report.id
)
await client.ShieldInformationBarrierReports.GetShieldInformationBarrierReportByIdAsync(shieldInformationBarrierReportId: NullableUtils.Unwrap(createdReport.Id));
try await client.shieldInformationBarrierReports.getShieldInformationBarrierReportById(shieldInformationBarrierReportId: createdReport.id!)
const barrierReport = await client.shieldInformationBarrierReports.getById({
shield_information_barrier_report_id: '12345',
});
console.log(`Shield information barrier report id ${barrierReport.id}`);
{
"id": "11446498",
"type": "shield_information_barrier_report",
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"details": {
"details": {
"folder_id": "124235"
}
},
"shield_information_barrier": {
"shield_information_barrier": {
"id": "11446498",
"type": "shield_information_barrier"
}
},
"status": "pending",
"updated_at": "2020-07-26T18:44:45.869Z"
}