Vendor
Vendor decision created
A new vendor decision has been created.
POST
/
v1.vendor.decision.created
Vendor decision created
curl --request POST \
--url https://your-endpoint.example.com/v1.vendor.decision.created \
--header 'Content-Type: application/json' \
--data '
{
"vendor": {
"id": "123",
"decision": {
"status": "APPROVED",
"lastUpdatedAt": "2025-10-10T00:00:00.000Z",
"comments": "No weaknesses or flagged findings identified in the review."
}
}
}
'import requests
url = "https://your-endpoint.example.com/v1.vendor.decision.created"
payload = { "vendor": {
"id": "123",
"decision": {
"status": "APPROVED",
"lastUpdatedAt": "2025-10-10T00:00:00.000Z",
"comments": "No weaknesses or flagged findings identified in the review."
}
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
vendor: {
id: '123',
decision: {
status: 'APPROVED',
lastUpdatedAt: '2025-10-10T00:00:00.000Z',
comments: 'No weaknesses or flagged findings identified in the review.'
}
}
})
};
fetch('https://your-endpoint.example.com/v1.vendor.decision.created', 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://your-endpoint.example.com/v1.vendor.decision.created",
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([
'vendor' => [
'id' => '123',
'decision' => [
'status' => 'APPROVED',
'lastUpdatedAt' => '2025-10-10T00:00:00.000Z',
'comments' => 'No weaknesses or flagged findings identified in the review.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://your-endpoint.example.com/v1.vendor.decision.created"
payload := strings.NewReader("{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://your-endpoint.example.com/v1.vendor.decision.created")
.header("Content-Type", "application/json")
.body("{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-endpoint.example.com/v1.vendor.decision.created")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Show child attributes
Show child attributes
Response
200
Return any 2xx status within 15 seconds to acknowledge receipt.
Related topics
List assessments by vendor IDGet assessment by IDList security reviews by vendor IDGet security review by IDList vendorsWas this page helpful?
⌘I
Vendor decision created
curl --request POST \
--url https://your-endpoint.example.com/v1.vendor.decision.created \
--header 'Content-Type: application/json' \
--data '
{
"vendor": {
"id": "123",
"decision": {
"status": "APPROVED",
"lastUpdatedAt": "2025-10-10T00:00:00.000Z",
"comments": "No weaknesses or flagged findings identified in the review."
}
}
}
'import requests
url = "https://your-endpoint.example.com/v1.vendor.decision.created"
payload = { "vendor": {
"id": "123",
"decision": {
"status": "APPROVED",
"lastUpdatedAt": "2025-10-10T00:00:00.000Z",
"comments": "No weaknesses or flagged findings identified in the review."
}
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
vendor: {
id: '123',
decision: {
status: 'APPROVED',
lastUpdatedAt: '2025-10-10T00:00:00.000Z',
comments: 'No weaknesses or flagged findings identified in the review.'
}
}
})
};
fetch('https://your-endpoint.example.com/v1.vendor.decision.created', 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://your-endpoint.example.com/v1.vendor.decision.created",
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([
'vendor' => [
'id' => '123',
'decision' => [
'status' => 'APPROVED',
'lastUpdatedAt' => '2025-10-10T00:00:00.000Z',
'comments' => 'No weaknesses or flagged findings identified in the review.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://your-endpoint.example.com/v1.vendor.decision.created"
payload := strings.NewReader("{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://your-endpoint.example.com/v1.vendor.decision.created")
.header("Content-Type", "application/json")
.body("{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-endpoint.example.com/v1.vendor.decision.created")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"vendor\": {\n \"id\": \"123\",\n \"decision\": {\n \"status\": \"APPROVED\",\n \"lastUpdatedAt\": \"2025-10-10T00:00:00.000Z\",\n \"comments\": \"No weaknesses or flagged findings identified in the review.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body