POST api/PIMS/GetAllUtilities
Request Information
URI Parameters
None.
Body Parameters
UtilityListReq| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyID | integer |
None. |
|
| EntityID | integer |
None. |
|
| UtilityDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyID": 1,
"EntityID": 2,
"UtilityDate": "sample string 3"
}
application/xml, text/xml
Sample:
<UtilityListReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO"> <EntityID>2</EntityID> <PropertyID>1</PropertyID> <UtilityDate>sample string 3</UtilityDate> </UtilityListReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Utilities| Name | Description | Type | Additional information |
|---|---|---|---|
| UtilityID | integer |
None. |
|
| UtilityType | integer |
None. |
|
| Entity | integer |
None. |
|
| Property | integer |
None. |
|
| PropertyName | string |
None. |
|
| EntityName | string |
None. |
|
| UtilityTypeName | string |
None. |
|
| UtilityDate | string |
None. |
|
| UtilityAmount | decimal number |
None. |
|
| TimeOffset | integer |
None. |
|
| isActive | boolean |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedDate | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UtilityID": 1,
"UtilityType": 2,
"Entity": 1,
"Property": 1,
"PropertyName": "sample string 3",
"EntityName": "sample string 4",
"UtilityTypeName": "sample string 5",
"UtilityDate": "sample string 6",
"UtilityAmount": 1.1,
"TimeOffset": 7,
"isActive": true,
"CreatedDate": "sample string 9",
"UpdatedDate": "sample string 10"
},
{
"UtilityID": 1,
"UtilityType": 2,
"Entity": 1,
"Property": 1,
"PropertyName": "sample string 3",
"EntityName": "sample string 4",
"UtilityTypeName": "sample string 5",
"UtilityDate": "sample string 6",
"UtilityAmount": 1.1,
"TimeOffset": 7,
"isActive": true,
"CreatedDate": "sample string 9",
"UpdatedDate": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfUtilities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO">
<Utilities>
<CreatedDate>sample string 9</CreatedDate>
<Entity>1</Entity>
<EntityName>sample string 4</EntityName>
<Property>1</Property>
<PropertyName>sample string 3</PropertyName>
<TimeOffset>7</TimeOffset>
<UpdatedDate>sample string 10</UpdatedDate>
<UtilityAmount>1.1</UtilityAmount>
<UtilityDate>sample string 6</UtilityDate>
<UtilityID>1</UtilityID>
<UtilityType>2</UtilityType>
<UtilityTypeName>sample string 5</UtilityTypeName>
<isActive>true</isActive>
</Utilities>
<Utilities>
<CreatedDate>sample string 9</CreatedDate>
<Entity>1</Entity>
<EntityName>sample string 4</EntityName>
<Property>1</Property>
<PropertyName>sample string 3</PropertyName>
<TimeOffset>7</TimeOffset>
<UpdatedDate>sample string 10</UpdatedDate>
<UtilityAmount>1.1</UtilityAmount>
<UtilityDate>sample string 6</UtilityDate>
<UtilityID>1</UtilityID>
<UtilityType>2</UtilityType>
<UtilityTypeName>sample string 5</UtilityTypeName>
<isActive>true</isActive>
</Utilities>
</ArrayOfUtilities>