GET api/ESSystem/v1/GeneratorCycles/cycles?generatorGuid={generatorGuid}&from={from}&to={to}&status={status}
يعيد قائمة الدورات مع فلاتر اختيارية (المولّد، الفترة، الحالة).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| generatorGuid |
فلترة بمولّد معيّن. |
globally unique identifier |
None. |
| from |
من تاريخ بداية. |
date |
None. |
| to |
إلى تاريخ بداية. |
date |
None. |
| status |
حالة الدورة (0 مفتوحة، 1 مغلقة، 2 ملغاة). |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": 1,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Common"> <Data /> <Error>1</Error> <Message>sample string 2</Message> </ApiResult>