Power Master Data
List of Power master data
URL
powermanagement/powermasterdet
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | 62VnwM0AIemWICJCwOAKfvp18YiTi75n | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| powermasterdatas | Array | M | List of Power Master | |||
| cctype | String | M | G | For Generator G,For Purchased Power P, For Solar S | ||
| costcentreid | Integer | M | 16 | Cost Centre ID if cctype = G | ||
| consumerno | String | M | 3465467651 | Consumer No if cctype <> G | ||
| vendorid | Integer | M | 0 | Vendor ID if cctype <> G | ||
| ctratio | Decimal | M | 1 | CT Ratio - Current Transformer Ratio | ||
| multiplicationfactor | Decimal | M | 1 | Multiplication Factor of energy | ||
| capacityofgenerator | Decimal | M | 1 | if cctype = G, Capacity of Generator | ||
| powerfactor | Decimal | M | 1 | Power Factor | ||
| id | Integer | M | 1 | ID of master data | ||
| remarks | String | M | test entry | Remarks | ||
| mdt1 | Decimal | M | 6 | Maximum Demand T1 | ||
| mdt2 | Decimal | M | 7 | Maximum Demand T2 | ||
| mdt3 | Decimal | M | 8 | Maximum Demand T3 | ||
| isedit | String | M | F | F = False, T = True. | ||
| eventid | String | M | event id | Event ID | ||
| costcentre | String | M | cost centre | Cost Centre |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"powermasterdatas": [
{
"cctype": "G",
"costcentreid": "16",
"consumerno": "3465467651",
"vendorid": "0",
"ctratio": "1",
"multiplicationfactor": "1",
"capacityofgenerator": "1",
"powerfactor": "1",
"id": "1",
"remarks": "test entry",
"mdt1": "6",
"mdt2": "7",
"mdt3": "8",
"isedit": "F",
"eventid": "event id",
"costcentre": "cost centre"
}
],
"e": 200,
"msg": "Success"
}