POST request/Switch/Pro/Info/Personal

Returns consumer personal details.

Request Information

URI Parameters

None.

Body Parameters

The switch completion binding model.

SwitchCompletionInfoBindingModel
NameDescriptionTypeAdditional information
IsTou

boolean

None.

SwitchKey

string

Required

Max length: 50

Min length: 1

Request Formats

application/json, text/json

Sample:
{
  "switchKey": "sample string 1",
  "isTou": true
}

application/xml, text/xml

Sample:
<SwitchCompletionInfoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Domain.Default.Sample">
  <IsTou xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Domain.Default.BindingModel">true</IsTou>
  <SwitchKey xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Domain.Default.BindingModel">sample string 1</SwitchKey>
</SwitchCompletionInfoBindingModel>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SwitchKey"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsTou"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

PersonalInfoDtoResponse
NameDescriptionTypeAdditional information
ApiVersion

string

None.

PersonalInfoDto

PersonalInfoDto

None.

Uri

string

None.

Response Formats

application/json, text/json

Sample:
{
  "apiVersion": "sample string 1",
  "uri": "sample string 2",
  "personalInfoDto": {
    "title": "sample string 1",
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "dateOfBirth": "2025-04-04T10:58:07.2466873+00:00",
    "emailAddress": "sample string 4",
    "dayTimePhone": "sample string 5",
    "eveningPhone": "sample string 6",
    "mobilePhone": "sample string 7",
    "employmentStatus": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<PersonalInfoDtoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.DtoResponse">
  <ApiVersion>sample string 1</ApiVersion>
  <PersonalInfoDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
    <d2p1:DateOfBirth>2025-04-04T10:58:07.2466873+00:00</d2p1:DateOfBirth>
    <d2p1:DayTimePhone>sample string 5</d2p1:DayTimePhone>
    <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
    <d2p1:EmploymentStatus>sample string 8</d2p1:EmploymentStatus>
    <d2p1:EveningPhone>sample string 6</d2p1:EveningPhone>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:LastName>sample string 3</d2p1:LastName>
    <d2p1:MobilePhone>sample string 7</d2p1:MobilePhone>
    <d2p1:Title>sample string 1</d2p1:Title>
  </PersonalInfoDto>
  <Uri>sample string 2</Uri>
</PersonalInfoDtoResponse>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ApiVersion"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Uri"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.Title"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.FirstName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.LastName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.DateOfBirth"

2025-04-04T10:58:07.2466873+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.EmailAddress"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.DayTimePhone"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.EveningPhone"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.MobilePhone"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PersonalInfoDto.EmploymentStatus"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e--