GET api/GreenMemberProject?ProjectType={ProjectType}&Country={Country}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProjectType

string

Required

Country

string

Required

Body Parameters

None.

Response Information

Resource Description

List of Projects based on Project Types

Collection of OffsetProjects
NameDescriptionTypeAdditional information
PId

integer

None.

PName

string

None.

ProjectLocation

string

None.

PAvailable_carbon_in_kg

string

None.

Pcost_per_kg_carbon_in_usd_cents

decimal number

None.

imgUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PId": 1,
    "PName": "sample string 2",
    "ProjectLocation": "sample string 3",
    "PAvailable_carbon_in_kg": "sample string 4",
    "Pcost_per_kg_carbon_in_usd_cents": 5.1,
    "imgUrl": "sample string 6"
  },
  {
    "PId": 1,
    "PName": "sample string 2",
    "ProjectLocation": "sample string 3",
    "PAvailable_carbon_in_kg": "sample string 4",
    "Pcost_per_kg_carbon_in_usd_cents": 5.1,
    "imgUrl": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOffsetProjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable">
  <OffsetProjects>
    <PAvailable_carbon_in_kg>sample string 4</PAvailable_carbon_in_kg>
    <PId>1</PId>
    <PName>sample string 2</PName>
    <Pcost_per_kg_carbon_in_usd_cents>5.1</Pcost_per_kg_carbon_in_usd_cents>
    <ProjectLocation>sample string 3</ProjectLocation>
    <imgUrl>sample string 6</imgUrl>
  </OffsetProjects>
  <OffsetProjects>
    <PAvailable_carbon_in_kg>sample string 4</PAvailable_carbon_in_kg>
    <PId>1</PId>
    <PName>sample string 2</PName>
    <Pcost_per_kg_carbon_in_usd_cents>5.1</Pcost_per_kg_carbon_in_usd_cents>
    <ProjectLocation>sample string 3</ProjectLocation>
    <imgUrl>sample string 6</imgUrl>
  </OffsetProjects>
</ArrayOfOffsetProjects>