GET request/Tariffs/export/tariff/{tariffId}/prices

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tariffId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ExportTariffPriceDtoResponse
NameDescriptionTypeAdditional information
ApiVersion

string

None.

Tariff

ExportTariffPricesDto

None.

Uri

string

None.

Response Formats

application/json, text/json

Sample:
{
  "apiVersion": "sample string 1",
  "uri": "sample string 2",
  "tariff": {
    "tariffId": 1,
    "supplierId": 2,
    "tariffName": "sample string 3",
    "supplierName": "sample string 4",
    "prices": [
      {
        "dno": 64,
        "paymentId": 64,
        "rates": [
          {
            "unitRate": 1.0,
            "displayName": "sample string 2",
            "periods": [
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              },
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              }
            ]
          },
          {
            "unitRate": 1.0,
            "displayName": "sample string 2",
            "periods": [
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              },
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              }
            ]
          }
        ]
      },
      {
        "dno": 64,
        "paymentId": 64,
        "rates": [
          {
            "unitRate": 1.0,
            "displayName": "sample string 2",
            "periods": [
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              },
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              }
            ]
          },
          {
            "unitRate": 1.0,
            "displayName": "sample string 2",
            "periods": [
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              },
              {
                "monthFrom": "sample string 1",
                "monthTo": "sample string 2",
                "weekdayFrom": "sample string 3",
                "weekdayTo": "sample string 4",
                "timeFrom": "00:00:00.1234567",
                "timeTo": "00:00:00.1234567"
              }
            ]
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ExportTariffPriceDtoResponse 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>
  <Tariff xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
    <d2p1:Prices xmlns:d3p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.TOUTariff">
      <d3p1:ExportPrice>
        <d3p1:DNO>64</d3p1:DNO>
        <d3p1:PaymentId>64</d3p1:PaymentId>
        <d3p1:Rates>
          <d3p1:ExportFuelGroupPrice>
            <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
            <d3p1:Periods>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
            </d3p1:Periods>
            <d3p1:UnitRate>1</d3p1:UnitRate>
          </d3p1:ExportFuelGroupPrice>
          <d3p1:ExportFuelGroupPrice>
            <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
            <d3p1:Periods>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
            </d3p1:Periods>
            <d3p1:UnitRate>1</d3p1:UnitRate>
          </d3p1:ExportFuelGroupPrice>
        </d3p1:Rates>
      </d3p1:ExportPrice>
      <d3p1:ExportPrice>
        <d3p1:DNO>64</d3p1:DNO>
        <d3p1:PaymentId>64</d3p1:PaymentId>
        <d3p1:Rates>
          <d3p1:ExportFuelGroupPrice>
            <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
            <d3p1:Periods>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
            </d3p1:Periods>
            <d3p1:UnitRate>1</d3p1:UnitRate>
          </d3p1:ExportFuelGroupPrice>
          <d3p1:ExportFuelGroupPrice>
            <d3p1:DisplayName>sample string 2</d3p1:DisplayName>
            <d3p1:Periods>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
              <d3p1:ExportTimeSlot>
                <d3p1:MonthFrom>sample string 1</d3p1:MonthFrom>
                <d3p1:MonthTo>sample string 2</d3p1:MonthTo>
                <d3p1:TimeFrom>PT0.1234567S</d3p1:TimeFrom>
                <d3p1:TimeTo>PT0.1234567S</d3p1:TimeTo>
                <d3p1:WeekdayFrom>sample string 3</d3p1:WeekdayFrom>
                <d3p1:WeekdayTo>sample string 4</d3p1:WeekdayTo>
              </d3p1:ExportTimeSlot>
            </d3p1:Periods>
            <d3p1:UnitRate>1</d3p1:UnitRate>
          </d3p1:ExportFuelGroupPrice>
        </d3p1:Rates>
      </d3p1:ExportPrice>
    </d2p1:Prices>
    <d2p1:SupplierId>2</d2p1:SupplierId>
    <d2p1:SupplierName>sample string 4</d2p1:SupplierName>
    <d2p1:TariffId>1</d2p1:TariffId>
    <d2p1:TariffName>sample string 3</d2p1:TariffName>
  </Tariff>
  <Uri>sample string 2</Uri>
</ExportTariffPriceDtoResponse>

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="Tariff.TariffId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.SupplierId"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.TariffName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.SupplierName"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].DNO"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].PaymentId"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].UnitRate"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[0].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[0].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[0].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[0].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[1].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[1].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[1].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[0].Periods[1].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].UnitRate"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[0].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[0].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[0].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[0].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[1].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[1].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[1].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[0].Rates[1].Periods[1].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].DNO"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].PaymentId"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].UnitRate"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[0].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[0].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[0].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[0].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[1].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[1].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[1].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[0].Periods[1].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].UnitRate"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[0].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[0].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[0].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[0].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[1].MonthFrom"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[1].MonthTo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[1].WeekdayFrom"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Tariff.Prices[1].Rates[1].Periods[1].WeekdayTo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e--