BulkCreateResponseEnergyCostDTO¶
Example Json Object
1{
2 "total": 0,
3 "created": 0,
4 "failed": 0,
5 "successes": [
6 {
7 "id": 0,
8 "createdBy": "string",
9 "createdAt": "2019-08-24T14:15:22Z",
10 "displayId": "string",
11 "date": "2019-08-24",
12 "amount": 0,
13 "energyTypeId": 0,
14 "energyTypeName": "string",
15 "energyUnitId": 0,
16 "energyUnitName": "string",
17 "energyStatusId": 0,
18 "energyStatus": "string",
19 "energyStatusType": "string",
20 "premiseId": 0,
21 "premiseDisplayId": "string",
22 "documentIds": [
23 0
24 ],
25 "source": "MANUAL",
26 "consumedQuantity": 0
27 }
28 ],
29 "failures": [
30 {
31 "index": 0,
32 "code": "string",
33 "message": "string"
34 }
35 ]
36}
📄 Description: Data transfer object representing the response from a bulk creation request for energy cost entries, including relevant status information and processing outcomes to facilitate efficient energy management.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
total |
integer(int32) |
false |
none |
Total value |
created |
integer(int32) |
false |
none |
Timestamp indicating when the energy cost record was created, facilitating tracking and auditing of energy cost data. |
failed |
integer(int32) |
false |
none |
Indicates the number of energy cost entries that failed to be created during the bulk operation. |
successes |
false |
none |
An array containing the successful responses from the bulk creation of energy cost entries, providing insight into the processed transactions. |
|
failures |
false |
none |
An array of error details encountered during the bulk creation process, providing insights into any failures that occurred. |