POST api/Renewal
Request Information
URI Parameters
None.
Body Parameters
Renewalrequestmodel| Name | Description | Type | Additional information |
|---|---|---|---|
| NewProductID | string |
None. |
|
| PromoCode | string |
None. |
|
| Accountnumber | string |
None. |
|
| DigitalSignature | FileModelSignup |
None. |
|
| IsPowerEco | boolean |
None. |
|
| powereco | string |
None. |
|
| currentContractId | string |
None. |
|
| Is_contactedited | boolean |
None. |
|
| companyUEN_NRIC | string |
None. |
|
| CompanyName | string |
None. |
|
| authpersoncontactId | string |
None. |
|
| authPersonFullname | string |
None. |
|
| authPersonNric | string |
None. |
|
| authPersonEmail | string |
None. |
|
| authPersonPhone | string |
None. |
|
| authPersondesignation | string |
None. |
|
| oem_agentcode | string |
None. |
|
| MEUCCalculationType | integer |
None. |
|
| MEUCBaseRate | decimal number |
None. |
|
| CarbonTaxCalculationType | integer |
None. |
|
| CarbonTaxBaseRate | decimal number |
None. |
|
| MDSCCalculationType | integer |
None. |
|
| MDSCBaseRate | decimal number |
None. |
|
| UOSCalculationType | integer |
None. |
|
| UOSPeakBaseRate | decimal number |
None. |
|
| UOSOffPeakBaseRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"NewProductID": "sample string 1",
"PromoCode": "sample string 2",
"Accountnumber": "sample string 3",
"DigitalSignature": {
"FileBase64Encode": "sample string 1",
"Type": "sample string 2",
"filename": "sample string 3"
},
"IsPowerEco": true,
"powereco": "sample string 5",
"currentContractId": "sample string 6",
"Is_contactedited": true,
"companyUEN_NRIC": "sample string 8",
"CompanyName": "sample string 9",
"authpersoncontactId": "sample string 10",
"authPersonFullname": "sample string 11",
"authPersonNric": "sample string 12",
"authPersonEmail": "sample string 13",
"authPersonPhone": "sample string 14",
"authPersondesignation": "sample string 15",
"oem_agentcode": "sample string 16",
"MEUCCalculationType": 1,
"MEUCBaseRate": 1.0,
"CarbonTaxCalculationType": 1,
"CarbonTaxBaseRate": 1.0,
"MDSCCalculationType": 1,
"MDSCBaseRate": 1.0,
"UOSCalculationType": 1,
"UOSPeakBaseRate": 1.0,
"UOSOffPeakBaseRate": 1.0
}
text/plain, application/octet-stream
Sample:
{"NewProductID":"sample string 1","PromoCode":"sample string 2","Accountnumber":"sample string 3","DigitalSignature":{"FileBase64Encode":"sample string 1","Type":"sample string 2","filename":"sample string 3"},"IsPowerEco":true,"powereco":"sample string 5","currentContractId":"sample string 6","Is_contactedited":true,"companyUEN_NRIC":"sample string 8","CompanyName":"sample string 9","authpersoncontactId":"sample string 10","authPersonFullname":"sample string 11","authPersonNric":"sample string 12","authPersonEmail":"sample string 13","authPersonPhone":"sample string 14","authPersondesignation":"sample string 15","oem_agentcode":"sample string 16","MEUCCalculationType":1,"MEUCBaseRate":1.0,"CarbonTaxCalculationType":1,"CarbonTaxBaseRate":1.0,"MDSCCalculationType":1,"MDSCBaseRate":1.0,"UOSCalculationType":1,"UOSPeakBaseRate":1.0,"UOSOffPeakBaseRate":1.0}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |