POST api/property/{id}/saveepc

Creates/Overrides the EPC for the supplied propertyId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The property id

integer

Required

Body Parameters

The EPC information

Dezrez.Core.DataContracts.External.Api.Property.Command.EPC.SetPropertyEPCCommandDataContract
NameDescriptionTypeAdditional information
EPCType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EERCurrent

integer

None.

EERPotential

integer

None.

EIRCurrent

integer

None.

EIRPotential

integer

None.

EPARCurrent

integer

None.

EPARPotential

integer

None.

EpcOrderDate

date

None.

EpcExpiryDate

date

None.

CompanyRoleId

integer

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "EPCType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EERCurrent": 1,
  "EERPotential": 1,
  "EIRCurrent": 1,
  "EIRPotential": 1,
  "EPARCurrent": 1,
  "EPARPotential": 1,
  "EpcOrderDate": "2024-11-21T09:49:44.145582Z",
  "EpcExpiryDate": "2024-11-21T09:49:44.145582Z",
  "CompanyRoleId": 1,
  "Id": 1
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.