Skip to content

Commit a288c06

Browse files
committed
Update contact and org business card PUT update examples
1 parent 171ac5e commit a288c06

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

KarbonAPI.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3443,6 +3443,8 @@
34433443
},
34443444
"BusinessCards": {
34453445
"BusinessCardKey": "2tBHyXtJBxBy",
3446+
"EntityType": "Contact",
3447+
"EntityKey": "67zlxNyJSr8e",
34463448
"IsPrimaryCard": true,
34473449
"WebSites": ["www.website.one", "www.website.two"],
34483450
"EmailAddresses": [
@@ -3639,6 +3641,8 @@
36393641
},
36403642
"BusinessCards": {
36413643
"BusinessCardKey": "2tBHyXtJBxBy",
3644+
"EntityType": "Contact",
3645+
"EntityKey": "67zlxNyJSr8e",
36423646
"IsPrimaryCard": true,
36433647
"WebSites": ["www.website.one", "www.website.two"],
36443648
"EmailAddresses": [
@@ -3751,7 +3755,7 @@
37513755
"description": "The Karbon-generated Contact key"
37523756
}
37533757
],
3754-
"description": "Use the <code>PUT</code> method on this endpoint to update full details of a Contact specified using the <code>Contactkey</code>. <br><br>Using the query parameter available to this endpoint, you can also update the Business Card details of the Contact.\n",
3758+
"description": "Use the <code>PUT</code> method on this endpoint to update full details of a Contact specified using the <code>Contactkey</code>. <p>Using the query parameter <code>$expand</code> with this endpoint, you can also update the Business Card details of the Contact. <br><b>Note:</b> When updating business cards, you must include <code>BusinessCardKey</code>, <code>EntityType</code> and <code>EntityKey</code> properties for existing Business Cards - or the existing card and any associated Client Requests may be removed.</p>",
37553759
"operationId": "putContactByID",
37563760
"responses": {
37573761
"204": {
@@ -5138,6 +5142,8 @@
51385142
"BusinessCards": [
51395143
{
51405144
"BusinessCardKey": "PVvnQdX1RCH",
5145+
"EntityType": "Organization",
5146+
"EntityKey": "2Nw8tnxwQCVf",
51415147
"IsPrimaryCard": true,
51425148
"WebSites": ["www.website.one", "www.website.two"],
51435149
"EmailAddresses": [
@@ -5348,6 +5354,8 @@
53485354
"BusinessCards": [
53495355
{
53505356
"BusinessCardKey": "PVvnQdX1RCH",
5357+
"EntityType": "Organization",
5358+
"EntityKey": "2Nw8tnxwQCVf",
53515359
"IsPrimaryCard": true,
53525360
"WebSites": ["www.website.one", "www.website.two"],
53535361
"EmailAddresses": [
@@ -5480,7 +5488,7 @@
54805488
"description": "The Karbon-generated Organization key"
54815489
}
54825490
],
5483-
"description": "Use the <code>PUT</code> method on this endpoint to update full details of a Organization specified using the <code>Organizationkey</code>. \n",
5491+
"description": "Use the <code>PUT</code> method on this endpoint to update full details of a Organization specified using the <code>Organizationkey</code>.\n<p>Using the query parameter <code>$expand</code> with this endpoint, you can also update the Business Card details of the Organization. <br><b>Note:</b> When updating business cards, you must include <code>BusinessCardKey</code>, <code>EntityType</code> and <code>EntityKey</code> properties for existing Business Cards - or the existing card and any associated Client Requests may be removed.</p>",
54845492
"operationId": "putOrganizationByID",
54855493
"responses": {
54865494
"204": {
@@ -5575,13 +5583,15 @@
55755583
},
55765584
"BusinessCards": {
55775585
"BusinessCardKey": "2tBHyXtJBxBy",
5586+
"EntityType": "Organization",
5587+
"EntityKey": "SCwCq2M9pFm",
55785588
"IsPrimaryCard": true,
55795589
"WebSites": ["www.website.one", "www.website.two"],
55805590
"EmailAddresses": [
55815591
55825592
55835593
],
5584-
"OrganizationKey": "ZGNmtYyLm4z",
5594+
"OrganizationKey": null,
55855595
"RoleOrTitle": null,
55865596
"FacebookLink": "facebook.com/sampleName",
55875597
"LinkedInLink": "linkedin.com/sampleName",

0 commit comments

Comments
 (0)