Reference for GetScheduleResult

Url: https://seasdemo.innova.com.tr/HEMSOPTServices/OptimizationService.svc/GetScheduleResult/{PLANID}

HTTP Method: GET

HTTP Request Header Field: Authorization to string username:password

'PLANID' is a unique identifier which should have format like 8225c8ce-edca-4718-ad69-8ac0eb26c0e8

The client requests for the results of scheduled home resources with id 8225c8ce-edca-4718-ad69-8ac0eb26c0e8 .

Then, the following is an example response Json body, as described here.

200 OK
{
	"Message":"String content",
	"Result":{
		"AirConditionerResult":[{
			"MaximumCoolingPower":1.26743233E+15,
			"MaximumHeatingPower":1.26743233E+15,
			"Name":"String content",
			"PeriodConsumption":[{
				"Consumption":1.26743233E+15,
				"OperationType":"String content",
				"Period":2147483647
			}]
		}],
		"ComfortLevelforTemperature":{
			"PeriodTemperature":[{
				"Period":2147483647,
				"PeriodComfortLevelTemperature":{
					"MaximumTemperature":1.26743233E+15,
					"MinimumTemperature":1.26743233E+15
				}
			}]
		},
		"ContinousAppliances":[{
			"Name":"String content",
			"PeriodConsumptions":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}]
		}],
		"ControllableApplianceResult":[{
			"ControllableWorkResult":[{
				"PeriodConsumption":[{
					"Period":2147483647,
					"Value":1.26743233E+15
				}],
				"UsageInformation":{
					"StartPeriod":2147483647,
					"StopPeriod":2147483647,
					"WorkDuration":2147483647
				}
			}],
			"Name":"String content"
		}],
		"ElectricVehicleStorageResult":[{
			"MaximumStorageLevel":2147483647,
			"Name":"String content",
			"OutPeriodUsage":[{
				"StartPeriod":2147483647,
				"StopPeriod":2147483647,
				"WorkDuration":2147483647
			}],
			"StoragePeriodResult":[{
				"Amount":1.26743233E+15,
				"OperationType":"String content",
				"Period":2147483647,
				"StorageLevel":1.26743233E+15
			}]
		}],
		"ExternalTemperature":{
			"TemperatureResult":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}]
		},
		"GridResult":{
			"SalePurchaseAmount":[{
				"MaximumPurchaseAmount":2147483647,
				"MaximumSaleAmount":2147483647,
				"Period":2147483647,
				"PurchaseAmount":1.26743233E+15,
				"SaleAmount":1.26743233E+15
			}]
		},
                "GroundingElectricity":{
			"PeriodGroundingElectricity":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}]
		},
		"InternalTemperatureResult":{
			"TemperatureResult":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}]
		},
		"PlanDate":"201603231050",
		"PriceResult":{
			"PriceResultDetail":[{
				"Period":2147483647,
				"PurchasePrice":1.26743233E+15,
				"SalePrice":1.26743233E+15
			}]
		},
		"SolarResult":[{
			"GenerationResult":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}],
			"Name":"String content"
		}],
		"StorageDeviceResult":[{
			"MaximumStorageLevel":2147483647,
			"Name":"String content",
			"StoragePeriodResult":[{
				"Amount":1.26743233E+15,
				"OperationType":"String content",
				"Period":2147483647,
				"StorageLevel":1.26743233E+15
			}]
		}],
		"TotalCost":1.26743233E+15,
		"UnControllableApplianceResult":[{
			"Name":"String content",
			"UnControllableWorkResult":[{
				"AlternativeResult":[{
					"Alternative":2147483647,
					"PeriodConsumption":[{
						"Period":2147483647,
						"Value":1.26743233E+15
					}]
				}],
				"UsageInformation":{
					"StartPeriod":2147483647,
					"StopPeriod":2147483647,
					"WorkDuration":2147483647
				}
			}]
		}],
		"WindResult":[{
			"GenerationResult":[{
				"Period":2147483647,
				"Value":1.26743233E+15
			}],
			"Name":"String content"
		}],
		"nDays":2147483647,
		"nPeriodsPerDay":2147483647
	}
}

HTTP responses may be returned by the server:

202 Accepted: Data not found for requested unique identifier.

400 Bad Request: Requested unique identifier is invalid format.

401 Unauthorized: User is unauthenticated to call the optimization service.

500 Internal Server Error: An error occured.