GET http://[host-proxy]/api/device/exchangeonline/OrganizationRelationship/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"OrganizationContact": {
"__type_requested": "System.String",
"__type_mapping_type": "String",
"description": "The OrganizationContact parameter specifies the email address that can be used to contact the external organization, for example, [email protected].",
"title": "OrganizationContact",
"required": false,
"readonly": false,
"type": "string",
"name": "OrganizationContact"
},
"ArchiveAccessEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The ArchiveAccessEnabled parameter specifies whether the organization relationship has been configured to provide remote archive access. Valid input for the ArchiveAccessEnabled parameter is $true or $false. The default value is $false. When the ArchiveAccessEnabled parameter is set to $true, the external organization specified in the organization relationship provides remote access to mailbox archives.",
"title": "ArchiveAccessEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "ArchiveAccessEnabled"
},
"AdminDisplayName": {
"__type_requested": "System.String",
"required": false,
"name": "AdminDisplayName",
"title": "AdminDisplayName",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"TargetAutodiscoverEpr": {
"__type_requested": "System.Uri",
"__type_mapping_type": "Unknown",
"description": "The TargetAutodiscoverEpr parameter specifies the Autodiscover URL of Exchange Web Services for the external organization, for example, https://contoso.com/autodiscover/autodiscover.svc/wssecurity. Exchange uses the Autodiscover service to automatically detect the correct Exchange server endpoint to use for external requests.",
"title": "TargetAutodiscoverEpr",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "TargetAutodiscoverEpr"
},
"OrganizationId": {
"__type_requested": "System.String",
"required": false,
"name": "OrganizationId",
"title": "OrganizationId",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"TargetOwaURL": {
"__type_requested": "",
"__type_mapping_type": "Unknown",
"description": "The TargetOwaURL parameter specifies the Outlook on the web URL of the external organization defined in the organization relationship. It's used for Outlook on the web redirection in a cross-premise Exchange scenario. Configuring this attribute enables users in the organization to use their current Outlook on the web URL to access Outlook on the web in the external organization.",
"title": "TargetOwaURL",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "TargetOwaURL"
},
"MailTipsAccessScope": {
"__type_requested": "",
"__type_mapping_type": "Unknown",
"description": "The MailTipsAccessScope parameter specifies a Security Distribution group in the organization that contains users for whom recipient-specific MailTips are returned over this organization relationship. The recipient-specific MailTips are:\nAuto Reply\nMailbox Full\nCustom\nIf a group is specified, these MailTips are returned only for those recipients that are members of the specified group. If a group isn't specified, recipient-specific MailTips are returned for all recipients in the organization. By default, no group is specified.\nThis restriction only applies to mailboxes, mail users, and mail contacts. It doesn't apply to distribution groups.",
"title": "MailTipsAccessScope",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "MailTipsAccessScope"
},
"PSShowComputerName": {
"__type_requested": "System.Boolean",
"required": false,
"name": "PSShowComputerName",
"title": "PSShowComputerName",
"__type_mapping_type": "Boolean",
"readonly": true,
"type": "boolean"
},
"DomainNames": {
"__type_requested": "MultiValuedProperty",
"__type_mapping_type": "String[]",
"description": "This parameter is available only in on-premises Exchange 2016.\nThe DomainNames parameter specifies the SMTP domains of the external organization. If adding multiple domain names, separate each entry with a comma.",
"title": "DomainNames",
"items": {
"type": "string"
},
"required": true,
"readonly": false,
"type": "array",
"name": "DomainNames"
},
"DeliveryReportEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The DeliveryReportEnabled parameter specifies whether Delivery Report data should be shared over this organization relationship.\nThe accepted values are $true or $false. The default value is $false.\nIf set to $true, this means the following two things:\nThe organization has agreed to share all Delivery Report data with the organization specified in the organization relationship.\nThis organization relationship should be used to retrieve Delivery Report information from the organization referenced in the organization relationship.\nFor message tracking to work in a cross-premise, Exchange scenario, the DeliveryReportEnabled parameter must be set to $true on both sides of the organization relationship. If one, or both, of the members of the organization relationship specifies the DeliveryReportEnabled parameter as $false, tracking between the organizations won't work in either direction.",
"title": "DeliveryReportEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "DeliveryReportEnabled"
},
"ObjectClass": {
"__type_requested": "Deserialized.Microsoft.Exchange.Data.MultiValuedProperty`1[[System.String,",
"required": false,
"name": "ObjectClass",
"title": "ObjectClass",
"items": {
"type": "string"
},
"__type_mapping_type": "String[]",
"readonly": true,
"type": "array"
},
"PSComputerName": {
"__type_requested": "System.String",
"required": false,
"name": "PSComputerName",
"title": "PSComputerName",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"FreeBusyAccessScope": {
"__type_requested": "",
"__type_mapping_type": "Unknown",
"description": "The FreeBusyAccessScope parameter specifies a security group in the internal organization that contains users that can have their free/busy information accessed by an external organization. You can use any value that uniquely identifies the group.\nFor example:\nName\nDisplay name\nDistinguished name (DN)\nCanonical DN\nGUID",
"title": "FreeBusyAccessScope",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "FreeBusyAccessScope"
},
"TargetApplicationUri": {
"__type_requested": "System.Uri",
"__type_mapping_type": "Unknown",
"description": "The TargetApplicationUri parameter specifies the target Uniform Resource Identifier (URI) of the external organization. The TargetApplicationUri parameter is specified by Exchange when requesting a delegated token for the external organization to fetch free and busy information, for example, mail.contoso.com.",
"title": "TargetApplicationUri",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "TargetApplicationUri"
},
"Identity": {
"__type_requested": "System.String",
"required": false,
"name": "Identity",
"title": "Identity",
"__type_mapping_type": "String",
"readonly": true,
"type": "string",
"description": "The Identity parameter specifies the identity of the organizational relationship. You can use the following values:\nCanonical name\nGUID\nName"
},
"DistinguishedName": {
"__type_requested": "System.String",
"required": false,
"name": "DistinguishedName",
"title": "DistinguishedName",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"OriginatingServer": {
"__type_requested": "System.String",
"required": false,
"name": "OriginatingServer",
"title": "OriginatingServer",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"Name": {
"__type_requested": "String",
"__type_mapping_type": "String",
"description": "The Name parameter specifies the meaningful name of the organization relationship.",
"title": "Name",
"required": true,
"readonly": false,
"type": "string",
"name": "Name"
},
"MailboxMoveEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "This parameter is available only in on-premises Exchange 2016.\nThe MailboxMoveEnabled parameter specifies whether the organization relationship is used for moving mailboxes to the external organization. If this parameter isn't set, the move requests require an administrator to provide a remote credential for the remote organization. The valid values for this parameter are $true or $false. The default value is $false.",
"title": "MailboxMoveEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "MailboxMoveEnabled"
},
"WhenCreatedUTC": {
"__type_requested": "System.DateTime",
"__type_mapping_type": "DateTime",
"name": "WhenCreatedUTC",
"title": "WhenCreatedUTC",
"format": "date-time",
"required": false,
"readonly": true,
"type": "string"
},
"FreeBusyAccessEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The FreeBusyAccessEnabled parameter specifies whether this organization relationship should be used for retrieving free/busy information from the external organization. The valid values for this parameter are $true or $false. The default value is $false.",
"title": "FreeBusyAccessEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "FreeBusyAccessEnabled"
},
"Enabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The Enabled parameter specifies whether to enable the sharing relationship. This parameter can be used to completely stop sharing for a particular relationship. The valid values for this parameter are $true or $false. The default value is $true.",
"title": "Enabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "Enabled"
},
"MailTipsAccessEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The MailTipsAccessEnabled parameter specifies whether MailTips data for users in this organization are returned over this organization relationship. The accepted values are $true or $false. The default value is $false.",
"title": "MailTipsAccessEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "MailTipsAccessEnabled"
},
"WhenCreated": {
"__type_requested": "System.DateTime",
"__type_mapping_type": "DateTime",
"name": "WhenCreated",
"title": "WhenCreated",
"format": "date-time",
"required": false,
"readonly": true,
"type": "string"
},
"ExchangeVersion": {
"__type_requested": "System.String",
"required": false,
"name": "ExchangeVersion",
"title": "ExchangeVersion",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"MailTipsAccessLevel": {
"__type_requested": "System.String",
"__type_mapping_type": "String",
"description": "The MailTipsAccessLevel parameter specifies the level of MailTips data that's externally shared over this organization relationship. This parameter can have the following values:\nAll All MailTips are returned, but the recipients in the remote organization are considered external. For the Auto Reply MailTip, the external Auto Reply message is returned.\nLimited Only those MailTips that could prevent a non-delivery report (NDR) or an Auto Reply are returned. Custom MailTips, the Large Audience MailTip, and Moderated Recipient MailTips won't be returned.\nNone No MailTips are returned to the remote organization. This is the default value.",
"title": "MailTipsAccessLevel",
"required": false,
"readonly": false,
"type": "string",
"name": "MailTipsAccessLevel"
},
"FreeBusyAccessLevel": {
"__type_requested": "System.String",
"__type_mapping_type": "String",
"description": "The FreeBusyAccessLevel parameter specifies the maximum amount of detail returned to the requesting organization.\nYou can use the following values:\nNone No free/busy access\nAvailabilityOnly Free/busy access with time only\nLimitedDetails Free/busy access with time, subject, and location",
"title": "FreeBusyAccessLevel",
"required": false,
"readonly": false,
"type": "string",
"name": "FreeBusyAccessLevel"
},
"DomainController": {
"__type_requested": "Fqdn",
"__type_mapping_type": "String",
"description": "This parameter is available only in on-premises Exchange 2016.\nThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.",
"title": "DomainController",
"required": false,
"readonly": false,
"type": "string",
"name": "DomainController"
},
"ObjectCategory": {
"__type_requested": "System.String",
"required": false,
"name": "ObjectCategory",
"title": "ObjectCategory",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"TargetSharingEpr": {
"__type_requested": "",
"__type_mapping_type": "Unknown",
"description": "The TargetSharingEpr parameter specifies the URL of the target Exchange Web Services for the external organization.\nIf you use this parameter, this URL is always used to reach the external Exchange server. The URL that's specified by the TargetAutodiscoverEpr parameter isn't used to locate the external Exchange server.",
"title": "TargetSharingEpr",
"required": false,
"readonly": true,
"__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string",
"type": "string",
"name": "TargetSharingEpr"
},
"IsValid": {
"__type_requested": "System.Boolean",
"required": false,
"name": "IsValid",
"title": "IsValid",
"__type_mapping_type": "Boolean",
"readonly": true,
"type": "boolean"
},
"WhenChanged": {
"__type_requested": "System.DateTime",
"__type_mapping_type": "DateTime",
"name": "WhenChanged",
"title": "WhenChanged",
"format": "date-time",
"required": false,
"readonly": true,
"type": "string"
},
"WhenChangedUTC": {
"__type_requested": "System.DateTime",
"__type_mapping_type": "DateTime",
"name": "WhenChangedUTC",
"title": "WhenChangedUTC",
"format": "date-time",
"required": false,
"readonly": true,
"type": "string"
},
"ObjectState": {
"__type_requested": "System.String",
"required": false,
"name": "ObjectState",
"title": "ObjectState",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"PhotosEnabled": {
"__type_requested": "$true | $false",
"__type_mapping_type": "Boolean",
"description": "The PhotosEnabled parameter specifies whether photo data for users in this organization are returned over this organization relationship. The accepted values are $true or $false. The default value is $false.",
"title": "PhotosEnabled",
"required": false,
"readonly": false,
"type": "boolean",
"name": "PhotosEnabled"
},
"RunspaceId": {
"__type_requested": "System.Guid",
"required": false,
"name": "RunspaceId",
"title": "RunspaceId",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"Guid": {
"__type_requested": "System.Guid",
"required": false,
"name": "Guid",
"title": "Guid",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
},
"Id": {
"__type_requested": "System.String",
"required": false,
"name": "Id",
"title": "Id",
"__type_mapping_type": "String",
"readonly": true,
"type": "string"
}
},
"schema_version": "2017.1"
}