|
POST https://tenant.sharepoint.com/sites/siteurl/_vti_bin/client.svc/ProcessQuery HTTP/1.1 |
|
X-RequestDigest: {digest} |
|
Content-Type: text/xml |
|
|
|
<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName=".NET Library" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"> |
|
<Actions> |
|
<StaticMethod TypeId="{9efa17eb-0d34-4f69-a085-5cc3f802439e}" Name="GetAvailableTagsForSite" Id="22"> |
|
<Parameters> |
|
<Parameter Type="String">https://tenant.sharepoint.com/sites/siteurl</Parameter> |
|
</Parameters> |
|
</StaticMethod> |
|
</Actions> |
|
<ObjectPaths /> |
|
</Request> |
|
|
|
RESPONSE |
|
[ |
|
{ |
|
"SchemaVersion": "15.0.0.0", |
|
"LibraryVersion": "16.0.9103.1219", |
|
"ErrorInfo": null, |
|
"TraceCorrelationId": "fc14f19e-70fd-9000-393c-5e81881bf60a" |
|
}, |
|
22, |
|
[ |
|
{ |
|
"_ObjectType_": "SP.CompliancePolicy.ComplianceTag", |
|
"AcceptMessagesOnlyFromSendersOrMembers": false, |
|
"AccessType": null, |
|
"AllowAccessFromUnmanagedDevice": null, |
|
"AutoDelete": true, |
|
"BlockDelete": true, |
|
"BlockEdit": false, |
|
"ContainsSiteLabel": false, |
|
"DisplayName": "", |
|
"EncryptionRMSTemplateId": null, |
|
"HasRetentionAction": true, |
|
"IsEventTag": true, |
|
"Notes": null, |
|
"RequireSenderAuthenticationEnabled": false, |
|
"ReviewerEmail": null, |
|
"SharingCapabilities": null, |
|
"SuperLock": false, |
|
"TagDuration": 1, |
|
"TagId": "/Guid(019a5d69-2f1d-4bd9-92e5-5b919d69c50f)/", |
|
"TagName": "Content Closure", |
|
"TagRetentionBasedOn": "EventAgeInDays" |
|
}, |
|
{ |
|
"_ObjectType_": "SP.CompliancePolicy.ComplianceTag", |
|
"AcceptMessagesOnlyFromSendersOrMembers": false, |
|
"AccessType": null, |
|
"AllowAccessFromUnmanagedDevice": null, |
|
"AutoDelete": true, |
|
"BlockDelete": true, |
|
"BlockEdit": false, |
|
"ContainsSiteLabel": false, |
|
"DisplayName": "", |
|
"EncryptionRMSTemplateId": null, |
|
"HasRetentionAction": true, |
|
"IsEventTag": false, |
|
"Notes": "User description of EDMS 1 Year (delete)", |
|
"RequireSenderAuthenticationEnabled": false, |
|
"ReviewerEmail": "[email protected]", |
|
"SharingCapabilities": null, |
|
"SuperLock": false, |
|
"TagDuration": 365, |
|
"TagId": "/Guid(ac5d1b6c-d70b-428d-a551-f04f91dff846)/", |
|
"TagName": "EDMS 1 Year (delete)", |
|
"TagRetentionBasedOn": "ModificationAgeInDays" |
|
} |
|
] |
|
] |