curl --request POST \
--url https://api.eddy.engineer/v1/bim.documents.issue \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"date": "<string>",
"issue": "<string>",
"key": "<string>",
"purpose": "<string>",
"allow_omitted": true,
"designs": {},
"on": "<string>",
"paper": "<string>",
"project": "<string>",
"state": "<string>",
"values": "<string>",
"variant": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/bim.documents.issue"
payload = {
"date": "<string>",
"issue": "<string>",
"key": "<string>",
"purpose": "<string>",
"allow_omitted": True,
"designs": {},
"on": "<string>",
"paper": "<string>",
"project": "<string>",
"state": "<string>",
"values": "<string>",
"variant": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
date: '<string>',
issue: '<string>',
key: '<string>',
purpose: '<string>',
allow_omitted: true,
designs: {},
on: '<string>',
paper: '<string>',
project: '<string>',
state: '<string>',
values: '<string>',
variant: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/bim.documents.issue', 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://api.eddy.engineer/v1/bim.documents.issue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '<string>',
'issue' => '<string>',
'key' => '<string>',
'purpose' => '<string>',
'allow_omitted' => true,
'designs' => [
],
'on' => '<string>',
'paper' => '<string>',
'project' => '<string>',
'state' => '<string>',
'values' => '<string>',
'variant' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.documents.issue"
payload := strings.NewReader("{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/bim.documents.issue")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.documents.issue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"bom": "<string>",
"issue": {},
"item": "<string>",
"key": "<string>",
"set_uri": "<string>"
}Issue the set: freeze it at the head, the bill of materials into PLM, released (`ss.mep.issue/1`, MEP34)
With project, key must be the project’s head now (DOCUMENTS_NOT_HEAD, 409). A worker draws the set and its snapshot on the heavy lane; each bill line’s item is made or reused in the caller’s organisation (part:~<org>:mep-<16 hex> or the shared part:mep-...; a line of equipment pins its record as payload mep_equipment); the issue’s own document item (...:mep-issue-<16 hex>) gets the EBOM (ss.plm.bom/1, lines as_stored at each child’s head revision), its payload the issue record, the PDF and the snapshot attached, and is released on date. An issue name is unique per project (or key): DOCUMENTS_ISSUE_EXISTS (409). A set with a discipline left out is refused DOCUMENTS_OMITTED (409) unless allow_omitted; a component naming a record the caller cannot read, DOCUMENTS_RECORD_UNRESOLVED (409). HV5: designs as /v1/bim.documents takes them; the issue record keeps them (designs, the request, re-run by /v1/bim.documents.check) and what they gave (design_results, each design’s {design, element, key, status}).
curl --request POST \
--url https://api.eddy.engineer/v1/bim.documents.issue \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"date": "<string>",
"issue": "<string>",
"key": "<string>",
"purpose": "<string>",
"allow_omitted": true,
"designs": {},
"on": "<string>",
"paper": "<string>",
"project": "<string>",
"state": "<string>",
"values": "<string>",
"variant": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/bim.documents.issue"
payload = {
"date": "<string>",
"issue": "<string>",
"key": "<string>",
"purpose": "<string>",
"allow_omitted": True,
"designs": {},
"on": "<string>",
"paper": "<string>",
"project": "<string>",
"state": "<string>",
"values": "<string>",
"variant": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
date: '<string>',
issue: '<string>',
key: '<string>',
purpose: '<string>',
allow_omitted: true,
designs: {},
on: '<string>',
paper: '<string>',
project: '<string>',
state: '<string>',
values: '<string>',
variant: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/bim.documents.issue', 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://api.eddy.engineer/v1/bim.documents.issue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '<string>',
'issue' => '<string>',
'key' => '<string>',
'purpose' => '<string>',
'allow_omitted' => true,
'designs' => [
],
'on' => '<string>',
'paper' => '<string>',
'project' => '<string>',
'state' => '<string>',
'values' => '<string>',
'variant' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.documents.issue"
payload := strings.NewReader("{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/bim.documents.issue")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.documents.issue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"<string>\",\n \"issue\": \"<string>\",\n \"key\": \"<string>\",\n \"purpose\": \"<string>\",\n \"allow_omitted\": true,\n \"designs\": {},\n \"on\": \"<string>\",\n \"paper\": \"<string>\",\n \"project\": \"<string>\",\n \"state\": \"<string>\",\n \"values\": \"<string>\",\n \"variant\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"bom": "<string>",
"issue": {},
"item": "<string>",
"key": "<string>",
"set_uri": "<string>"
}