GET api/GreenMemberProject?ProjectId={ProjectId}&PrjectDetails={PrjectDetails}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
Required |
|
PrjectDetails | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Details of selected Project
Collection of OffsetProjectDetailsName | Description | Type | Additional information |
---|---|---|---|
PId | integer |
None. |
|
PName | string |
None. |
|
ProjectLocation | string |
None. |
|
MethodType | string |
None. |
|
Registry | string |
None. |
|
registry_project_id | string |
None. |
|
offset_classification | string |
None. |
|
PAvailable_carbon_in_kg | string |
None. |
|
Pcost_per_kg_carbon_in_usd_cents | string |
None. |
|
locX | decimal number |
None. |
|
locY | decimal number |
None. |
|
short_description | string |
None. |
|
long_description | string |
None. |
|
imgUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PId": 1, "PName": "sample string 2", "ProjectLocation": "sample string 3", "MethodType": "sample string 4", "Registry": "sample string 5", "registry_project_id": "sample string 6", "offset_classification": "sample string 7", "PAvailable_carbon_in_kg": "sample string 8", "Pcost_per_kg_carbon_in_usd_cents": "sample string 9", "locX": 10.1, "locY": 11.1, "short_description": "sample string 12", "long_description": "sample string 13", "imgUrl": "sample string 14" }, { "PId": 1, "PName": "sample string 2", "ProjectLocation": "sample string 3", "MethodType": "sample string 4", "Registry": "sample string 5", "registry_project_id": "sample string 6", "offset_classification": "sample string 7", "PAvailable_carbon_in_kg": "sample string 8", "Pcost_per_kg_carbon_in_usd_cents": "sample string 9", "locX": 10.1, "locY": 11.1, "short_description": "sample string 12", "long_description": "sample string 13", "imgUrl": "sample string 14" } ]
application/xml, text/xml
Sample:
<ArrayOfOffsetProjectDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable"> <OffsetProjectDetails> <MethodType>sample string 4</MethodType> <PAvailable_carbon_in_kg>sample string 8</PAvailable_carbon_in_kg> <PId>1</PId> <PName>sample string 2</PName> <Pcost_per_kg_carbon_in_usd_cents>sample string 9</Pcost_per_kg_carbon_in_usd_cents> <ProjectLocation>sample string 3</ProjectLocation> <Registry>sample string 5</Registry> <imgUrl>sample string 14</imgUrl> <locX>10.1</locX> <locY>11.1</locY> <long_description>sample string 13</long_description> <offset_classification>sample string 7</offset_classification> <registry_project_id>sample string 6</registry_project_id> <short_description>sample string 12</short_description> </OffsetProjectDetails> <OffsetProjectDetails> <MethodType>sample string 4</MethodType> <PAvailable_carbon_in_kg>sample string 8</PAvailable_carbon_in_kg> <PId>1</PId> <PName>sample string 2</PName> <Pcost_per_kg_carbon_in_usd_cents>sample string 9</Pcost_per_kg_carbon_in_usd_cents> <ProjectLocation>sample string 3</ProjectLocation> <Registry>sample string 5</Registry> <imgUrl>sample string 14</imgUrl> <locX>10.1</locX> <locY>11.1</locY> <long_description>sample string 13</long_description> <offset_classification>sample string 7</offset_classification> <registry_project_id>sample string 6</registry_project_id> <short_description>sample string 12</short_description> </OffsetProjectDetails> </ArrayOfOffsetProjectDetails>