Accept a proposal
curl --request POST \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/")
.header("Authorization", "<api-key>")
.asString();{
"id": 123,
"organization": {
"slug": "<string>",
"name": "<string>"
},
"status": "pending",
"response_data": "<unknown>",
"document": "<unknown>",
"submitted_at": "2023-11-07T05:31:56Z",
"reviewed_at": "2023-11-07T05:31:56Z",
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"permissions": {
"respond": true,
"review": true,
"create_targets": true,
"comment_audiences": [
"<string>"
]
},
"targets_created_at": "2023-11-07T05:31:56Z",
"depth_targets_created_at": "2023-11-07T05:31:56Z"
}RFQ
Accept a proposal
The RFQ owner accepts a submitted proposal. The RFQ must be active.
POST
/
v2
/
organizations
/
rfq
/
proposals
/
{proposal_id}
/
accept
/
Accept a proposal
curl --request POST \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/accept/")
.header("Authorization", "<api-key>")
.asString();{
"id": 123,
"organization": {
"slug": "<string>",
"name": "<string>"
},
"status": "pending",
"response_data": "<unknown>",
"document": "<unknown>",
"submitted_at": "2023-11-07T05:31:56Z",
"reviewed_at": "2023-11-07T05:31:56Z",
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"permissions": {
"respond": true,
"review": true,
"create_targets": true,
"comment_audiences": [
"<string>"
]
},
"targets_created_at": "2023-11-07T05:31:56Z",
"depth_targets_created_at": "2023-11-07T05:31:56Z"
}
