Skip to content

Instantly share code, notes, and snippets.

@virtuald

virtuald/a.json Secret

Created June 18, 2017 06:15
Show Gist options
  • Save virtuald/71fae5b37d63a2bf9f58ac6933edb46e to your computer and use it in GitHub Desktop.
Save virtuald/71fae5b37d63a2bf9f58ac6933edb46e to your computer and use it in GitHub Desktop.
{
"Body": {
"FolderShape": {
"AdditionalProperties": [
{
"FieldURI": "folder:ParentFolderId",
"__type": "PathToUnindexedField:#Exchange"
},
{
"PropertyTag": "0x3004",
"PropertyType": "String",
"__type": "PathToExtendedField:#Exchange"
},
{
"PropertyName": "FolderColor",
"PropertySetId": "A7B529B5-4B75-47A7-A24F-20743D6C55CD",
"PropertyType": "String",
"__type": "PathToExtendedField:#Exchange"
},
{
"PropertyName": "FolderOrder",
"PropertySetId": "A7B529B5-4B75-47A7-A24F-20743D6C55CD",
"PropertyType": "Integer",
"__type": "PathToExtendedField:#Exchange"
}
],
"BaseShape": "Default",
"__type": "FolderResponseShape:#Exchange"
},
"ParentFolderIds": [
{
"Id": "msgfolderroot",
"__type": "DistinguishedFolderId:#Exchange"
}
],
"Restriction": {
"Or": [
{
"Constant": {
"Value": "IPF.Appointment",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "FullString",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Appointment.",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "Prefixed",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Task",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "FullString",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Task.",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "Prefixed",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
}
],
"__type": "Restriction:#Exchange"
},
"Traversal": "Deep",
"__type": "FindFolderRequest:#Exchange"
},
"Header": {
"RequestServerVersion": {
"Version": "Exchange2007_SP1"
},
"__type": "JsonRequestHeaders:#Exchange"
},
"__type": "FindFolderJsonRequest:#Exchange"
}
{
"Body": {
"FolderShape": {
"AdditionalProperties": [
{
"PropertyTag": "0x3004",
"PropertyType": "String",
"__type": "PathToExtendedField:#Exchange"
},
{
"PropertyName": "FolderColor",
"PropertySetId": "A7B529B5-4B75-47A7-A24F-20743D6C55CD",
"PropertyType": "String",
"__type": "PathToExtendedField:#Exchange"
},
{
"PropertyName": "FolderOrder",
"PropertySetId": "A7B529B5-4B75-47A7-A24F-20743D6C55CD",
"PropertyType": "Integer",
"__type": "PathToExtendedField:#Exchange"
},
{
"FieldURI": "folder:ParentFolderId",
"__type": "PathToUnindexedField:#Exchange"
}
],
"BaseShape": "Default",
"__type": "FolderResponseShape:#Exchange"
},
"ParentFolderIds": [
{
"Id": "msgfolderroot",
"__type": "DistinguishedFolderId:#Exchange"
}
],
"Restriction": {
"Or": [
{
"Constant": {
"Value": "IPF.Appointment",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "FullString",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Appointment.",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "Prefixed",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Task",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "FullString",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
},
{
"Constant": {
"Value": "IPF.Task.",
"__type": "ConstantValue:#Exchange"
},
"ContainmentComparison": "Exact",
"ContainmentMode": "Prefixed",
"FieldURI": {
"FieldURI": "folder:FolderClass",
"__type": "PathToUnindexedField:#Exchange"
},
"__type": "ContainsExpression:#Exchange"
}
],
"__type": "Restriction:#Exchange"
},
"Traversal": "Deep",
"__type": "FindFolderRequest:#Exchange"
},
"Header": {
"RequestServerVersion": {
"Version": "Exchange2007_SP1"
},
"__type": "JsonRequestHeaders:#Exchange"
},
"__type": "FindFolderJsonRequest:#Exchange"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment