GET request/supplier/targetmarket/matrix

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MatrixTargetMarketing
NameDescriptionTypeAdditional information
Targets

Collection of MatrixTargetMarketBase

None.

Response Formats

application/json, text/json

Sample:
{
  "targets": [
    {
      "metertype": {
        "id": 1,
        "label": "sample string 2",
        "isChecked": true
      },
      "targetSectors": [
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        },
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        }
      ],
      "contractTypes": [
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        },
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        }
      ],
      "tariffTypes": null
    },
    {
      "metertype": {
        "id": 1,
        "label": "sample string 2",
        "isChecked": true
      },
      "targetSectors": [
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        },
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        }
      ],
      "contractTypes": [
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        },
        {
          "id": 1,
          "label": "sample string 2",
          "isChecked": true
        }
      ],
      "tariffTypes": null
    }
  ]
}

text/html

Sample:
{"targets":[{"metertype":{"id":1,"label":"sample string 2","isChecked":true},"targetSectors":[{"id":1,"label":"sample string 2","isChecked":true},{"id":1,"label":"sample string 2","isChecked":true}],"contractTypes":[{"id":1,"label":"sample string 2","isChecked":true},{"id":1,"label":"sample string 2","isChecked":true}],"tariffTypes":null},{"metertype":{"id":1,"label":"sample string 2","isChecked":true},"targetSectors":[{"id":1,"label":"sample string 2","isChecked":true},{"id":1,"label":"sample string 2","isChecked":true}],"contractTypes":[{"id":1,"label":"sample string 2","isChecked":true},{"id":1,"label":"sample string 2","isChecked":true}],"tariffTypes":null}]}

application/xml, text/xml

Sample:
<MatrixTargetMarketing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.Target_Market">
  <Targets>
    <MatrixTargetMarketBase>
      <ContractTypes>
        <ContractType>
          <Id>1</Id>
          <IsChecked>true</IsChecked>
          <Label>sample string 2</Label>
        </ContractType>
        <ContractType>
          <Id>1</Id>
          <IsChecked>true</IsChecked>
          <Label>sample string 2</Label>
        </ContractType>
      </ContractTypes>
      <Metertype>
        <Id>1</Id>
        <IsChecked>true</IsChecked>
        <Label>sample string 2</Label>
      </Metertype>
      <TargetSectors xmlns:d4p1="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.SupplierDetails">
        <d4p1:TargetSector>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsChecked>true</d4p1:IsChecked>
          <d4p1:Label>sample string 2</d4p1:Label>
        </d4p1:TargetSector>
        <d4p1:TargetSector>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsChecked>true</d4p1:IsChecked>
          <d4p1:Label>sample string 2</d4p1:Label>
        </d4p1:TargetSector>
      </TargetSectors>
      <TariffTypes i:nil="true" />
    </MatrixTargetMarketBase>
    <MatrixTargetMarketBase>
      <ContractTypes>
        <ContractType>
          <Id>1</Id>
          <IsChecked>true</IsChecked>
          <Label>sample string 2</Label>
        </ContractType>
        <ContractType>
          <Id>1</Id>
          <IsChecked>true</IsChecked>
          <Label>sample string 2</Label>
        </ContractType>
      </ContractTypes>
      <Metertype>
        <Id>1</Id>
        <IsChecked>true</IsChecked>
        <Label>sample string 2</Label>
      </Metertype>
      <TargetSectors xmlns:d4p1="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.SupplierDetails">
        <d4p1:TargetSector>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsChecked>true</d4p1:IsChecked>
          <d4p1:Label>sample string 2</d4p1:Label>
        </d4p1:TargetSector>
        <d4p1:TargetSector>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsChecked>true</d4p1:IsChecked>
          <d4p1:Label>sample string 2</d4p1:Label>
        </d4p1:TargetSector>
      </TargetSectors>
      <TariffTypes i:nil="true" />
    </MatrixTargetMarketBase>
  </Targets>
</MatrixTargetMarketing>