POST api/PIMS/UpdateUtilities

Request Information

URI Parameters

None.

Body Parameters

Utilities
NameDescriptionTypeAdditional 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.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>