CRM
Upsert CRM enriched data for a record
PUT
/
v1
/
crm
/
object-types
/
{objectKind}
/
records
/
{objectID}
/
enriched-data
/
{provider}
Upsert CRM enriched data for a record
curl --request PUT \
--url https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider} \
--header 'Content-Type: application/json' \
--data '
{
"data": "<unknown>",
"confidence": "<string>",
"metadata": "<unknown>",
"refreshed_at": "<string>",
"source_url": "<string>",
"stale_at": "<string>",
"status": "<string>"
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
data: '<unknown>',
confidence: '<string>',
metadata: '<unknown>',
refreshed_at: '<string>',
source_url: '<string>',
stale_at: '<string>',
status: '<string>'
})
};
fetch('https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider}"
payload = {
"data": "<unknown>",
"confidence": "<string>",
"metadata": "<unknown>",
"refreshed_at": "<string>",
"source_url": "<string>",
"stale_at": "<string>",
"status": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"created_at": "<string>",
"data": "<unknown>",
"id": "<string>",
"metadata": "<unknown>",
"object_id": "<string>",
"object_kind": "<string>",
"provider": "<string>",
"refreshed_at": "<string>",
"status": "<string>",
"updated_at": "<string>",
"confidence": "<string>",
"created_by": "<string>",
"source_url": "<string>",
"stale_at": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Body
application/json
Response
OK
⌘I
Upsert CRM enriched data for a record
curl --request PUT \
--url https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider} \
--header 'Content-Type: application/json' \
--data '
{
"data": "<unknown>",
"confidence": "<string>",
"metadata": "<unknown>",
"refreshed_at": "<string>",
"source_url": "<string>",
"stale_at": "<string>",
"status": "<string>"
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
data: '<unknown>',
confidence: '<string>',
metadata: '<unknown>',
refreshed_at: '<string>',
source_url: '<string>',
stale_at: '<string>',
status: '<string>'
})
};
fetch('https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/object-types/{objectKind}/records/{objectID}/enriched-data/{provider}"
payload = {
"data": "<unknown>",
"confidence": "<string>",
"metadata": "<unknown>",
"refreshed_at": "<string>",
"source_url": "<string>",
"stale_at": "<string>",
"status": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"created_at": "<string>",
"data": "<unknown>",
"id": "<string>",
"metadata": "<unknown>",
"object_id": "<string>",
"object_kind": "<string>",
"provider": "<string>",
"refreshed_at": "<string>",
"status": "<string>",
"updated_at": "<string>",
"confidence": "<string>",
"created_by": "<string>",
"source_url": "<string>",
"stale_at": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}