GET api/PIMS/GetUtilitiesByID/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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"
}
application/xml, text/xml
Sample:
<Utilities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO"> <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>