Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Retrieves a shield information barrier segment restriction based on provided ID.
4563
The ID of the shield information barrier segment Restriction.
Returns the shield information barrier segment restriction object.
Returns a not_found
error if the
shield information barrier segment
restriction was not found.
An unexpected client error.
await client.shieldInformationBarrierSegmentRestrictions.getShieldInformationBarrierSegmentRestrictionById(
segmentRestrictionId
);
client.shield_information_barrier_segment_restrictions.get_shield_information_barrier_segment_restriction_by_id(
segment_restriction_id
)
await client.ShieldInformationBarrierSegmentRestrictions.GetShieldInformationBarrierSegmentRestrictionByIdAsync(shieldInformationBarrierSegmentRestrictionId: segmentRestrictionId);
try await client.shieldInformationBarrierSegmentRestrictions.getShieldInformationBarrierSegmentRestrictionById(shieldInformationBarrierSegmentRestrictionId: segmentRestrictionId)
const barrierSegmentRestriction = await client.shieldInformationBarrierSegmentRestrictions.getById({
shield_information_barrier_segment_restriction_id: '12345',
});
console.log(`Shield information barrier segment restriction id ${barrierSegmentRestriction.id}`);
{
"id": "11446498",
"type": "shield_information_barrier_segment_restriction",
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"restricted_segment": {
"id": "1910967",
"type": "shield_information_barrier_segment"
},
"shield_information_barrier": {
"id": "11446498",
"type": "shield_information_barrier"
},
"shield_information_barrier_segment": {
"id": "1910967",
"type": "shield_information_barrier_segment"
},
"updated_at": "2020-07-26T18:44:45.869Z",
"updated_by": {
"id": "11446498",
"type": "user"
}
}