POST request/customer/{CustomerId}/ownersdetails

Post specific Company's Owner contact and address information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

Body Parameters

OwnerContactInfo
NameDescriptionTypeAdditional information
BespokeQuoteId

integer

None.

GDPRConsent

boolean

None.

InstantQuoteId

integer

None.

Owners

Collection of OwnerView

None.

PrimaryOwner

integer

None.

resultIds

Collection of ResultIds

None.

Request Formats

application/json, text/json

Sample:
{
  "owners": [
    {
      "contactId": 1,
      "title": "sample string 1",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "mobile": "sample string 4",
      "landLine": "sample string 5",
      "email": "sample string 6",
      "jobTitle": "sample string 7",
      "isMainContact": true,
      "isSignEnerySupplyContracts": true,
      "isSignDirectDebitContracts": true,
      "dateOfBirth": "2025-06-26T09:20:05.2455239+00:00",
      "addressInfo": [
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        },
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        }
      ],
      "currentAddress": 8
    },
    {
      "contactId": 1,
      "title": "sample string 1",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "mobile": "sample string 4",
      "landLine": "sample string 5",
      "email": "sample string 6",
      "jobTitle": "sample string 7",
      "isMainContact": true,
      "isSignEnerySupplyContracts": true,
      "isSignDirectDebitContracts": true,
      "dateOfBirth": "2025-06-26T09:20:05.2455239+00:00",
      "addressInfo": [
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        },
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        }
      ],
      "currentAddress": 8
    }
  ],
  "primaryOwner": 1,
  "gdprConsent": true,
  "bespokeQuoteId": 1,
  "instantQuoteId": 1,
  "resultIds": [
    {
      "resultId": 1
    },
    {
      "resultId": 1
    }
  ]
}

text/html

Sample:
{"owners":[{"contactId":1,"title":"sample string 1","firstName":"sample string 2","lastName":"sample string 3","mobile":"sample string 4","landLine":"sample string 5","email":"sample string 6","jobTitle":"sample string 7","isMainContact":true,"isSignEnerySupplyContracts":true,"isSignDirectDebitContracts":true,"dateOfBirth":"2025-06-26T09:20:05.2455239+00:00","addressInfo":[{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1},{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1}],"currentAddress":8},{"contactId":1,"title":"sample string 1","firstName":"sample string 2","lastName":"sample string 3","mobile":"sample string 4","landLine":"sample string 5","email":"sample string 6","jobTitle":"sample string 7","isMainContact":true,"isSignEnerySupplyContracts":true,"isSignDirectDebitContracts":true,"dateOfBirth":"2025-06-26T09:20:05.2455239+00:00","addressInfo":[{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1},{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1}],"currentAddress":8}],"primaryOwner":1,"gdprConsent":true,"bespokeQuoteId":1,"instantQuoteId":1,"resultIds":[{"resultId":1},{"resultId":1}]}

application/xml, text/xml

Sample:
<OwnerContactInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default">
  <BespokeQuoteId>1</BespokeQuoteId>
  <GDPRConsent>true</GDPRConsent>
  <InstantQuoteId>1</InstantQuoteId>
  <Owners>
    <OwnerView>
      <AddressInfo>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
      </AddressInfo>
      <CurrentAddress>8</CurrentAddress>
      <DateOfBirth>2025-06-26T09:20:05.2455239+00:00</DateOfBirth>
      <Email>sample string 6</Email>
      <FirstName>sample string 2</FirstName>
      <IsMainContact>true</IsMainContact>
      <IsSignDirectDebitContracts>true</IsSignDirectDebitContracts>
      <IsSignEnerySupplyContracts>true</IsSignEnerySupplyContracts>
      <JobTitle>sample string 7</JobTitle>
      <LandLine>sample string 5</LandLine>
      <LastName>sample string 3</LastName>
      <Mobile>sample string 4</Mobile>
      <Title>sample string 1</Title>
      <ContactId>1</ContactId>
    </OwnerView>
    <OwnerView>
      <AddressInfo>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
      </AddressInfo>
      <CurrentAddress>8</CurrentAddress>
      <DateOfBirth>2025-06-26T09:20:05.2455239+00:00</DateOfBirth>
      <Email>sample string 6</Email>
      <FirstName>sample string 2</FirstName>
      <IsMainContact>true</IsMainContact>
      <IsSignDirectDebitContracts>true</IsSignDirectDebitContracts>
      <IsSignEnerySupplyContracts>true</IsSignEnerySupplyContracts>
      <JobTitle>sample string 7</JobTitle>
      <LandLine>sample string 5</LandLine>
      <LastName>sample string 3</LastName>
      <Mobile>sample string 4</Mobile>
      <Title>sample string 1</Title>
      <ContactId>1</ContactId>
    </OwnerView>
  </Owners>
  <PrimaryOwner>1</PrimaryOwner>
  <resultIds>
    <ResultIds>
      <ResultId>1</ResultId>
    </ResultIds>
    <ResultIds>
      <ResultId>1</ResultId>
    </ResultIds>
  </resultIds>
</OwnerContactInfo>

Response Information

Resource Description

OwnerContactInfo
NameDescriptionTypeAdditional information
BespokeQuoteId

integer

None.

GDPRConsent

boolean

None.

InstantQuoteId

integer

None.

Owners

Collection of OwnerView

None.

PrimaryOwner

integer

None.

resultIds

Collection of ResultIds

None.

Response Formats

application/json, text/json

Sample:
{
  "owners": [
    {
      "contactId": 1,
      "title": "sample string 1",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "mobile": "sample string 4",
      "landLine": "sample string 5",
      "email": "sample string 6",
      "jobTitle": "sample string 7",
      "isMainContact": true,
      "isSignEnerySupplyContracts": true,
      "isSignDirectDebitContracts": true,
      "dateOfBirth": "2025-06-26T09:20:05.2455239+00:00",
      "addressInfo": [
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        },
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        }
      ],
      "currentAddress": 8
    },
    {
      "contactId": 1,
      "title": "sample string 1",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "mobile": "sample string 4",
      "landLine": "sample string 5",
      "email": "sample string 6",
      "jobTitle": "sample string 7",
      "isMainContact": true,
      "isSignEnerySupplyContracts": true,
      "isSignDirectDebitContracts": true,
      "dateOfBirth": "2025-06-26T09:20:05.2455239+00:00",
      "addressInfo": [
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        },
        {
          "addressLine1": "sample string 1",
          "addressLine2": "sample string 2",
          "addressCounty": "sample string 3",
          "addressTown": "sample string 4",
          "addressPostcode": "sample string 5",
          "years": 64,
          "months": 64,
          "addressSequence": 1
        }
      ],
      "currentAddress": 8
    }
  ],
  "primaryOwner": 1,
  "gdprConsent": true,
  "bespokeQuoteId": 1,
  "instantQuoteId": 1,
  "resultIds": [
    {
      "resultId": 1
    },
    {
      "resultId": 1
    }
  ]
}

text/html

Sample:
{"owners":[{"contactId":1,"title":"sample string 1","firstName":"sample string 2","lastName":"sample string 3","mobile":"sample string 4","landLine":"sample string 5","email":"sample string 6","jobTitle":"sample string 7","isMainContact":true,"isSignEnerySupplyContracts":true,"isSignDirectDebitContracts":true,"dateOfBirth":"2025-06-26T09:20:05.2455239+00:00","addressInfo":[{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1},{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1}],"currentAddress":8},{"contactId":1,"title":"sample string 1","firstName":"sample string 2","lastName":"sample string 3","mobile":"sample string 4","landLine":"sample string 5","email":"sample string 6","jobTitle":"sample string 7","isMainContact":true,"isSignEnerySupplyContracts":true,"isSignDirectDebitContracts":true,"dateOfBirth":"2025-06-26T09:20:05.2455239+00:00","addressInfo":[{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1},{"addressLine1":"sample string 1","addressLine2":"sample string 2","addressCounty":"sample string 3","addressTown":"sample string 4","addressPostcode":"sample string 5","years":64,"months":64,"addressSequence":1}],"currentAddress":8}],"primaryOwner":1,"gdprConsent":true,"bespokeQuoteId":1,"instantQuoteId":1,"resultIds":[{"resultId":1},{"resultId":1}]}

application/xml, text/xml

Sample:
<OwnerContactInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default">
  <BespokeQuoteId>1</BespokeQuoteId>
  <GDPRConsent>true</GDPRConsent>
  <InstantQuoteId>1</InstantQuoteId>
  <Owners>
    <OwnerView>
      <AddressInfo>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
      </AddressInfo>
      <CurrentAddress>8</CurrentAddress>
      <DateOfBirth>2025-06-26T09:20:05.2455239+00:00</DateOfBirth>
      <Email>sample string 6</Email>
      <FirstName>sample string 2</FirstName>
      <IsMainContact>true</IsMainContact>
      <IsSignDirectDebitContracts>true</IsSignDirectDebitContracts>
      <IsSignEnerySupplyContracts>true</IsSignEnerySupplyContracts>
      <JobTitle>sample string 7</JobTitle>
      <LandLine>sample string 5</LandLine>
      <LastName>sample string 3</LastName>
      <Mobile>sample string 4</Mobile>
      <Title>sample string 1</Title>
      <ContactId>1</ContactId>
    </OwnerView>
    <OwnerView>
      <AddressInfo>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
        <OwnerContactAddress>
          <AddressCounty>sample string 3</AddressCounty>
          <AddressLine1>sample string 1</AddressLine1>
          <AddressLine2>sample string 2</AddressLine2>
          <AddressPostcode>sample string 5</AddressPostcode>
          <AddressSequence>1</AddressSequence>
          <AddressTown>sample string 4</AddressTown>
          <Months>64</Months>
          <Years>64</Years>
        </OwnerContactAddress>
      </AddressInfo>
      <CurrentAddress>8</CurrentAddress>
      <DateOfBirth>2025-06-26T09:20:05.2455239+00:00</DateOfBirth>
      <Email>sample string 6</Email>
      <FirstName>sample string 2</FirstName>
      <IsMainContact>true</IsMainContact>
      <IsSignDirectDebitContracts>true</IsSignDirectDebitContracts>
      <IsSignEnerySupplyContracts>true</IsSignEnerySupplyContracts>
      <JobTitle>sample string 7</JobTitle>
      <LandLine>sample string 5</LandLine>
      <LastName>sample string 3</LastName>
      <Mobile>sample string 4</Mobile>
      <Title>sample string 1</Title>
      <ContactId>1</ContactId>
    </OwnerView>
  </Owners>
  <PrimaryOwner>1</PrimaryOwner>
  <resultIds>
    <ResultIds>
      <ResultId>1</ResultId>
    </ResultIds>
    <ResultIds>
      <ResultId>1</ResultId>
    </ResultIds>
  </resultIds>
</OwnerContactInfo>