using RestSharp;
var options = new RestClientOptions("http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"ContactEntity\": {\n \"ContactId\": 123,\n \"Name\": \"<string>\",\n \"Department\": \"<string>\",\n \"OrgNr\": \"<string>\",\n \"Number1\": \"<string>\",\n \"Number2\": \"<string>\",\n \"UpdatedDate\": \"2023-11-07T05:31:56Z\",\n \"CreatedDate\": \"2023-11-07T05:31:56Z\",\n \"Emails\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Interests\": [\n {\n \"Id\": 123,\n \"Name\": \"<string>\",\n \"ToolTip\": \"<string>\",\n \"Deleted\": true,\n \"Rank\": 123,\n \"Type\": \"<string>\",\n \"ColorBlock\": 123,\n \"IconHint\": \"<string>\",\n \"Selected\": true,\n \"LastChanged\": \"2023-11-07T05:31:56Z\",\n \"ChildItems\": \"<array>\",\n \"ExtraInfo\": \"<string>\",\n \"StyleHint\": \"<string>\",\n \"Hidden\": true,\n \"FullName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Urls\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Phones\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Faxes\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Description\": \"<string>\",\n \"UpdatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CreatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Associate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Business\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Category\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"EnableLeadStatus\": true,\n \"Rank\": 123,\n \"Deleted\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Country\": {\n \"CountryId\": 123,\n \"Name\": \"<string>\",\n \"CurrencyId\": 123,\n \"EnglishName\": \"<string>\",\n \"TwoLetterISOCountry\": \"<string>\",\n \"ThreeLetterISOCountry\": \"<string>\",\n \"ImageDescription\": \"<string>\",\n \"OrgNrText\": \"<string>\",\n \"InterAreaPrefix\": \"<string>\",\n \"DialInPrefix\": \"<string>\",\n \"ZipPrefix\": \"<string>\",\n \"DomainName\": \"<string>\",\n \"AddressLayoutId\": 123,\n \"DomesticAddressLayoutId\": 123,\n \"ForeignAddressLayoutId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"Deleted\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Persons\": [\n {\n \"Position\": \"<string>\",\n \"PersonId\": 123,\n \"Mrmrs\": \"<string>\",\n \"Firstname\": \"<string>\",\n \"Lastname\": \"<string>\",\n \"MiddleName\": \"<string>\",\n \"Title\": \"<string>\",\n \"Description\": \"<string>\",\n \"Email\": \"<string>\",\n \"FullName\": \"<string>\",\n \"DirectPhone\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"CountryId\": 123,\n \"ContactId\": 123,\n \"ContactName\": \"<string>\",\n \"Retired\": 123,\n \"Rank\": 123,\n \"ActiveInterests\": 123,\n \"ContactDepartment\": \"<string>\",\n \"ContactCountryId\": 123,\n \"ContactOrgNr\": \"<string>\",\n \"FaxPhone\": \"<string>\",\n \"MobilePhone\": \"<string>\",\n \"ContactPhone\": \"<string>\",\n \"AssociateName\": \"<string>\",\n \"AssociateId\": 123,\n \"UsePersonAddress\": true,\n \"ContactFax\": \"<string>\",\n \"Kanafname\": \"<string>\",\n \"Kanalname\": \"<string>\",\n \"Post1\": \"<string>\",\n \"Post2\": \"<string>\",\n \"Post3\": \"<string>\",\n \"EmailName\": \"<string>\",\n \"ContactFullName\": \"<string>\",\n \"ActiveErpLinks\": 123,\n \"TicketPriorityId\": 123,\n \"SupportLanguageId\": 123,\n \"SupportAssociateId\": 123,\n \"CategoryName\": \"<string>\",\n \"PersonNumber\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"NoMailing\": true,\n \"Kananame\": \"<string>\",\n \"Xstop\": true,\n \"ActiveInterests\": 123,\n \"GroupId\": 123,\n \"ActiveStatusMonitorId\": 123,\n \"SupportAssociate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"TicketPriority\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CustomerLanguage\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Deleted\": 123,\n \"DbiAgentId\": 123,\n \"DbiLastSyncronized\": \"2023-11-07T05:31:56Z\",\n \"DbiKey\": \"<string>\",\n \"DbiLastModified\": \"2023-11-07T05:31:56Z\",\n \"SupportPerson\": {\n \"Position\": \"<string>\",\n \"PersonId\": 123,\n \"Mrmrs\": \"<string>\",\n \"Firstname\": \"<string>\",\n \"Lastname\": \"<string>\",\n \"MiddleName\": \"<string>\",\n \"Title\": \"<string>\",\n \"Description\": \"<string>\",\n \"Email\": \"<string>\",\n \"FullName\": \"<string>\",\n \"DirectPhone\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"CountryId\": 123,\n \"ContactId\": 123,\n \"ContactName\": \"<string>\",\n \"Retired\": 123,\n \"Rank\": 123,\n \"ActiveInterests\": 123,\n \"ContactDepartment\": \"<string>\",\n \"ContactCountryId\": 123,\n \"ContactOrgNr\": \"<string>\",\n \"FaxPhone\": \"<string>\",\n \"MobilePhone\": \"<string>\",\n \"ContactPhone\": \"<string>\",\n \"AssociateName\": \"<string>\",\n \"AssociateId\": 123,\n \"UsePersonAddress\": true,\n \"ContactFax\": \"<string>\",\n \"Kanafname\": \"<string>\",\n \"Kanalname\": \"<string>\",\n \"Post1\": \"<string>\",\n \"Post2\": \"<string>\",\n \"Post3\": \"<string>\",\n \"EmailName\": \"<string>\",\n \"ContactFullName\": \"<string>\",\n \"ActiveErpLinks\": 123,\n \"TicketPriorityId\": 123,\n \"SupportLanguageId\": 123,\n \"SupportAssociateId\": 123,\n \"CategoryName\": \"<string>\",\n \"PersonNumber\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Address\": {\n \"Wgs84Latitude\": 123,\n \"Wgs84Longitude\": 123,\n \"LocalizedAddress\": [\n [\n {\n \"Name\": \"<string>\",\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"Label\": \"<string>\",\n \"ValueLength\": 123,\n \"AddressType\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ]\n ],\n \"Street\": {\n \"Address1\": \"<string>\",\n \"Address2\": \"<string>\",\n \"Address3\": \"<string>\",\n \"City\": \"<string>\",\n \"County\": \"<string>\",\n \"State\": \"<string>\",\n \"Zipcode\": \"<string>\",\n \"Formatted\": \"<string>\"\n },\n \"Postal\": {\n \"Address1\": \"<string>\",\n \"Address2\": \"<string>\",\n \"Address3\": \"<string>\",\n \"City\": \"<string>\",\n \"County\": \"<string>\",\n \"State\": \"<string>\",\n \"Zipcode\": \"<string>\",\n \"Formatted\": \"<string>\"\n },\n \"Formatted\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Source\": 123,\n \"ActiveErpLinks\": 123,\n \"BounceEmails\": [\n \"<string>\"\n ],\n \"Domains\": [\n \"<string>\"\n ],\n \"UtmParameters\": {\n \"FormName\": \"<string>\",\n \"FirsttouchSource\": \"<string>\",\n \"FirsttouchMedium\": \"<string>\",\n \"FirsttouchCampaign\": \"<string>\",\n \"FirsttouchTerm\": \"<string>\",\n \"FirsttouchContent\": \"<string>\",\n \"FirsttouchReferrerDomain\": \"<string>\",\n \"Source\": \"<string>\",\n \"Medium\": \"<string>\",\n \"Campaign\": \"<string>\",\n \"Term\": \"<string>\",\n \"Content\": \"<string>\",\n \"ReferrerDomain\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"UserDefinedFields\": {},\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"EnrichId\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
ContactEntity: {
ContactId: 123,
Name: '<string>',
Department: '<string>',
OrgNr: '<string>',
Number1: '<string>',
Number2: '<string>',
UpdatedDate: '2023-11-07T05:31:56Z',
CreatedDate: '2023-11-07T05:31:56Z',
Emails: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Interests: [
{
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ColorBlock: 123,
IconHint: '<string>',
Selected: true,
LastChanged: '2023-11-07T05:31:56Z',
ChildItems: '<array>',
ExtraInfo: '<string>',
StyleHint: '<string>',
Hidden: true,
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Urls: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Phones: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Faxes: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Description: '<string>',
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Business: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Category: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
EnableLeadStatus: true,
Rank: 123,
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Country: {
CountryId: 123,
Name: '<string>',
CurrencyId: 123,
EnglishName: '<string>',
TwoLetterISOCountry: '<string>',
ThreeLetterISOCountry: '<string>',
ImageDescription: '<string>',
OrgNrText: '<string>',
InterAreaPrefix: '<string>',
DialInPrefix: '<string>',
ZipPrefix: '<string>',
DomainName: '<string>',
AddressLayoutId: 123,
DomesticAddressLayoutId: 123,
ForeignAddressLayoutId: 123,
Rank: 123,
Tooltip: '<string>',
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Persons: [
{
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
NoMailing: true,
Kananame: '<string>',
Xstop: true,
ActiveInterests: 123,
GroupId: 123,
ActiveStatusMonitorId: 123,
SupportAssociate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
TicketPriority: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CustomerLanguage: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Deleted: 123,
DbiAgentId: 123,
DbiLastSyncronized: '2023-11-07T05:31:56Z',
DbiKey: '<string>',
DbiLastModified: '2023-11-07T05:31:56Z',
SupportPerson: {
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Address: {
Wgs84Latitude: 123,
Wgs84Longitude: 123,
LocalizedAddress: [
[
{
Name: '<string>',
Value: '<string>',
Tooltip: '<string>',
Label: '<string>',
ValueLength: 123,
AddressType: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
]
],
Street: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Postal: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Formatted: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Source: 123,
ActiveErpLinks: 123,
BounceEmails: ['<string>'],
Domains: ['<string>'],
UtmParameters: {
FormName: '<string>',
FirsttouchSource: '<string>',
FirsttouchMedium: '<string>',
FirsttouchCampaign: '<string>',
FirsttouchTerm: '<string>',
FirsttouchContent: '<string>',
FirsttouchReferrerDomain: '<string>',
Source: '<string>',
Medium: '<string>',
Campaign: '<string>',
Term: '<string>',
Content: '<string>',
ReferrerDomain: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UserDefinedFields: {},
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
EnrichId: '<string>'
})
};
fetch('http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "56350",
CURLOPT_URL => "http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity",
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([
'ContactEntity' => [
'ContactId' => 123,
'Name' => '<string>',
'Department' => '<string>',
'OrgNr' => '<string>',
'Number1' => '<string>',
'Number2' => '<string>',
'UpdatedDate' => '2023-11-07T05:31:56Z',
'CreatedDate' => '2023-11-07T05:31:56Z',
'Emails' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Interests' => [
[
'Id' => 123,
'Name' => '<string>',
'ToolTip' => '<string>',
'Deleted' => true,
'Rank' => 123,
'Type' => '<string>',
'ColorBlock' => 123,
'IconHint' => '<string>',
'Selected' => true,
'LastChanged' => '2023-11-07T05:31:56Z',
'ChildItems' => '<array>',
'ExtraInfo' => '<string>',
'StyleHint' => '<string>',
'Hidden' => true,
'FullName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Urls' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Phones' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Faxes' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Description' => '<string>',
'UpdatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CreatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Associate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Business' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Category' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'EnableLeadStatus' => true,
'Rank' => 123,
'Deleted' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Country' => [
'CountryId' => 123,
'Name' => '<string>',
'CurrencyId' => 123,
'EnglishName' => '<string>',
'TwoLetterISOCountry' => '<string>',
'ThreeLetterISOCountry' => '<string>',
'ImageDescription' => '<string>',
'OrgNrText' => '<string>',
'InterAreaPrefix' => '<string>',
'DialInPrefix' => '<string>',
'ZipPrefix' => '<string>',
'DomainName' => '<string>',
'AddressLayoutId' => 123,
'DomesticAddressLayoutId' => 123,
'ForeignAddressLayoutId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'Deleted' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Persons' => [
[
'Position' => '<string>',
'PersonId' => 123,
'Mrmrs' => '<string>',
'Firstname' => '<string>',
'Lastname' => '<string>',
'MiddleName' => '<string>',
'Title' => '<string>',
'Description' => '<string>',
'Email' => '<string>',
'FullName' => '<string>',
'DirectPhone' => '<string>',
'FormalName' => '<string>',
'CountryId' => 123,
'ContactId' => 123,
'ContactName' => '<string>',
'Retired' => 123,
'Rank' => 123,
'ActiveInterests' => 123,
'ContactDepartment' => '<string>',
'ContactCountryId' => 123,
'ContactOrgNr' => '<string>',
'FaxPhone' => '<string>',
'MobilePhone' => '<string>',
'ContactPhone' => '<string>',
'AssociateName' => '<string>',
'AssociateId' => 123,
'UsePersonAddress' => true,
'ContactFax' => '<string>',
'Kanafname' => '<string>',
'Kanalname' => '<string>',
'Post1' => '<string>',
'Post2' => '<string>',
'Post3' => '<string>',
'EmailName' => '<string>',
'ContactFullName' => '<string>',
'ActiveErpLinks' => 123,
'TicketPriorityId' => 123,
'SupportLanguageId' => 123,
'SupportAssociateId' => 123,
'CategoryName' => '<string>',
'PersonNumber' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'NoMailing' => true,
'Kananame' => '<string>',
'Xstop' => true,
'ActiveInterests' => 123,
'GroupId' => 123,
'ActiveStatusMonitorId' => 123,
'SupportAssociate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'TicketPriority' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CustomerLanguage' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Deleted' => 123,
'DbiAgentId' => 123,
'DbiLastSyncronized' => '2023-11-07T05:31:56Z',
'DbiKey' => '<string>',
'DbiLastModified' => '2023-11-07T05:31:56Z',
'SupportPerson' => [
'Position' => '<string>',
'PersonId' => 123,
'Mrmrs' => '<string>',
'Firstname' => '<string>',
'Lastname' => '<string>',
'MiddleName' => '<string>',
'Title' => '<string>',
'Description' => '<string>',
'Email' => '<string>',
'FullName' => '<string>',
'DirectPhone' => '<string>',
'FormalName' => '<string>',
'CountryId' => 123,
'ContactId' => 123,
'ContactName' => '<string>',
'Retired' => 123,
'Rank' => 123,
'ActiveInterests' => 123,
'ContactDepartment' => '<string>',
'ContactCountryId' => 123,
'ContactOrgNr' => '<string>',
'FaxPhone' => '<string>',
'MobilePhone' => '<string>',
'ContactPhone' => '<string>',
'AssociateName' => '<string>',
'AssociateId' => 123,
'UsePersonAddress' => true,
'ContactFax' => '<string>',
'Kanafname' => '<string>',
'Kanalname' => '<string>',
'Post1' => '<string>',
'Post2' => '<string>',
'Post3' => '<string>',
'EmailName' => '<string>',
'ContactFullName' => '<string>',
'ActiveErpLinks' => 123,
'TicketPriorityId' => 123,
'SupportLanguageId' => 123,
'SupportAssociateId' => 123,
'CategoryName' => '<string>',
'PersonNumber' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Address' => [
'Wgs84Latitude' => 123,
'Wgs84Longitude' => 123,
'LocalizedAddress' => [
[
[
'Name' => '<string>',
'Value' => '<string>',
'Tooltip' => '<string>',
'Label' => '<string>',
'ValueLength' => 123,
'AddressType' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
]
],
'Street' => [
'Address1' => '<string>',
'Address2' => '<string>',
'Address3' => '<string>',
'City' => '<string>',
'County' => '<string>',
'State' => '<string>',
'Zipcode' => '<string>',
'Formatted' => '<string>'
],
'Postal' => [
'Address1' => '<string>',
'Address2' => '<string>',
'Address3' => '<string>',
'City' => '<string>',
'County' => '<string>',
'State' => '<string>',
'Zipcode' => '<string>',
'Formatted' => '<string>'
],
'Formatted' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Source' => 123,
'ActiveErpLinks' => 123,
'BounceEmails' => [
'<string>'
],
'Domains' => [
'<string>'
],
'UtmParameters' => [
'FormName' => '<string>',
'FirsttouchSource' => '<string>',
'FirsttouchMedium' => '<string>',
'FirsttouchCampaign' => '<string>',
'FirsttouchTerm' => '<string>',
'FirsttouchContent' => '<string>',
'FirsttouchReferrerDomain' => '<string>',
'Source' => '<string>',
'Medium' => '<string>',
'Campaign' => '<string>',
'Term' => '<string>',
'Content' => '<string>',
'ReferrerDomain' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'UserDefinedFields' => [
],
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'EnrichId' => '<string>'
]),
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;
}import requests
url = "http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity"
payload = {
"ContactEntity": {
"ContactId": 123,
"Name": "<string>",
"Department": "<string>",
"OrgNr": "<string>",
"Number1": "<string>",
"Number2": "<string>",
"UpdatedDate": "2023-11-07T05:31:56Z",
"CreatedDate": "2023-11-07T05:31:56Z",
"Emails": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Interests": [
{
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": True,
"Rank": 123,
"Type": "<string>",
"ColorBlock": 123,
"IconHint": "<string>",
"Selected": True,
"LastChanged": "2023-11-07T05:31:56Z",
"ChildItems": "<array>",
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"Hidden": True,
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Urls": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Phones": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Faxes": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Description": "<string>",
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Business": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Category": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"EnableLeadStatus": True,
"Rank": 123,
"Deleted": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Country": {
"CountryId": 123,
"Name": "<string>",
"CurrencyId": 123,
"EnglishName": "<string>",
"TwoLetterISOCountry": "<string>",
"ThreeLetterISOCountry": "<string>",
"ImageDescription": "<string>",
"OrgNrText": "<string>",
"InterAreaPrefix": "<string>",
"DialInPrefix": "<string>",
"ZipPrefix": "<string>",
"DomainName": "<string>",
"AddressLayoutId": 123,
"DomesticAddressLayoutId": 123,
"ForeignAddressLayoutId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Deleted": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Persons": [
{
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": True,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"NoMailing": True,
"Kananame": "<string>",
"Xstop": True,
"ActiveInterests": 123,
"GroupId": 123,
"ActiveStatusMonitorId": 123,
"SupportAssociate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"TicketPriority": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CustomerLanguage": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Deleted": 123,
"DbiAgentId": 123,
"DbiLastSyncronized": "2023-11-07T05:31:56Z",
"DbiKey": "<string>",
"DbiLastModified": "2023-11-07T05:31:56Z",
"SupportPerson": {
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": True,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Address": {
"Wgs84Latitude": 123,
"Wgs84Longitude": 123,
"LocalizedAddress": [[
{
"Name": "<string>",
"Value": "<string>",
"Tooltip": "<string>",
"Label": "<string>",
"ValueLength": 123,
"AddressType": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
]],
"Street": {
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Postal": {
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Formatted": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Source": 123,
"ActiveErpLinks": 123,
"BounceEmails": ["<string>"],
"Domains": ["<string>"],
"UtmParameters": {
"FormName": "<string>",
"FirsttouchSource": "<string>",
"FirsttouchMedium": "<string>",
"FirsttouchCampaign": "<string>",
"FirsttouchTerm": "<string>",
"FirsttouchContent": "<string>",
"FirsttouchReferrerDomain": "<string>",
"Source": "<string>",
"Medium": "<string>",
"Campaign": "<string>",
"Term": "<string>",
"Content": "<string>",
"ReferrerDomain": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UserDefinedFields": {},
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"EnrichId": "<string>"
}
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({
ContactEntity: {
ContactId: 123,
Name: '<string>',
Department: '<string>',
OrgNr: '<string>',
Number1: '<string>',
Number2: '<string>',
UpdatedDate: '2023-11-07T05:31:56Z',
CreatedDate: '2023-11-07T05:31:56Z',
Emails: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Interests: [
{
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ColorBlock: 123,
IconHint: '<string>',
Selected: true,
LastChanged: '2023-11-07T05:31:56Z',
ChildItems: '<array>',
ExtraInfo: '<string>',
StyleHint: '<string>',
Hidden: true,
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Urls: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Phones: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Faxes: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Description: '<string>',
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Business: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Category: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
EnableLeadStatus: true,
Rank: 123,
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Country: {
CountryId: 123,
Name: '<string>',
CurrencyId: 123,
EnglishName: '<string>',
TwoLetterISOCountry: '<string>',
ThreeLetterISOCountry: '<string>',
ImageDescription: '<string>',
OrgNrText: '<string>',
InterAreaPrefix: '<string>',
DialInPrefix: '<string>',
ZipPrefix: '<string>',
DomainName: '<string>',
AddressLayoutId: 123,
DomesticAddressLayoutId: 123,
ForeignAddressLayoutId: 123,
Rank: 123,
Tooltip: '<string>',
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Persons: [
{
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
NoMailing: true,
Kananame: '<string>',
Xstop: true,
ActiveInterests: 123,
GroupId: 123,
ActiveStatusMonitorId: 123,
SupportAssociate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
TicketPriority: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CustomerLanguage: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Deleted: 123,
DbiAgentId: 123,
DbiLastSyncronized: '2023-11-07T05:31:56Z',
DbiKey: '<string>',
DbiLastModified: '2023-11-07T05:31:56Z',
SupportPerson: {
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Address: {
Wgs84Latitude: 123,
Wgs84Longitude: 123,
LocalizedAddress: [
[
{
Name: '<string>',
Value: '<string>',
Tooltip: '<string>',
Label: '<string>',
ValueLength: 123,
AddressType: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
]
],
Street: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Postal: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Formatted: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Source: 123,
ActiveErpLinks: 123,
BounceEmails: ['<string>'],
Domains: ['<string>'],
UtmParameters: {
FormName: '<string>',
FirsttouchSource: '<string>',
FirsttouchMedium: '<string>',
FirsttouchCampaign: '<string>',
FirsttouchTerm: '<string>',
FirsttouchContent: '<string>',
FirsttouchReferrerDomain: '<string>',
Source: '<string>',
Medium: '<string>',
Campaign: '<string>',
Term: '<string>',
Content: '<string>',
ReferrerDomain: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UserDefinedFields: {},
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
EnrichId: '<string>'
})
};
fetch('http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ContactId": 123,
"Name": "<string>",
"Department": "<string>",
"OrgNr": "<string>",
"Number1": "<string>",
"Number2": "<string>",
"UpdatedDate": "2023-11-07T05:31:56Z",
"CreatedDate": "2023-11-07T05:31:56Z",
"Emails": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Interests": [
{
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": true,
"Rank": 123,
"Type": "<string>",
"ColorBlock": 123,
"IconHint": "<string>",
"Selected": true,
"LastChanged": "2023-11-07T05:31:56Z",
"ChildItems": "<array>",
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"Hidden": true,
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Urls": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Phones": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Faxes": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Description": "<string>",
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Business": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Category": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"CategoryGroup": "Unknown",
"EnableLeadStatus": true,
"Rank": 123,
"Deleted": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Country": {
"CountryId": 123,
"Name": "<string>",
"CurrencyId": 123,
"EnglishName": "<string>",
"TwoLetterISOCountry": "<string>",
"ThreeLetterISOCountry": "<string>",
"ImageDescription": "<string>",
"OrgNrText": "<string>",
"InterAreaPrefix": "<string>",
"DialInPrefix": "<string>",
"ZipPrefix": "<string>",
"DomainName": "<string>",
"AddressLayoutId": 123,
"DomesticAddressLayoutId": 123,
"ForeignAddressLayoutId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Deleted": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Persons": [
{
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": true,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"NoMailing": true,
"Kananame": "<string>",
"Xstop": true,
"ActiveInterests": 123,
"GroupId": 123,
"ActiveStatusMonitorId": 123,
"SupportAssociate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"TicketPriority": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CustomerLanguage": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Deleted": 123,
"DbiAgentId": 123,
"DbiLastSyncronized": "2023-11-07T05:31:56Z",
"DbiKey": "<string>",
"DbiLastModified": "2023-11-07T05:31:56Z",
"SupportPerson": {
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": true,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Address": {
"Wgs84Latitude": 123,
"Wgs84Longitude": 123,
"LocalizedAddress": [
[
{
"Name": "<string>",
"Value": "<string>",
"Tooltip": "<string>",
"Label": "<string>",
"ValueLength": 123,
"AddressType": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
]
],
"Street": {
"AtypeIdx": "Unknown",
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Postal": {
"AtypeIdx": "Unknown",
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Formatted": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Source": 123,
"ActiveErpLinks": 123,
"BounceEmails": [
"<string>"
],
"Domains": [
"<string>"
],
"UtmParameters": {
"FormName": "<string>",
"FirsttouchSource": "<string>",
"FirsttouchMedium": "<string>",
"FirsttouchCampaign": "<string>",
"FirsttouchTerm": "<string>",
"FirsttouchContent": "<string>",
"FirsttouchReferrerDomain": "<string>",
"Source": "<string>",
"Medium": "<string>",
"Campaign": "<string>",
"Term": "<string>",
"Content": "<string>",
"ReferrerDomain": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UserDefinedFields": {},
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}Enrich Contact Entity
Enrich a contact with data from the AI Enrichment service.
This will update the contact with address, phone number, and email. NsApiSlow threshold: 2000 ms.
using RestSharp;
var options = new RestClientOptions("http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"ContactEntity\": {\n \"ContactId\": 123,\n \"Name\": \"<string>\",\n \"Department\": \"<string>\",\n \"OrgNr\": \"<string>\",\n \"Number1\": \"<string>\",\n \"Number2\": \"<string>\",\n \"UpdatedDate\": \"2023-11-07T05:31:56Z\",\n \"CreatedDate\": \"2023-11-07T05:31:56Z\",\n \"Emails\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Interests\": [\n {\n \"Id\": 123,\n \"Name\": \"<string>\",\n \"ToolTip\": \"<string>\",\n \"Deleted\": true,\n \"Rank\": 123,\n \"Type\": \"<string>\",\n \"ColorBlock\": 123,\n \"IconHint\": \"<string>\",\n \"Selected\": true,\n \"LastChanged\": \"2023-11-07T05:31:56Z\",\n \"ChildItems\": \"<array>\",\n \"ExtraInfo\": \"<string>\",\n \"StyleHint\": \"<string>\",\n \"Hidden\": true,\n \"FullName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Urls\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Phones\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Faxes\": [\n {\n \"Value\": \"<string>\",\n \"StrippedValue\": \"<string>\",\n \"Description\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Description\": \"<string>\",\n \"UpdatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CreatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Associate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Business\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Category\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"EnableLeadStatus\": true,\n \"Rank\": 123,\n \"Deleted\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Country\": {\n \"CountryId\": 123,\n \"Name\": \"<string>\",\n \"CurrencyId\": 123,\n \"EnglishName\": \"<string>\",\n \"TwoLetterISOCountry\": \"<string>\",\n \"ThreeLetterISOCountry\": \"<string>\",\n \"ImageDescription\": \"<string>\",\n \"OrgNrText\": \"<string>\",\n \"InterAreaPrefix\": \"<string>\",\n \"DialInPrefix\": \"<string>\",\n \"ZipPrefix\": \"<string>\",\n \"DomainName\": \"<string>\",\n \"AddressLayoutId\": 123,\n \"DomesticAddressLayoutId\": 123,\n \"ForeignAddressLayoutId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"Deleted\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Persons\": [\n {\n \"Position\": \"<string>\",\n \"PersonId\": 123,\n \"Mrmrs\": \"<string>\",\n \"Firstname\": \"<string>\",\n \"Lastname\": \"<string>\",\n \"MiddleName\": \"<string>\",\n \"Title\": \"<string>\",\n \"Description\": \"<string>\",\n \"Email\": \"<string>\",\n \"FullName\": \"<string>\",\n \"DirectPhone\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"CountryId\": 123,\n \"ContactId\": 123,\n \"ContactName\": \"<string>\",\n \"Retired\": 123,\n \"Rank\": 123,\n \"ActiveInterests\": 123,\n \"ContactDepartment\": \"<string>\",\n \"ContactCountryId\": 123,\n \"ContactOrgNr\": \"<string>\",\n \"FaxPhone\": \"<string>\",\n \"MobilePhone\": \"<string>\",\n \"ContactPhone\": \"<string>\",\n \"AssociateName\": \"<string>\",\n \"AssociateId\": 123,\n \"UsePersonAddress\": true,\n \"ContactFax\": \"<string>\",\n \"Kanafname\": \"<string>\",\n \"Kanalname\": \"<string>\",\n \"Post1\": \"<string>\",\n \"Post2\": \"<string>\",\n \"Post3\": \"<string>\",\n \"EmailName\": \"<string>\",\n \"ContactFullName\": \"<string>\",\n \"ActiveErpLinks\": 123,\n \"TicketPriorityId\": 123,\n \"SupportLanguageId\": 123,\n \"SupportAssociateId\": 123,\n \"CategoryName\": \"<string>\",\n \"PersonNumber\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"NoMailing\": true,\n \"Kananame\": \"<string>\",\n \"Xstop\": true,\n \"ActiveInterests\": 123,\n \"GroupId\": 123,\n \"ActiveStatusMonitorId\": 123,\n \"SupportAssociate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"TicketPriority\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CustomerLanguage\": {\n \"Id\": 123,\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Deleted\": 123,\n \"DbiAgentId\": 123,\n \"DbiLastSyncronized\": \"2023-11-07T05:31:56Z\",\n \"DbiKey\": \"<string>\",\n \"DbiLastModified\": \"2023-11-07T05:31:56Z\",\n \"SupportPerson\": {\n \"Position\": \"<string>\",\n \"PersonId\": 123,\n \"Mrmrs\": \"<string>\",\n \"Firstname\": \"<string>\",\n \"Lastname\": \"<string>\",\n \"MiddleName\": \"<string>\",\n \"Title\": \"<string>\",\n \"Description\": \"<string>\",\n \"Email\": \"<string>\",\n \"FullName\": \"<string>\",\n \"DirectPhone\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"CountryId\": 123,\n \"ContactId\": 123,\n \"ContactName\": \"<string>\",\n \"Retired\": 123,\n \"Rank\": 123,\n \"ActiveInterests\": 123,\n \"ContactDepartment\": \"<string>\",\n \"ContactCountryId\": 123,\n \"ContactOrgNr\": \"<string>\",\n \"FaxPhone\": \"<string>\",\n \"MobilePhone\": \"<string>\",\n \"ContactPhone\": \"<string>\",\n \"AssociateName\": \"<string>\",\n \"AssociateId\": 123,\n \"UsePersonAddress\": true,\n \"ContactFax\": \"<string>\",\n \"Kanafname\": \"<string>\",\n \"Kanalname\": \"<string>\",\n \"Post1\": \"<string>\",\n \"Post2\": \"<string>\",\n \"Post3\": \"<string>\",\n \"EmailName\": \"<string>\",\n \"ContactFullName\": \"<string>\",\n \"ActiveErpLinks\": 123,\n \"TicketPriorityId\": 123,\n \"SupportLanguageId\": 123,\n \"SupportAssociateId\": 123,\n \"CategoryName\": \"<string>\",\n \"PersonNumber\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Address\": {\n \"Wgs84Latitude\": 123,\n \"Wgs84Longitude\": 123,\n \"LocalizedAddress\": [\n [\n {\n \"Name\": \"<string>\",\n \"Value\": \"<string>\",\n \"Tooltip\": \"<string>\",\n \"Label\": \"<string>\",\n \"ValueLength\": 123,\n \"AddressType\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ]\n ],\n \"Street\": {\n \"Address1\": \"<string>\",\n \"Address2\": \"<string>\",\n \"Address3\": \"<string>\",\n \"City\": \"<string>\",\n \"County\": \"<string>\",\n \"State\": \"<string>\",\n \"Zipcode\": \"<string>\",\n \"Formatted\": \"<string>\"\n },\n \"Postal\": {\n \"Address1\": \"<string>\",\n \"Address2\": \"<string>\",\n \"Address3\": \"<string>\",\n \"City\": \"<string>\",\n \"County\": \"<string>\",\n \"State\": \"<string>\",\n \"Zipcode\": \"<string>\",\n \"Formatted\": \"<string>\"\n },\n \"Formatted\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Source\": 123,\n \"ActiveErpLinks\": 123,\n \"BounceEmails\": [\n \"<string>\"\n ],\n \"Domains\": [\n \"<string>\"\n ],\n \"UtmParameters\": {\n \"FormName\": \"<string>\",\n \"FirsttouchSource\": \"<string>\",\n \"FirsttouchMedium\": \"<string>\",\n \"FirsttouchCampaign\": \"<string>\",\n \"FirsttouchTerm\": \"<string>\",\n \"FirsttouchContent\": \"<string>\",\n \"FirsttouchReferrerDomain\": \"<string>\",\n \"Source\": \"<string>\",\n \"Medium\": \"<string>\",\n \"Campaign\": \"<string>\",\n \"Term\": \"<string>\",\n \"Content\": \"<string>\",\n \"ReferrerDomain\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"UserDefinedFields\": {},\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"EnrichId\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
ContactEntity: {
ContactId: 123,
Name: '<string>',
Department: '<string>',
OrgNr: '<string>',
Number1: '<string>',
Number2: '<string>',
UpdatedDate: '2023-11-07T05:31:56Z',
CreatedDate: '2023-11-07T05:31:56Z',
Emails: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Interests: [
{
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ColorBlock: 123,
IconHint: '<string>',
Selected: true,
LastChanged: '2023-11-07T05:31:56Z',
ChildItems: '<array>',
ExtraInfo: '<string>',
StyleHint: '<string>',
Hidden: true,
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Urls: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Phones: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Faxes: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Description: '<string>',
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Business: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Category: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
EnableLeadStatus: true,
Rank: 123,
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Country: {
CountryId: 123,
Name: '<string>',
CurrencyId: 123,
EnglishName: '<string>',
TwoLetterISOCountry: '<string>',
ThreeLetterISOCountry: '<string>',
ImageDescription: '<string>',
OrgNrText: '<string>',
InterAreaPrefix: '<string>',
DialInPrefix: '<string>',
ZipPrefix: '<string>',
DomainName: '<string>',
AddressLayoutId: 123,
DomesticAddressLayoutId: 123,
ForeignAddressLayoutId: 123,
Rank: 123,
Tooltip: '<string>',
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Persons: [
{
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
NoMailing: true,
Kananame: '<string>',
Xstop: true,
ActiveInterests: 123,
GroupId: 123,
ActiveStatusMonitorId: 123,
SupportAssociate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
TicketPriority: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CustomerLanguage: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Deleted: 123,
DbiAgentId: 123,
DbiLastSyncronized: '2023-11-07T05:31:56Z',
DbiKey: '<string>',
DbiLastModified: '2023-11-07T05:31:56Z',
SupportPerson: {
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Address: {
Wgs84Latitude: 123,
Wgs84Longitude: 123,
LocalizedAddress: [
[
{
Name: '<string>',
Value: '<string>',
Tooltip: '<string>',
Label: '<string>',
ValueLength: 123,
AddressType: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
]
],
Street: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Postal: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Formatted: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Source: 123,
ActiveErpLinks: 123,
BounceEmails: ['<string>'],
Domains: ['<string>'],
UtmParameters: {
FormName: '<string>',
FirsttouchSource: '<string>',
FirsttouchMedium: '<string>',
FirsttouchCampaign: '<string>',
FirsttouchTerm: '<string>',
FirsttouchContent: '<string>',
FirsttouchReferrerDomain: '<string>',
Source: '<string>',
Medium: '<string>',
Campaign: '<string>',
Term: '<string>',
Content: '<string>',
ReferrerDomain: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UserDefinedFields: {},
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
EnrichId: '<string>'
})
};
fetch('http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "56350",
CURLOPT_URL => "http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity",
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([
'ContactEntity' => [
'ContactId' => 123,
'Name' => '<string>',
'Department' => '<string>',
'OrgNr' => '<string>',
'Number1' => '<string>',
'Number2' => '<string>',
'UpdatedDate' => '2023-11-07T05:31:56Z',
'CreatedDate' => '2023-11-07T05:31:56Z',
'Emails' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Interests' => [
[
'Id' => 123,
'Name' => '<string>',
'ToolTip' => '<string>',
'Deleted' => true,
'Rank' => 123,
'Type' => '<string>',
'ColorBlock' => 123,
'IconHint' => '<string>',
'Selected' => true,
'LastChanged' => '2023-11-07T05:31:56Z',
'ChildItems' => '<array>',
'ExtraInfo' => '<string>',
'StyleHint' => '<string>',
'Hidden' => true,
'FullName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Urls' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Phones' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Faxes' => [
[
'Value' => '<string>',
'StrippedValue' => '<string>',
'Description' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Description' => '<string>',
'UpdatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CreatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Associate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Business' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Category' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'EnableLeadStatus' => true,
'Rank' => 123,
'Deleted' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Country' => [
'CountryId' => 123,
'Name' => '<string>',
'CurrencyId' => 123,
'EnglishName' => '<string>',
'TwoLetterISOCountry' => '<string>',
'ThreeLetterISOCountry' => '<string>',
'ImageDescription' => '<string>',
'OrgNrText' => '<string>',
'InterAreaPrefix' => '<string>',
'DialInPrefix' => '<string>',
'ZipPrefix' => '<string>',
'DomainName' => '<string>',
'AddressLayoutId' => 123,
'DomesticAddressLayoutId' => 123,
'ForeignAddressLayoutId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'Deleted' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Persons' => [
[
'Position' => '<string>',
'PersonId' => 123,
'Mrmrs' => '<string>',
'Firstname' => '<string>',
'Lastname' => '<string>',
'MiddleName' => '<string>',
'Title' => '<string>',
'Description' => '<string>',
'Email' => '<string>',
'FullName' => '<string>',
'DirectPhone' => '<string>',
'FormalName' => '<string>',
'CountryId' => 123,
'ContactId' => 123,
'ContactName' => '<string>',
'Retired' => 123,
'Rank' => 123,
'ActiveInterests' => 123,
'ContactDepartment' => '<string>',
'ContactCountryId' => 123,
'ContactOrgNr' => '<string>',
'FaxPhone' => '<string>',
'MobilePhone' => '<string>',
'ContactPhone' => '<string>',
'AssociateName' => '<string>',
'AssociateId' => 123,
'UsePersonAddress' => true,
'ContactFax' => '<string>',
'Kanafname' => '<string>',
'Kanalname' => '<string>',
'Post1' => '<string>',
'Post2' => '<string>',
'Post3' => '<string>',
'EmailName' => '<string>',
'ContactFullName' => '<string>',
'ActiveErpLinks' => 123,
'TicketPriorityId' => 123,
'SupportLanguageId' => 123,
'SupportAssociateId' => 123,
'CategoryName' => '<string>',
'PersonNumber' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'NoMailing' => true,
'Kananame' => '<string>',
'Xstop' => true,
'ActiveInterests' => 123,
'GroupId' => 123,
'ActiveStatusMonitorId' => 123,
'SupportAssociate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'TicketPriority' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CustomerLanguage' => [
'Id' => 123,
'Value' => '<string>',
'Tooltip' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Deleted' => 123,
'DbiAgentId' => 123,
'DbiLastSyncronized' => '2023-11-07T05:31:56Z',
'DbiKey' => '<string>',
'DbiLastModified' => '2023-11-07T05:31:56Z',
'SupportPerson' => [
'Position' => '<string>',
'PersonId' => 123,
'Mrmrs' => '<string>',
'Firstname' => '<string>',
'Lastname' => '<string>',
'MiddleName' => '<string>',
'Title' => '<string>',
'Description' => '<string>',
'Email' => '<string>',
'FullName' => '<string>',
'DirectPhone' => '<string>',
'FormalName' => '<string>',
'CountryId' => 123,
'ContactId' => 123,
'ContactName' => '<string>',
'Retired' => 123,
'Rank' => 123,
'ActiveInterests' => 123,
'ContactDepartment' => '<string>',
'ContactCountryId' => 123,
'ContactOrgNr' => '<string>',
'FaxPhone' => '<string>',
'MobilePhone' => '<string>',
'ContactPhone' => '<string>',
'AssociateName' => '<string>',
'AssociateId' => 123,
'UsePersonAddress' => true,
'ContactFax' => '<string>',
'Kanafname' => '<string>',
'Kanalname' => '<string>',
'Post1' => '<string>',
'Post2' => '<string>',
'Post3' => '<string>',
'EmailName' => '<string>',
'ContactFullName' => '<string>',
'ActiveErpLinks' => 123,
'TicketPriorityId' => 123,
'SupportLanguageId' => 123,
'SupportAssociateId' => 123,
'CategoryName' => '<string>',
'PersonNumber' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Address' => [
'Wgs84Latitude' => 123,
'Wgs84Longitude' => 123,
'LocalizedAddress' => [
[
[
'Name' => '<string>',
'Value' => '<string>',
'Tooltip' => '<string>',
'Label' => '<string>',
'ValueLength' => 123,
'AddressType' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
]
],
'Street' => [
'Address1' => '<string>',
'Address2' => '<string>',
'Address3' => '<string>',
'City' => '<string>',
'County' => '<string>',
'State' => '<string>',
'Zipcode' => '<string>',
'Formatted' => '<string>'
],
'Postal' => [
'Address1' => '<string>',
'Address2' => '<string>',
'Address3' => '<string>',
'City' => '<string>',
'County' => '<string>',
'State' => '<string>',
'Zipcode' => '<string>',
'Formatted' => '<string>'
],
'Formatted' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Source' => 123,
'ActiveErpLinks' => 123,
'BounceEmails' => [
'<string>'
],
'Domains' => [
'<string>'
],
'UtmParameters' => [
'FormName' => '<string>',
'FirsttouchSource' => '<string>',
'FirsttouchMedium' => '<string>',
'FirsttouchCampaign' => '<string>',
'FirsttouchTerm' => '<string>',
'FirsttouchContent' => '<string>',
'FirsttouchReferrerDomain' => '<string>',
'Source' => '<string>',
'Medium' => '<string>',
'Campaign' => '<string>',
'Term' => '<string>',
'Content' => '<string>',
'ReferrerDomain' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'UserDefinedFields' => [
],
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'EnrichId' => '<string>'
]),
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;
}import requests
url = "http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity"
payload = {
"ContactEntity": {
"ContactId": 123,
"Name": "<string>",
"Department": "<string>",
"OrgNr": "<string>",
"Number1": "<string>",
"Number2": "<string>",
"UpdatedDate": "2023-11-07T05:31:56Z",
"CreatedDate": "2023-11-07T05:31:56Z",
"Emails": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Interests": [
{
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": True,
"Rank": 123,
"Type": "<string>",
"ColorBlock": 123,
"IconHint": "<string>",
"Selected": True,
"LastChanged": "2023-11-07T05:31:56Z",
"ChildItems": "<array>",
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"Hidden": True,
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Urls": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Phones": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Faxes": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Description": "<string>",
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Business": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Category": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"EnableLeadStatus": True,
"Rank": 123,
"Deleted": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Country": {
"CountryId": 123,
"Name": "<string>",
"CurrencyId": 123,
"EnglishName": "<string>",
"TwoLetterISOCountry": "<string>",
"ThreeLetterISOCountry": "<string>",
"ImageDescription": "<string>",
"OrgNrText": "<string>",
"InterAreaPrefix": "<string>",
"DialInPrefix": "<string>",
"ZipPrefix": "<string>",
"DomainName": "<string>",
"AddressLayoutId": 123,
"DomesticAddressLayoutId": 123,
"ForeignAddressLayoutId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Deleted": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Persons": [
{
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": True,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"NoMailing": True,
"Kananame": "<string>",
"Xstop": True,
"ActiveInterests": 123,
"GroupId": 123,
"ActiveStatusMonitorId": 123,
"SupportAssociate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"TicketPriority": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CustomerLanguage": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Deleted": 123,
"DbiAgentId": 123,
"DbiLastSyncronized": "2023-11-07T05:31:56Z",
"DbiKey": "<string>",
"DbiLastModified": "2023-11-07T05:31:56Z",
"SupportPerson": {
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": True,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Address": {
"Wgs84Latitude": 123,
"Wgs84Longitude": 123,
"LocalizedAddress": [[
{
"Name": "<string>",
"Value": "<string>",
"Tooltip": "<string>",
"Label": "<string>",
"ValueLength": 123,
"AddressType": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
]],
"Street": {
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Postal": {
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Formatted": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Source": 123,
"ActiveErpLinks": 123,
"BounceEmails": ["<string>"],
"Domains": ["<string>"],
"UtmParameters": {
"FormName": "<string>",
"FirsttouchSource": "<string>",
"FirsttouchMedium": "<string>",
"FirsttouchCampaign": "<string>",
"FirsttouchTerm": "<string>",
"FirsttouchContent": "<string>",
"FirsttouchReferrerDomain": "<string>",
"Source": "<string>",
"Medium": "<string>",
"Campaign": "<string>",
"Term": "<string>",
"Content": "<string>",
"ReferrerDomain": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UserDefinedFields": {},
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"EnrichId": "<string>"
}
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({
ContactEntity: {
ContactId: 123,
Name: '<string>',
Department: '<string>',
OrgNr: '<string>',
Number1: '<string>',
Number2: '<string>',
UpdatedDate: '2023-11-07T05:31:56Z',
CreatedDate: '2023-11-07T05:31:56Z',
Emails: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Interests: [
{
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ColorBlock: 123,
IconHint: '<string>',
Selected: true,
LastChanged: '2023-11-07T05:31:56Z',
ChildItems: '<array>',
ExtraInfo: '<string>',
StyleHint: '<string>',
Hidden: true,
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Urls: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Phones: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Faxes: [
{
Value: '<string>',
StrippedValue: '<string>',
Description: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Description: '<string>',
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Business: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Category: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
EnableLeadStatus: true,
Rank: 123,
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Country: {
CountryId: 123,
Name: '<string>',
CurrencyId: 123,
EnglishName: '<string>',
TwoLetterISOCountry: '<string>',
ThreeLetterISOCountry: '<string>',
ImageDescription: '<string>',
OrgNrText: '<string>',
InterAreaPrefix: '<string>',
DialInPrefix: '<string>',
ZipPrefix: '<string>',
DomainName: '<string>',
AddressLayoutId: 123,
DomesticAddressLayoutId: 123,
ForeignAddressLayoutId: 123,
Rank: 123,
Tooltip: '<string>',
Deleted: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Persons: [
{
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
NoMailing: true,
Kananame: '<string>',
Xstop: true,
ActiveInterests: 123,
GroupId: 123,
ActiveStatusMonitorId: 123,
SupportAssociate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
TicketPriority: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CustomerLanguage: {
Id: 123,
Value: '<string>',
Tooltip: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Deleted: 123,
DbiAgentId: 123,
DbiLastSyncronized: '2023-11-07T05:31:56Z',
DbiKey: '<string>',
DbiLastModified: '2023-11-07T05:31:56Z',
SupportPerson: {
Position: '<string>',
PersonId: 123,
Mrmrs: '<string>',
Firstname: '<string>',
Lastname: '<string>',
MiddleName: '<string>',
Title: '<string>',
Description: '<string>',
Email: '<string>',
FullName: '<string>',
DirectPhone: '<string>',
FormalName: '<string>',
CountryId: 123,
ContactId: 123,
ContactName: '<string>',
Retired: 123,
Rank: 123,
ActiveInterests: 123,
ContactDepartment: '<string>',
ContactCountryId: 123,
ContactOrgNr: '<string>',
FaxPhone: '<string>',
MobilePhone: '<string>',
ContactPhone: '<string>',
AssociateName: '<string>',
AssociateId: 123,
UsePersonAddress: true,
ContactFax: '<string>',
Kanafname: '<string>',
Kanalname: '<string>',
Post1: '<string>',
Post2: '<string>',
Post3: '<string>',
EmailName: '<string>',
ContactFullName: '<string>',
ActiveErpLinks: 123,
TicketPriorityId: 123,
SupportLanguageId: 123,
SupportAssociateId: 123,
CategoryName: '<string>',
PersonNumber: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Address: {
Wgs84Latitude: 123,
Wgs84Longitude: 123,
LocalizedAddress: [
[
{
Name: '<string>',
Value: '<string>',
Tooltip: '<string>',
Label: '<string>',
ValueLength: 123,
AddressType: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
]
],
Street: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Postal: {
Address1: '<string>',
Address2: '<string>',
Address3: '<string>',
City: '<string>',
County: '<string>',
State: '<string>',
Zipcode: '<string>',
Formatted: '<string>'
},
Formatted: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Source: 123,
ActiveErpLinks: 123,
BounceEmails: ['<string>'],
Domains: ['<string>'],
UtmParameters: {
FormName: '<string>',
FirsttouchSource: '<string>',
FirsttouchMedium: '<string>',
FirsttouchCampaign: '<string>',
FirsttouchTerm: '<string>',
FirsttouchContent: '<string>',
FirsttouchReferrerDomain: '<string>',
Source: '<string>',
Medium: '<string>',
Campaign: '<string>',
Term: '<string>',
Content: '<string>',
ReferrerDomain: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UserDefinedFields: {},
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
EnrichId: '<string>'
})
};
fetch('http://localhost:56350/api/v1/Agents/Contact/EnrichContactEntity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ContactId": 123,
"Name": "<string>",
"Department": "<string>",
"OrgNr": "<string>",
"Number1": "<string>",
"Number2": "<string>",
"UpdatedDate": "2023-11-07T05:31:56Z",
"CreatedDate": "2023-11-07T05:31:56Z",
"Emails": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Interests": [
{
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": true,
"Rank": 123,
"Type": "<string>",
"ColorBlock": 123,
"IconHint": "<string>",
"Selected": true,
"LastChanged": "2023-11-07T05:31:56Z",
"ChildItems": "<array>",
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"Hidden": true,
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Urls": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Phones": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Faxes": [
{
"Value": "<string>",
"StrippedValue": "<string>",
"Description": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Description": "<string>",
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Business": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Category": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"CategoryGroup": "Unknown",
"EnableLeadStatus": true,
"Rank": 123,
"Deleted": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Country": {
"CountryId": 123,
"Name": "<string>",
"CurrencyId": 123,
"EnglishName": "<string>",
"TwoLetterISOCountry": "<string>",
"ThreeLetterISOCountry": "<string>",
"ImageDescription": "<string>",
"OrgNrText": "<string>",
"InterAreaPrefix": "<string>",
"DialInPrefix": "<string>",
"ZipPrefix": "<string>",
"DomainName": "<string>",
"AddressLayoutId": 123,
"DomesticAddressLayoutId": 123,
"ForeignAddressLayoutId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Deleted": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Persons": [
{
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": true,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"NoMailing": true,
"Kananame": "<string>",
"Xstop": true,
"ActiveInterests": 123,
"GroupId": 123,
"ActiveStatusMonitorId": 123,
"SupportAssociate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"TicketPriority": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CustomerLanguage": {
"Id": 123,
"Value": "<string>",
"Tooltip": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Deleted": 123,
"DbiAgentId": 123,
"DbiLastSyncronized": "2023-11-07T05:31:56Z",
"DbiKey": "<string>",
"DbiLastModified": "2023-11-07T05:31:56Z",
"SupportPerson": {
"Position": "<string>",
"PersonId": 123,
"Mrmrs": "<string>",
"Firstname": "<string>",
"Lastname": "<string>",
"MiddleName": "<string>",
"Title": "<string>",
"Description": "<string>",
"Email": "<string>",
"FullName": "<string>",
"DirectPhone": "<string>",
"FormalName": "<string>",
"CountryId": 123,
"ContactId": 123,
"ContactName": "<string>",
"Retired": 123,
"Rank": 123,
"ActiveInterests": 123,
"ContactDepartment": "<string>",
"ContactCountryId": 123,
"ContactOrgNr": "<string>",
"FaxPhone": "<string>",
"MobilePhone": "<string>",
"ContactPhone": "<string>",
"AssociateName": "<string>",
"AssociateId": 123,
"UsePersonAddress": true,
"ContactFax": "<string>",
"Kanafname": "<string>",
"Kanalname": "<string>",
"Post1": "<string>",
"Post2": "<string>",
"Post3": "<string>",
"EmailName": "<string>",
"ContactFullName": "<string>",
"ActiveErpLinks": 123,
"TicketPriorityId": 123,
"SupportLanguageId": 123,
"SupportAssociateId": 123,
"CategoryName": "<string>",
"PersonNumber": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Address": {
"Wgs84Latitude": 123,
"Wgs84Longitude": 123,
"LocalizedAddress": [
[
{
"Name": "<string>",
"Value": "<string>",
"Tooltip": "<string>",
"Label": "<string>",
"ValueLength": 123,
"AddressType": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
]
],
"Street": {
"AtypeIdx": "Unknown",
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Postal": {
"AtypeIdx": "Unknown",
"Address1": "<string>",
"Address2": "<string>",
"Address3": "<string>",
"City": "<string>",
"County": "<string>",
"State": "<string>",
"Zipcode": "<string>",
"Formatted": "<string>"
},
"Formatted": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Source": 123,
"ActiveErpLinks": 123,
"BounceEmails": [
"<string>"
],
"Domains": [
"<string>"
],
"UtmParameters": {
"FormName": "<string>",
"FirsttouchSource": "<string>",
"FirsttouchMedium": "<string>",
"FirsttouchCampaign": "<string>",
"FirsttouchTerm": "<string>",
"FirsttouchContent": "<string>",
"FirsttouchReferrerDomain": "<string>",
"Source": "<string>",
"Medium": "<string>",
"Campaign": "<string>",
"Term": "<string>",
"Content": "<string>",
"ReferrerDomain": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UserDefinedFields": {},
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
ContactEntity, EnrichId
EnrichContactEntity: Enrich a contact with data from the AI Enrichment service. This will update the contact with address, phone number, and email.
Response
OK
The Contact Service. The service implements all services working with the Contact object Carrier object for ContactEntity. Services for the ContactEntity Carrier is available from the Contact Agent.
Primary key
Contact name
Department
VAT number or similar
Alphanumeric user field
Alphanumeric user field
Date last updated in UTC.
Date registered in UTC.
The contact's email
Show child attributes
Show child attributes
The contact's available and selected interests. Use MDO List name "contint" to get list items.
Show child attributes
Show child attributes
The contact's internet adresses
Show child attributes
Show child attributes
The contact's phone numbers
Show child attributes
Show child attributes
The contact's fax numbers
Show child attributes
Show child attributes
Description of the contact. Usually shown as a postit note.
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for Business. Services for the Business Carrier is available from the List Agent.
Show child attributes
Show child attributes
Carrier object for Category. Services for the Category Carrier is available from the List Agent.
Show child attributes
Show child attributes
Carrier object for Country. Services for the Country Carrier is available from the List Agent.
Show child attributes
Show child attributes
The persons belonging to the contact.
Show child attributes
Show child attributes
Spam filter. Indicates if this contact should retrieve advertising.
Contact kana name, used in Japanese versions only
STOP flag
The number of active interests.
Group id of original owning associate, semantics like appnt.grp_id
Active status monitor identity with the lowest rank for contact
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for TicketPriority. Services for the TicketPriority Carrier is available from the List Agent.
Show child attributes
Show child attributes
Customer languages that customer center supports. Carrier object for CustomerLanguage. Services for the CustomerLanguage Carrier is available from the List Agent.
Show child attributes
Show child attributes
If nonzero, then this contact is 'deleted' and should generally not be shown
Integration agent (eJournal)
Last external syncronization.
The primary key for the integrated entry in the external datasource.
When the entry was last modified.
Carrier object for Person. Services for the Person Carrier is available from the Person Agent.
Show child attributes
Show child attributes
Street and/or Postal address, in both formatted and structured forms. You only need to modify one of the two for the change to be registered. Carrier object for Address.
Show child attributes
Show child attributes
How did we get this contact? For future integration needs
The number of active erp links
Email addresses with a positive bounce counter.
Web domains for this contact, ordered in array by rank
Inital Utm parameters for a given person or contact. Carrier object for SavedUtmParameters. Services for the SavedUtmParameters Carrier is available from the Person Agent.
Show child attributes
Show child attributes
Deprecated: Use {SuperOffice.CRM.Services.ContactEntity.CustomFields} instead. Dictionary of user defined field data. The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
Show child attributes
Show child attributes
Deprecated: Use {SuperOffice.CRM.Services.ContactEntity.CustomFields} instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
Show child attributes
Show child attributes
Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin. Custom fields combines user defined fields and extra fields into one bucket. The individual {SuperOffice.CRM.Services.ContactEntity.ExtraFields} and UserDefinedFields properties are deprecated in favor of this combined collection.
Show child attributes
Show child attributes
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Show child attributes
Show child attributes
Field property dictionary mapping field names to field access rights.
Show child attributes
Show child attributes
Related topics
Get Preview Enrich ContactValidate Contact EntityDelete Contact EntityGet Contact EntityPost Contact EntityDefault Contact Entity