Lists dangerous goods UN numbers
curl --request GET \
--url https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "99999a99-b888-777c-666d-55555555555e",
"un_number": "UN1203",
"proper_shipping_name": "MOTOR SPIRIT or GASOLINE or PETROL",
"label": "UN1203, MOTOR SPIRIT or GASOLINE or PETROL, Class 3, PG II",
"class_or_division": "3",
"subsidiary_risk": "6.1",
"packing_group": "II"
}
]Dangerous Goods UN Numbers
Lists dangerous goods UN numbers
GET
/
api
/
public
/
buyer
/
v1
/
dangerous_goods_un_numbers
Lists dangerous goods UN numbers
curl --request GET \
--url https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.chemcloud.com.au/api/public/buyer/v1/dangerous_goods_un_numbers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "99999a99-b888-777c-666d-55555555555e",
"un_number": "UN1203",
"proper_shipping_name": "MOTOR SPIRIT or GASOLINE or PETROL",
"label": "UN1203, MOTOR SPIRIT or GASOLINE or PETROL, Class 3, PG II",
"class_or_division": "3",
"subsidiary_risk": "6.1",
"packing_group": "II"
}
]Authorizations
Query Parameters
Narrows the list to entries matching every term against the UN number and proper shipping name
Response
Dangerous goods UN numbers
Send this as dangerous_goods_un_number_id on a buyer product
Example:
"99999a99-b888-777c-666d-55555555555e"
Example:
"UN1203"
Example:
"MOTOR SPIRIT or GASOLINE or PETROL"
What a buyer product reports as its dangerous_goods_un_number
Example:
"UN1203, MOTOR SPIRIT or GASOLINE or PETROL, Class 3, PG II"
Example:
"3"
Example:
"6.1"
Null on entries that carry no packing group
Example:
"II"
Was this page helpful?

