GET api/GreenInvoice?InvoiceId={InvoiceId}&MemberCode={MemberCode}&unique={unique}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
Required |
|
MemberCode | integer |
Required |
|
unique | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MemberInvoiceDetailName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
None. |
|
InvoiceNumber | string |
None. |
|
Carrier | string |
None. |
|
ContainerNo | string |
None. |
|
ContainerSize | string |
None. |
|
Origin | string |
None. |
|
Destination | string |
None. |
|
ProjectName | string |
None. |
|
ProjectType | string |
None. |
|
OffsetCertificateTransactionId | string |
None. |
|
CarbonEmMton | decimal number |
None. |
|
ProjectCostRate | decimal number |
None. |
|
OffsetAmount | decimal number |
None. |
|
GreenablCharge | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "InvoiceId": 1, "InvoiceNumber": "sample string 2", "Carrier": "sample string 3", "ContainerNo": "sample string 4", "ContainerSize": "sample string 5", "Origin": "sample string 6", "Destination": "sample string 7", "ProjectName": "sample string 8", "ProjectType": "sample string 9", "OffsetCertificateTransactionId": "sample string 10", "CarbonEmMton": 11.0, "ProjectCostRate": 12.0, "OffsetAmount": 13.0, "GreenablCharge": 14.0 }, { "InvoiceId": 1, "InvoiceNumber": "sample string 2", "Carrier": "sample string 3", "ContainerNo": "sample string 4", "ContainerSize": "sample string 5", "Origin": "sample string 6", "Destination": "sample string 7", "ProjectName": "sample string 8", "ProjectType": "sample string 9", "OffsetCertificateTransactionId": "sample string 10", "CarbonEmMton": 11.0, "ProjectCostRate": 12.0, "OffsetAmount": 13.0, "GreenablCharge": 14.0 } ]
application/xml, text/xml
Sample:
<ArrayOfMemberInvoiceDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable"> <MemberInvoiceDetail> <CarbonEmMton>11</CarbonEmMton> <Carrier>sample string 3</Carrier> <ContainerNo>sample string 4</ContainerNo> <ContainerSize>sample string 5</ContainerSize> <Destination>sample string 7</Destination> <GreenablCharge>14</GreenablCharge> <InvoiceId>1</InvoiceId> <InvoiceNumber>sample string 2</InvoiceNumber> <OffsetAmount>13</OffsetAmount> <OffsetCertificateTransactionId>sample string 10</OffsetCertificateTransactionId> <Origin>sample string 6</Origin> <ProjectCostRate>12</ProjectCostRate> <ProjectName>sample string 8</ProjectName> <ProjectType>sample string 9</ProjectType> </MemberInvoiceDetail> <MemberInvoiceDetail> <CarbonEmMton>11</CarbonEmMton> <Carrier>sample string 3</Carrier> <ContainerNo>sample string 4</ContainerNo> <ContainerSize>sample string 5</ContainerSize> <Destination>sample string 7</Destination> <GreenablCharge>14</GreenablCharge> <InvoiceId>1</InvoiceId> <InvoiceNumber>sample string 2</InvoiceNumber> <OffsetAmount>13</OffsetAmount> <OffsetCertificateTransactionId>sample string 10</OffsetCertificateTransactionId> <Origin>sample string 6</Origin> <ProjectCostRate>12</ProjectCostRate> <ProjectName>sample string 8</ProjectName> <ProjectType>sample string 9</ProjectType> </MemberInvoiceDetail> </ArrayOfMemberInvoiceDetail>