curl --request PUT \
--url https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'project: <project>' \
--data '
{
"values": "<unknown>"
}
'import requests
url = "https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values"
payload = { "values": "<unknown>" }
headers = {
"project": "<project>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
project: '<project>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({values: '<unknown>'})
};
fetch('https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values', 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.gleap.io/v3/pipeline-entries/{entryId}/record-values",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'values' => '<unknown>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"project: <project>"
],
]);
$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.gleap.io/v3/pipeline-entries/{entryId}/record-values"
payload := strings.NewReader("{\n \"values\": \"<unknown>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("project", "<project>")
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values")
.header("project", "<project>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"values\": \"<unknown>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["project"] = '<project>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"values\": \"<unknown>\"\n}"
response = http.request(request)
puts response.read_body{
"updatedAt": "<string>",
"createdAt": "<string>",
"recordId": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"recordType": "COMPANY",
"pipeline": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"project": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"values": "<unknown>",
"_id": "<string>",
"laneChangedAt": "2023-11-07T05:31:56Z",
"recordSnapshot": {
"subtitle": "<string>",
"externalId": "<string>",
"name": "<string>"
},
"laneId": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"lexorank": "<string>",
"createdBy": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"recordValues": {}
}Update record values through an entry
Update the company or contact behind an entry through the pipeline’s RECORD fields. Keys are
the fieldIds of fields with source: 'RECORD' (see GET /pipelines//properties);
the value is written to the record itself, so every pipeline showing that attribute — and the
record’s own page — reflect it. null clears the attribute. A key that is not a writable
record field of this pipeline is rejected with 400.
curl --request PUT \
--url https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'project: <project>' \
--data '
{
"values": "<unknown>"
}
'import requests
url = "https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values"
payload = { "values": "<unknown>" }
headers = {
"project": "<project>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
project: '<project>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({values: '<unknown>'})
};
fetch('https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values', 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.gleap.io/v3/pipeline-entries/{entryId}/record-values",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'values' => '<unknown>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"project: <project>"
],
]);
$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.gleap.io/v3/pipeline-entries/{entryId}/record-values"
payload := strings.NewReader("{\n \"values\": \"<unknown>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("project", "<project>")
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values")
.header("project", "<project>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"values\": \"<unknown>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gleap.io/v3/pipeline-entries/{entryId}/record-values")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["project"] = '<project>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"values\": \"<unknown>\"\n}"
response = http.request(request)
puts response.read_body{
"updatedAt": "<string>",
"createdAt": "<string>",
"recordId": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"recordType": "COMPANY",
"pipeline": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"project": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"values": "<unknown>",
"_id": "<string>",
"laneChangedAt": "2023-11-07T05:31:56Z",
"recordSnapshot": {
"subtitle": "<string>",
"externalId": "<string>",
"name": "<string>"
},
"laneId": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"lexorank": "<string>",
"createdBy": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<unknown>"
},
"recordValues": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Body
Values for the pipeline's RECORD fields, keyed by fieldId (see
GET /pipelines/{pipelineId}/properties, source: 'RECORD'). Written through to the entry's
company or contact; null clears the attribute. Primitive values only.
Response
Ok
Generic types for Document:
- T - the type of _id
- TQueryHelpers - Object with any helpers that should be mixed into the Query type
- DocType - the type of the actual Document created
Show child attributes
Show child attributes
What a pipeline holds. Persisted values — never rename a member, only add.
COMPANY, CONTACT Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Construct a type with a set of properties K of type T