GET request/manage/tariff/lookup/scenario

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ScenarioLookup
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2"
  },
  {
    "id": 1,
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfScenarioLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
  <ScenarioLookup>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ScenarioLookup>
  <ScenarioLookup>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ScenarioLookup>
</ArrayOfScenarioLookup>

multipart/form-data

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

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

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

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--