Read Retention Label applied from sharepoint rest api

%3CLINGO-SUB%20id%3D%22lingo-sub-1605601%22%20slang%3D%22en-US%22%3ERead%20Retention%20Label%20applied%20from%20sharepoint%20rest%20api%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1605601%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22o9v6fnle%20cxmmr5t8%20oygrvhab%20hcukyx3x%20c1et5uql%20ii04i59q%22%3E%3CDIV%3EI%20am%20trying%20to%20read%20Retention%20Label%20applied%20using%20REST%20API%20but%20unable%20to%20read%20tried%20both%20values%2C%20tried%20CAML%20as%20well%20but%20not%20getting%20this%20field%2C%20can%20we%20read%20using%20API%20or%20is%20not%20possible%3F%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22o9v6fnle%20cxmmr5t8%20oygrvhab%20hcukyx3x%20c1et5uql%20ii04i59q%22%3E%3CDIV%3E_api%2Fweb%2Flists%2Fgetbytitle('documents')%2Fitems%3F%24Select%3DOData__ComplianceTagWrittenTime%3C%2FDIV%3E%3CDIV%3E_api%2Fweb%2Flists%2Fgetbytitle('documents')%2Fitems%3F%24Select%3D_ComplianceTagWrittenTime%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1605601%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1606325%22%20slang%3D%22en-US%22%3ERE%3A%20Read%20Retention%20Label%20applied%20from%20sharepoint%20rest%20api%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1606325%22%20slang%3D%22en-US%22%3Ecan%20anyone%20please%20let%20m%20know%20if%20this%20is%20possible%20or%20not%20so%20accordingly%20i%20will%20proceed%3C%2FLINGO-BODY%3E
Highlighted
New Contributor
I am trying to read Retention Label applied using REST API but unable to read tried both values, tried CAML as well but not getting this field, can we read using API or is not possible?
_api/web/lists/getbytitle('documents')/items?$Select=OData__ComplianceTagWrittenTime
_api/web/lists/getbytitle('documents')/items?$Select=_ComplianceTagWrittenTime
1 Reply
Highlighted
can anyone please let m know if this is possible or not so accordingly i will proceed