GET api/v1/ShipmentsCargos/{id}

Get a ShipmentsCargos according to the cargoID

Request Information

Parameters

NameDescriptionAdditional information
id

Define this parameter in the request URI.

Response Information

ShipmentsCargosDTO

Response body formats

application/json, text/json

Sample:
{
  "CargoID": 1,
  "CargoType": "sample string 1",
  "Commodity": "sample string 2",
  "PackageTypeCode": "sample string 3",
  "NumberOfPackages": 4,
  "HSCode": [
    {
      "Name": "sample string 2 - sample string 1",
      "Code": "sample string 2"
    },
    {
      "Name": "sample string 2 - sample string 1",
      "Code": "sample string 2"
    },
    {
      "Name": "sample string 2 - sample string 1",
      "Code": "sample string 2"
    }
  ],
  "NetWeight": {
    "Value": 1.0,
    "UOM": "sample string 1"
  },
  "GrossWeight": {
    "Value": 1.0,
    "UOM": "sample string 1"
  },
  "GrossVolume": {
    "Value": 1.0,
    "UOM": "sample string 1"
  },
  "Dimensions": {
    "Length": 1.0,
    "Width": 1.0,
    "Height": 1.0,
    "UOM": "sample string 1"
  },
  "Remarks": "sample string 5",
  "Hazmat": [
    {
      "HazmatID": 1,
      "IMOClassCode": "sample string 1",
      "UNDGNumber": "sample string 2",
      "ProperShippingName": "sample string 3",
      "PackingGroupCode": "sample string 4",
      "FlashpointTemperature": {
        "Value": 1.0,
        "UOM": "sample string 1"
      },
      "SpecialInstruction": "sample string 5"
    },
    {
      "HazmatID": 1,
      "IMOClassCode": "sample string 1",
      "UNDGNumber": "sample string 2",
      "ProperShippingName": "sample string 3",
      "PackingGroupCode": "sample string 4",
      "FlashpointTemperature": {
        "Value": 1.0,
        "UOM": "sample string 1"
      },
      "SpecialInstruction": "sample string 5"
    },
    {
      "HazmatID": 1,
      "IMOClassCode": "sample string 1",
      "UNDGNumber": "sample string 2",
      "ProperShippingName": "sample string 3",
      "PackingGroupCode": "sample string 4",
      "FlashpointTemperature": {
        "Value": 1.0,
        "UOM": "sample string 1"
      },
      "SpecialInstruction": "sample string 5"
    }
  ],
  "Reefer": [
    {
      "ReeferID": 1,
      "Temperature": {
        "Min": 1.0,
        "Max": 2.0,
        "UOM": "sample string 3"
      },
      "Humidity": 1.0,
      "SpecialInstruction": "sample string 1"
    },
    {
      "ReeferID": 1,
      "Temperature": {
        "Min": 1.0,
        "Max": 2.0,
        "UOM": "sample string 3"
      },
      "Humidity": 1.0,
      "SpecialInstruction": "sample string 1"
    },
    {
      "ReeferID": 1,
      "Temperature": {
        "Min": 1.0,
        "Max": 2.0,
        "UOM": "sample string 3"
      },
      "Humidity": 1.0,
      "SpecialInstruction": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<ShipmentsCargosDTO>
  <CargoID>1</CargoID>
  <CargoType>sample string 1</CargoType>
  <Commodity>sample string 2</Commodity>
  <PackageTypeCode>sample string 3</PackageTypeCode>
  <NumberOfPackages>4</NumberOfPackages>
  <HSCode>
    <Code>sample string 2</Code>
    <Name>sample string 2 - sample string 1</Name>
  </HSCode>
  <HSCode>
    <Code>sample string 2</Code>
    <Name>sample string 2 - sample string 1</Name>
  </HSCode>
  <HSCode>
    <Code>sample string 2</Code>
    <Name>sample string 2 - sample string 1</Name>
  </HSCode>
  <NetWeight>
    <Value>1</Value>
    <UOM>sample string 1</UOM>
  </NetWeight>
  <GrossWeight>
    <Value>1</Value>
    <UOM>sample string 1</UOM>
  </GrossWeight>
  <GrossVolume>
    <Value>1</Value>
    <UOM>sample string 1</UOM>
  </GrossVolume>
  <Dimensions>
    <Length>1</Length>
    <Width>1</Width>
    <Height>1</Height>
    <UOM>sample string 1</UOM>
  </Dimensions>
  <Remarks>sample string 5</Remarks>
  <Hazmat>
    <HazmatID>1</HazmatID>
    <IMOClassCode>sample string 1</IMOClassCode>
    <UNDGNumber>sample string 2</UNDGNumber>
    <ProperShippingName>sample string 3</ProperShippingName>
    <PackingGroupCode>sample string 4</PackingGroupCode>
    <FlashpointTemperature>
      <Value>1</Value>
      <UOM>sample string 1</UOM>
    </FlashpointTemperature>
    <SpecialInstruction>sample string 5</SpecialInstruction>
  </Hazmat>
  <Hazmat>
    <HazmatID>1</HazmatID>
    <IMOClassCode>sample string 1</IMOClassCode>
    <UNDGNumber>sample string 2</UNDGNumber>
    <ProperShippingName>sample string 3</ProperShippingName>
    <PackingGroupCode>sample string 4</PackingGroupCode>
    <FlashpointTemperature>
      <Value>1</Value>
      <UOM>sample string 1</UOM>
    </FlashpointTemperature>
    <SpecialInstruction>sample string 5</SpecialInstruction>
  </Hazmat>
  <Hazmat>
    <HazmatID>1</HazmatID>
    <IMOClassCode>sample string 1</IMOClassCode>
    <UNDGNumber>sample string 2</UNDGNumber>
    <ProperShippingName>sample string 3</ProperShippingName>
    <PackingGroupCode>sample string 4</PackingGroupCode>
    <FlashpointTemperature>
      <Value>1</Value>
      <UOM>sample string 1</UOM>
    </FlashpointTemperature>
    <SpecialInstruction>sample string 5</SpecialInstruction>
  </Hazmat>
  <Reefer>
    <ReeferID>1</ReeferID>
    <Temperature>
      <Min>1</Min>
      <Max>2</Max>
      <UOM>sample string 3</UOM>
    </Temperature>
    <Humidity>1</Humidity>
    <SpecialInstruction>sample string 1</SpecialInstruction>
  </Reefer>
  <Reefer>
    <ReeferID>1</ReeferID>
    <Temperature>
      <Min>1</Min>
      <Max>2</Max>
      <UOM>sample string 3</UOM>
    </Temperature>
    <Humidity>1</Humidity>
    <SpecialInstruction>sample string 1</SpecialInstruction>
  </Reefer>
  <Reefer>
    <ReeferID>1</ReeferID>
    <Temperature>
      <Min>1</Min>
      <Max>2</Max>
      <UOM>sample string 3</UOM>
    </Temperature>
    <Humidity>1</Humidity>
    <SpecialInstruction>sample string 1</SpecialInstruction>
  </Reefer>
</ShipmentsCargosDTO>