GET api/GreenInvoice?MemberCode={MemberCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MemberCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
summery of the member invoice
Collection of MemberInvoiceHeaderName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
None. |
|
InvoiceNumber | string |
None. |
|
MemberCode | integer |
None. |
|
Company | string |
None. |
|
InvoiceDate | date |
None. |
|
InvoiceWeekNo | byte |
None. |
|
InvoiceYear | integer |
None. |
|
Status | string |
None. |
|
TotalCO2 | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
InvoiceType | string |
None. |
|
TotalShipments | decimal number |
None. |
|
InvoiceFileNameAndPath | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "InvoiceId": 1, "InvoiceNumber": "sample string 2", "MemberCode": 3, "Company": "sample string 4", "InvoiceDate": "2024-10-31T03:32:30.9756179+00:00", "InvoiceWeekNo": 64, "InvoiceYear": 7, "Status": "sample string 8", "TotalCO2": 9.1, "TotalAmount": 10.0, "InvoiceType": "sample string 11", "TotalShipments": 12.0, "InvoiceFileNameAndPath": "sample string 13" }, { "InvoiceId": 1, "InvoiceNumber": "sample string 2", "MemberCode": 3, "Company": "sample string 4", "InvoiceDate": "2024-10-31T03:32:30.9756179+00:00", "InvoiceWeekNo": 64, "InvoiceYear": 7, "Status": "sample string 8", "TotalCO2": 9.1, "TotalAmount": 10.0, "InvoiceType": "sample string 11", "TotalShipments": 12.0, "InvoiceFileNameAndPath": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfMemberInvoiceHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable"> <MemberInvoiceHeader> <Company>sample string 4</Company> <InvoiceDate>2024-10-31T03:32:30.9756179+00:00</InvoiceDate> <InvoiceFileNameAndPath>sample string 13</InvoiceFileNameAndPath> <InvoiceId>1</InvoiceId> <InvoiceNumber>sample string 2</InvoiceNumber> <InvoiceType>sample string 11</InvoiceType> <InvoiceWeekNo>64</InvoiceWeekNo> <InvoiceYear>7</InvoiceYear> <MemberCode>3</MemberCode> <Status>sample string 8</Status> <TotalAmount>10</TotalAmount> <TotalCO2>9.1</TotalCO2> <TotalShipments>12</TotalShipments> </MemberInvoiceHeader> <MemberInvoiceHeader> <Company>sample string 4</Company> <InvoiceDate>2024-10-31T03:32:30.9756179+00:00</InvoiceDate> <InvoiceFileNameAndPath>sample string 13</InvoiceFileNameAndPath> <InvoiceId>1</InvoiceId> <InvoiceNumber>sample string 2</InvoiceNumber> <InvoiceType>sample string 11</InvoiceType> <InvoiceWeekNo>64</InvoiceWeekNo> <InvoiceYear>7</InvoiceYear> <MemberCode>3</MemberCode> <Status>sample string 8</Status> <TotalAmount>10</TotalAmount> <TotalCO2>9.1</TotalCO2> <TotalShipments>12</TotalShipments> </MemberInvoiceHeader> </ArrayOfMemberInvoiceHeader>