Reference for GetScheduleInput

Url: https://seasdemo.innova.com.tr/HEMSOPTServices/MicrogridOptimizationService.svc/GetScheduleInput/{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 input of schedule 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",
	"PlanData":{
		"AirConditioners":[{
			"Active":true,
			"EnergyEfficiencyRatioCooling":1.26743233E+15,
			"EnergyEfficiencyRatioHeating":1.26743233E+15,
			"MaximumCoolingPower":1.26743233E+15,
			"MaximumHeatingPower":1.26743233E+15,
			"Name":"String content"
		}],
		"AlternativeResultCount":2147483647,
		"Building":{
			"BuildingVolume":1.26743233E+15,
			"CirculationOfFreshAir":1.26743233E+15,
			"HorizontalSurface":1.26743233E+15,
			"InertiaClass":0,
			"InitialTemperature":1.26743233E+15,
			"SurfaceExposedToSun":1.26743233E+15,
			"TransmittanceOfFloor":1.26743233E+15,
			"TransmittanceOfRoof":1.26743233E+15,
			"TransmittanceOfWalls":1.26743233E+15,
			"TransmittanceOfWindows":1.26743233E+15,
			"WallSurface":1.26743233E+15,
			"WindowsSurface":1.26743233E+15
		},
		"ComfortLevelforTemperature":{
			"PeriodComfortLevelTemperatures":[{
				"Key":2147483647,
				"Value":{
					"MaximumTemperature":1.26743233E+15,
					"MinimumTemperature":1.26743233E+15
				}
			}]
		},
		"ContinousAppliances":[{
			"Active":true,
			"ConsumptionRates":[{
				"Key":2147483647,
				"Value":2147483647
			}],
			"Name":"String content"
		}],
		"ControllableAppliances":[{
			"Active":true,
			"ConsumptionRate":1.26743233E+15,
			"ControllableWorks":[{
				"EarlyStartPeriod":2147483647,
				"LateStopPeriod":2147483647,
				"WorkDuration":2147483647
			}],
			"Name":"String content"
		}],
		"ElectricVehicles":[{
			"Active":true,
			"ChargeCost":1.26743233E+15,
			"ChargeEfficiency":1.26743233E+15,
			"ChargeRate":2147483647,
			"ConsumptionRate":1.26743233E+15,
			"DischargeCost":1.26743233E+15,
			"DischargeEfficiency":1.26743233E+15,
			"DischargeRate":2147483647,
			"ElectricVehicleUsages":[{
				"OutPeriodEnd":2147483647,
				"OutPeriodStart":2147483647,
				"WorkDuration":2147483647
			}],
			"InitialStorageLevel":2147483647,
			"MaximumStorageLevel":2147483647,
			"Name":"String content"
		}],
		"ExternalTemperature":{
			"ExternalTemperatures":[{
				"Key":2147483647,
				"Value":1.26743233E+15
			}]
		},
		"GridConstraint":{
			"PeriodGridConstraints":[{
				"Key":2147483647,
				"Value":{
					"MaximumPurchaseAmount":2147483647,
					"MaximumSaleAmount":2147483647
				}
			}]
		},
		"PlanDate":"201603231050",
		"PurchasePrice":{
			"PurchasePrices":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":2147483647
				}
			}]
		},
		"SalePrice":{
			"SalePrices":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":2147483647
				}
			}]
		},
		"SolarGenerators":[{
			"Active":true,
			"DepreciationCost":1.26743233E+15,
			"Efficiency":1.26743233E+15,
			"Generations":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":2147483647
				}
			}],
			"Name":"String content"
		}],
		"SolarRadiation":{
			"SolarRadiations":[{
				"Key":2147483647,
				"Value":1.26743233E+15
			}]
		},
		"StorageDevices":[{
			"Active":true,
			"ChargeCost":1.26743233E+15,
			"ChargeEfficiency":1.26743233E+15,
			"ChargeRate":2147483647,
			"DischargeCost":1.26743233E+15,
			"DischargeEfficiency":1.26743233E+15,
			"DischargeRate":2147483647,
			"InitialStorageLevel":2147483647,
			"MaximumStorageLevel":2147483647,
			"Name":"String content"
		}],
		"UncontrollableAppliances":[{
			"Active":true,
			"ConsumptionRate":1.26743233E+15,
			"Name":"String content",
			"UncontrollableWorks":[{
				"Deviation":1.26743233E+15,
				"Distribution":0,
				"EarlyStartPeriod":2147483647,
				"LateStopPeriod":2147483647,
				"MeanValue":2147483647,
				"MeanWorkDuration":2147483647
			}]
		}],
		"WindGenerators":[{
			"Active":true,
			"DepreciationCost":1.26743233E+15,
			"Efficiency":1.26743233E+15,
			"Generations":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":2147483647
				}
			}],
			"Name":"String content"
		}],
		"nDays":2147483647,
		"nPeriodsPerDay":2147483647,
		"nScenarios":2147483647,
                "CogenerationPlants":[{
			"Active":true,
			"Efficiency":1.26743233E+15,
			"HeatToPowerRatio":1.26743233E+15,
			"MaximumPower":1.26743233E+15,
			"MinimumPower":1.26743233E+15,
			"Name":"String content",
			"OperationCost":1.26743233E+15,
			"RampDownRate":1.26743233E+15,
			"RampUpRate":1.26743233E+15,
			"ShutdownCost":1.26743233E+15,
			"StartupCost":1.26743233E+15
		}],
		"DemandResponses":[{
			"Active":true,
			"Name":"String content",
			"PeriodDemandResponseOfferList":[{
				"Period":2147483647,
				"ReserveQuantities":[{
					"OfferedPrice":1.26743233E+15,
					"ReserveQuantity":1.26743233E+15
				}]
			}]
		}],
		"Generators":[{
			"Active":true,
			"Efficiency":1.26743233E+15,
			"MaximumPower":1.26743233E+15,
			"MinimumPower":1.26743233E+15,
			"Name":"String content",
			"OperationCost":1.26743233E+15,
			"RampDownRate":1.26743233E+15,
			"RampUpRate":1.26743233E+15,
			"ShutdownCost":1.26743233E+15,
			"StartupCost":1.26743233E+15
		}],
		"HeatDemands":[{
			"Active":true,
			"Name":"String content",
			"PeriodHeatDemands":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":2147483647
				}
			}]
		}],
		"Loads":[{
			"Active":true,
			"Name":"String content",
			"PeriodLoad":[{
				"Key":2147483647,
				"Value":{
					"Deviation":1.26743233E+15,
					"Distribution":0,
					"MeanValue":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.