POST api/role/sales/{id}/saveepc
Creates/Overrides the EPC for the supplied propertyRoleId Processes this sales role API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The role id |
integer |
Required |
Body Parameters
The EPC information
EPCCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| EPCType |
The epc type value. |
EnumDataContract |
None. |
| EERCurrent |
The eer current value. |
integer |
None. |
| EERPotential |
The eer potential value. |
integer |
None. |
| EIRCurrent |
The eir current value. |
integer |
None. |
| EIRPotential |
The eir potential value. |
integer |
None. |
| EPARCurrent |
The epar current value. |
integer |
None. |
| EPARPotential |
The epar potential value. |
integer |
None. |
| EpcOrderDate |
The epc order date, expressed as a date and time. |
date |
None. |
| EpcExpiryDate |
The epc expiry date, expressed as a date and time. |
date |
None. |
| CompanyRoleId |
The unique identifier of the related company role resource. |
integer |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"EPCType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"EERCurrent": 1,
"EERPotential": 1,
"EIRCurrent": 1,
"EIRPotential": 1,
"EPARCurrent": 1,
"EPARPotential": 1,
"EpcOrderDate": "2026-07-23T08:20:37.7043112Z",
"EpcExpiryDate": "2026-07-23T08:20:37.7043112Z",
"CompanyRoleId": 1,
"Id": 1
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |