POST api/role/sales/{id}/saveepc
Creates/Overrides the EPC for the supplied propertyRoleId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The role id |
integer |
Required |
Body Parameters
The EPC information
Dezrez.Core.DataContracts.External.Api.Role.Command.EPC.EPCCommandDataContractName | Description | Type | Additional 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-14T08:49:32.3878418Z", "EpcExpiryDate": "2024-11-14T08:49:32.3878418Z", "CompanyRoleId": 1, "Id": 1 }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional 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. |