POST Api/Presale/CustomerInformation/v2

Request Information

URI Parameters

None.

Body Parameters

ParamInsertYourInformationV2
NameDescriptionTypeAdditional information
PresaleID

integer

None.

EnergyTypeID

integer

None.

CustomerTypeID

integer

None.

IsMoving

boolean

None.

MovingDate

string

None.

IsSolar

boolean

None.

IsLifeSupport

boolean

None.

IsConnectInternetToNewProperty

boolean

None.

IsResponsibleMoreThanOneProperty

boolean

None.

IsHasCreditIssueInPastFiveYears

boolean

None.

IsSolarSystemGreater10kw

boolean

None.

IsInverterGreater10kw

boolean

None.

IsAddress

boolean

None.

FullAddress

string

None.

Postcode

string

None.

Suburb

string

None.

StateCode

string

None.

UnitNumber

string

None.

UnitType

string

None.

StreetNumber

string

None.

StreetName

string

None.

StreetTypeID

integer

None.

BuildingName

string

None.

FloorNumber

string

None.

LotNumber

string

None.

NMI

string

None.

MIRN

string

None.

ElecTariffCode

string

None.

ElecUsageLevel

string

None.

GasTarifCode

string

None.

GasUsageLevel

string

None.

SolarTariff

string

None.

SolarTariffFull

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PresaleID": 1,
  "EnergyTypeID": 2,
  "CustomerTypeID": 3,
  "IsMoving": true,
  "MovingDate": "sample string 5",
  "IsSolar": true,
  "IsLifeSupport": true,
  "IsConnectInternetToNewProperty": true,
  "IsResponsibleMoreThanOneProperty": true,
  "IsHasCreditIssueInPastFiveYears": true,
  "IsSolarSystemGreater10kw": true,
  "IsInverterGreater10kw": true,
  "IsAddress": true,
  "FullAddress": "sample string 8",
  "Postcode": "sample string 9",
  "Suburb": "sample string 10",
  "StateCode": "sample string 11",
  "UnitNumber": "sample string 12",
  "UnitType": "sample string 13",
  "StreetNumber": "sample string 14",
  "StreetName": "sample string 15",
  "StreetTypeID": 16,
  "BuildingName": "sample string 17",
  "FloorNumber": "sample string 18",
  "LotNumber": "sample string 19",
  "NMI": "sample string 20",
  "MIRN": "sample string 21",
  "ElecTariffCode": "sample string 22",
  "ElecUsageLevel": "sample string 23",
  "GasTarifCode": "sample string 24",
  "GasUsageLevel": "sample string 25",
  "SolarTariff": "sample string 26",
  "SolarTariffFull": "sample string 27"
}

application/xml, text/xml

Sample:
<ParamInsertYourInformationV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.NewPresales.Parameters">
  <BuildingName>sample string 17</BuildingName>
  <CustomerTypeID>3</CustomerTypeID>
  <ElecTariffCode>sample string 22</ElecTariffCode>
  <ElecUsageLevel>sample string 23</ElecUsageLevel>
  <EnergyTypeID>2</EnergyTypeID>
  <FloorNumber>sample string 18</FloorNumber>
  <FullAddress>sample string 8</FullAddress>
  <GasTarifCode>sample string 24</GasTarifCode>
  <GasUsageLevel>sample string 25</GasUsageLevel>
  <IsAddress>true</IsAddress>
  <IsConnectInternetToNewProperty>true</IsConnectInternetToNewProperty>
  <IsHasCreditIssueInPastFiveYears>true</IsHasCreditIssueInPastFiveYears>
  <IsInverterGreater10kw>true</IsInverterGreater10kw>
  <IsLifeSupport>true</IsLifeSupport>
  <IsMoving>true</IsMoving>
  <IsResponsibleMoreThanOneProperty>true</IsResponsibleMoreThanOneProperty>
  <IsSolar>true</IsSolar>
  <IsSolarSystemGreater10kw>true</IsSolarSystemGreater10kw>
  <LotNumber>sample string 19</LotNumber>
  <MIRN>sample string 21</MIRN>
  <MovingDate>sample string 5</MovingDate>
  <NMI>sample string 20</NMI>
  <Postcode>sample string 9</Postcode>
  <PresaleID>1</PresaleID>
  <SolarTariff>sample string 26</SolarTariff>
  <SolarTariffFull>sample string 27</SolarTariffFull>
  <StateCode>sample string 11</StateCode>
  <StreetName>sample string 15</StreetName>
  <StreetNumber>sample string 14</StreetNumber>
  <StreetTypeID>16</StreetTypeID>
  <Suburb>sample string 10</Suburb>
  <UnitNumber>sample string 12</UnitNumber>
  <UnitType>sample string 13</UnitType>
</ParamInsertYourInformationV2>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.