POST api/GreenOffsetCertificate

Add offset a shipment

Request Information

URI Parameters

None.

Body Parameters

OffsetCertificate
NameDescriptionTypeAdditional information
OffsetCertificateId

integer

None.

GR_SH_ID

integer

None.

CertificateDate

date

None.

MemberCode

integer

None.

MemberName

string

None.

ProjectId

integer

None.

ProjectName

string

None.

ProjectType

string

None.

PRegistry

string

None.

ProjectLocation

string

None.

CO2

decimal number

None.

EmmisionCost

decimal number

None.

OffsetCertificateTransactionId

string

None.

imgUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OffsetCertificateId": 1,
  "GR_SH_ID": 2,
  "CertificateDate": "2024-10-31T03:29:34.5339433+00:00",
  "MemberCode": 4,
  "MemberName": "sample string 5",
  "ProjectId": 6,
  "ProjectName": "sample string 7",
  "ProjectType": "sample string 8",
  "PRegistry": "sample string 9",
  "ProjectLocation": "sample string 10",
  "CO2": 11.0,
  "EmmisionCost": 12.0,
  "OffsetCertificateTransactionId": "sample string 13",
  "imgUrl": "sample string 14"
}

application/xml, text/xml

Sample:
<OffsetCertificate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable">
  <CO2>11</CO2>
  <CertificateDate>2024-10-31T03:29:34.5339433+00:00</CertificateDate>
  <EmmisionCost>12</EmmisionCost>
  <GR_SH_ID>2</GR_SH_ID>
  <MemberCode>4</MemberCode>
  <MemberName>sample string 5</MemberName>
  <OffsetCertificateId>1</OffsetCertificateId>
  <OffsetCertificateTransactionId>sample string 13</OffsetCertificateTransactionId>
  <PRegistry>sample string 9</PRegistry>
  <ProjectId>6</ProjectId>
  <ProjectLocation>sample string 10</ProjectLocation>
  <ProjectName>sample string 7</ProjectName>
  <ProjectType>sample string 8</ProjectType>
  <imgUrl>sample string 14</imgUrl>
</OffsetCertificate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>