GET api/GreenMemberProject?MemberCode={MemberCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MemberCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of Projects for Member
Collection of MemberProjectsName | Description | Type | Additional 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:
<ArrayOfMemberProjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable"> <MemberProjects> <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> </MemberProjects> <MemberProjects> <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> </MemberProjects> </ArrayOfMemberProjects>