POST request/Suppliers/list

Returns a set of Energy Supplier logos

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SupplierLogoDtoResponse
NameDescriptionTypeAdditional information
ApiVersion

string

None.

SuppliersDto

Collection of Supplier

None.

Uri

string

None.

Response Formats

application/json, text/json

Sample:
{
  "suppliersDto": [
    {
      "name": "sample string 1",
      "logoUrl": "sample string 2",
      "id": 3
    },
    {
      "name": "sample string 1",
      "logoUrl": "sample string 2",
      "id": 3
    }
  ],
  "apiVersion": "sample string 1",
  "uri": "sample string 2"
}

application/xml, text/xml

Sample:
<SupplierLogoDtoResponse 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>
  <SuppliersDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
    <d2p1:Supplier>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:LogoUrl>sample string 2</d2p1:LogoUrl>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Supplier>
    <d2p1:Supplier>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:LogoUrl>sample string 2</d2p1:LogoUrl>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Supplier>
  </SuppliersDto>
  <Uri>sample string 2</Uri>
</SupplierLogoDtoResponse>

multipart/form-data

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

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SuppliersDto[0].LogoUrl"

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

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

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

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

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ApiVersion"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Uri"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--