GET request/manage/tariff/list

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GetTariffModel
NameDescriptionTypeAdditional information
ArcheType

string

None.

ArcheTypeId

integer

None.

HasWeekend

boolean

None.

Scenario

string

None.

ScenarioId

integer

None.

TariffId

integer

None.

TariffName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "tariffId": 1,
    "tariffName": "sample string 2",
    "archeType": "sample string 3",
    "archeTypeId": 4,
    "scenario": "sample string 5",
    "scenarioId": 6,
    "hasWeekend": true
  },
  {
    "tariffId": 1,
    "tariffName": "sample string 2",
    "archeType": "sample string 3",
    "archeTypeId": 4,
    "scenario": "sample string 5",
    "scenarioId": 6,
    "hasWeekend": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetTariffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
  <GetTariffModel>
    <ArcheType>sample string 3</ArcheType>
    <ArcheTypeId>4</ArcheTypeId>
    <HasWeekend>true</HasWeekend>
    <Scenario>sample string 5</Scenario>
    <ScenarioId>6</ScenarioId>
    <TariffId>1</TariffId>
    <TariffName>sample string 2</TariffName>
  </GetTariffModel>
  <GetTariffModel>
    <ArcheType>sample string 3</ArcheType>
    <ArcheTypeId>4</ArcheTypeId>
    <HasWeekend>true</HasWeekend>
    <Scenario>sample string 5</Scenario>
    <ScenarioId>6</ScenarioId>
    <TariffId>1</TariffId>
    <TariffName>sample string 2</TariffName>
  </GetTariffModel>
</ArrayOfGetTariffModel>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].TariffId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].TariffName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].ArcheType"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].ArcheTypeId"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Scenario"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].ScenarioId"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].HasWeekend"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].TariffId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].TariffName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].ArcheType"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].ArcheTypeId"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Scenario"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].ScenarioId"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].HasWeekend"

True
--MultipartDataMediaFormatterBoundary1q2w3e--