query policyWanNetworkPolicy ( $accountId:ID! $wanNetworkPolicyInput:WanNetworkPolicyInput) {
	policy ( accountId:$accountId ) {
		wanNetwork {
			policy ( input:$wanNetworkPolicyInput   ) {
				enabled
				rules {
					audit {
						updatedTime
						updatedBy
					}
					rule {
						id
						name
						description
						index
						section {
							id
							name
						}
						enabled
						ruleType
						routeType
						source {
							user {
								id
								name
							}
							floatingSubnet {
								id
								name
							}
							globalIpRange {
								id
								name
							}
							group {
								id
								name
							}
							host {
								id
								name
							}
							ip
							ipRange {
								from
								to
							}
							networkInterface {
								id
								name
							}
							subnet
							site {
								id
								name
							}
							siteNetworkSubnet {
								id
								name
							}
							systemGroup {
								id
								name
							}
							usersGroup {
								id
								name
							}
						}
						destination {
							user {
								id
								name
							}
							floatingSubnet {
								id
								name
							}
							globalIpRange {
								id
								name
							}
							group {
								id
								name
							}
							host {
								id
								name
							}
							ip
							ipRange {
								from
								to
							}
							networkInterface {
								id
								name
							}
							subnet
							site {
								id
								name
							}
							siteNetworkSubnet {
								id
								name
							}
							systemGroup {
								id
								name
							}
							usersGroup {
								id
								name
							}
						}
						application {
							application {
								id
								name
							}
							appCategory {
								id
								name
							}
							customApp {
								id
								name
							}
							customCategory {
								id
								name
							}
							customServiceIp {
								name
								ip
								ipRange {
									from
									to
								}
							}
							customService {
								port
								portRange {
									from
									to
								}
								protocol
							}
							domain
							fqdn
							service {
								id
								name
							}
						}
						configuration {
							activeTcpAcceleration
							packetLossMitigation
							preserveSourcePort
							primaryTransport {
								transportType
								primaryInterfaceRole
								secondaryInterfaceRole
							}
							secondaryTransport {
								transportType
								primaryInterfaceRole
								secondaryInterfaceRole
							}
							allocationIp {
								id
								name
							}
							popLocation {
								id
								name
							}
							backhaulingSite {
								id
								name
							}
						}
						bandwidthPriority {
							id
							name
						}
						exceptions {
							name
							source {
								user {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								globalIpRange {
									id
									name
								}
								group {
									id
									name
								}
								host {
									id
									name
								}
								ip
								ipRange {
									from
									to
								}
								networkInterface {
									id
									name
								}
								subnet
								site {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								systemGroup {
									id
									name
								}
								usersGroup {
									id
									name
								}
							}
							destination {
								user {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								globalIpRange {
									id
									name
								}
								group {
									id
									name
								}
								host {
									id
									name
								}
								ip
								ipRange {
									from
									to
								}
								networkInterface {
									id
									name
								}
								subnet
								site {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								systemGroup {
									id
									name
								}
								usersGroup {
									id
									name
								}
							}
							application {
								application {
									id
									name
								}
								appCategory {
									id
									name
								}
								customApp {
									id
									name
								}
								customCategory {
									id
									name
								}
								customServiceIp {
									name
									ip
									ipRange {
										from
										to
									}
								}
								customService {
									port
									portRange {
										from
										to
									}
									protocol
								}
								domain
								fqdn
								service {
									id
									name
								}
							}
						}
					}
					properties
				}
				sections {
					audit {
						updatedTime
						updatedBy
					}
					section {
						id
						name
					}
					properties
				}
				audit {
					publishedTime
					publishedBy
				}
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}
			}
		}
	}	
}