Microsoft Dynamics Update Record Lead
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
"parameters": {
"lastname": "<string>",
"subject": "<string>",
"entityId": "<string>",
"address1_addressid": "<string>",
"address1_addresstypecode": 123,
"address1_city": "<string>",
"address1_country": "<string>",
"address1_county": "<string>",
"address1_fax": "<string>",
"address1_latitude": 123,
"address1_line1": "<string>",
"address1_line2": "<string>",
"address1_line3": "<string>",
"address1_longitude": 123,
"address1_name": "<string>",
"address1_postalcode": "<string>",
"address1_postofficebox": "<string>",
"address1_shippingmethodcode": 123,
"address1_stateorprovince": "<string>",
"address1_telephone1": "<string>",
"address1_telephone2": "<string>",
"address1_telephone3": "<string>",
"address1_upszone": "<string>",
"address1_utcoffset": 123,
"address2_addressid": "<string>",
"address2_addresstypecode": 123,
"address2_city": "<string>",
"address2_country": "<string>",
"address2_county": "<string>",
"address2_fax": "<string>",
"address2_latitude": 123,
"address2_line1": "<string>",
"address2_line2": "<string>",
"address2_line3": "<string>",
"address2_longitude": 123,
"address2_name": "<string>",
"address2_postalcode": "<string>",
"address2_postofficebox": "<string>",
"address2_shippingmethodcode": 123,
"address2_stateorprovince": "<string>",
"address2_telephone1": "<string>",
"address2_telephone2": "<string>",
"address2_telephone3": "<string>",
"address2_upszone": "<string>",
"address2_utcoffset": 123,
"budgetamount": 123,
"budgetstatus": 123,
"businesscard": "<string>",
"businesscardattributes": "<string>",
"campaignid": {},
"companyname": "<string>",
"confirminterest": true,
"customerid": {},
"customeridtype": {},
"decisionmaker": true,
"description": "<string>",
"donotbulkemail": true,
"donotemail": true,
"donotfax": true,
"donotphone": true,
"donotpostalmail": true,
"donotsendmm": true,
"emailaddress1": "<string>",
"emailaddress2": "<string>",
"emailaddress3": "<string>",
"entityimage": {},
"estimatedamount": 123,
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": true,
"fax": "<string>",
"firstname": "<string>",
"followemail": true,
"industrycode": 123,
"initialcommunication": 123,
"jobtitle": "<string>",
"lastonholdtime": "<string>",
"lastusedincampaign": "<string>",
"leadqualitycode": 123,
"leadsourcecode": 123,
"middlename": "<string>",
"mobilephone": "<string>",
"msdyn_gdproptout": true,
"msdyn_leadgrade": 123,
"msdyn_leadkpiid": {},
"msdyn_leadscore": 123,
"msdyn_leadscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_salesassignmentresult": 123,
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"need": 123,
"numberofemployees": 123,
"originatingcaseid": {},
"ownerid": {},
"owneridtype": {},
"pager": "<string>",
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": true,
"preferredcontactmethodcode": 123,
"prioritycode": 123,
"processid": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"qualificationcomments": "<string>",
"qualifyingopportunityid": {},
"revenue": 123,
"salesstage": 123,
"salesstagecode": 123,
"salutation": "<string>",
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"sic": "<string>",
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"teamsfollowed": 123,
"telephone1": "<string>",
"telephone2": "<string>",
"telephone3": "<string>",
"timezoneruleversionnumber": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123,
"websiteurl": "<string>",
"yomicompanyname": "<string>",
"yomifirstname": "<string>",
"yomilastname": "<string>",
"yomimiddlename": "<string>"
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD"
payload = {
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
"parameters": {
"lastname": "<string>",
"subject": "<string>",
"entityId": "<string>",
"address1_addressid": "<string>",
"address1_addresstypecode": 123,
"address1_city": "<string>",
"address1_country": "<string>",
"address1_county": "<string>",
"address1_fax": "<string>",
"address1_latitude": 123,
"address1_line1": "<string>",
"address1_line2": "<string>",
"address1_line3": "<string>",
"address1_longitude": 123,
"address1_name": "<string>",
"address1_postalcode": "<string>",
"address1_postofficebox": "<string>",
"address1_shippingmethodcode": 123,
"address1_stateorprovince": "<string>",
"address1_telephone1": "<string>",
"address1_telephone2": "<string>",
"address1_telephone3": "<string>",
"address1_upszone": "<string>",
"address1_utcoffset": 123,
"address2_addressid": "<string>",
"address2_addresstypecode": 123,
"address2_city": "<string>",
"address2_country": "<string>",
"address2_county": "<string>",
"address2_fax": "<string>",
"address2_latitude": 123,
"address2_line1": "<string>",
"address2_line2": "<string>",
"address2_line3": "<string>",
"address2_longitude": 123,
"address2_name": "<string>",
"address2_postalcode": "<string>",
"address2_postofficebox": "<string>",
"address2_shippingmethodcode": 123,
"address2_stateorprovince": "<string>",
"address2_telephone1": "<string>",
"address2_telephone2": "<string>",
"address2_telephone3": "<string>",
"address2_upszone": "<string>",
"address2_utcoffset": 123,
"budgetamount": 123,
"budgetstatus": 123,
"businesscard": "<string>",
"businesscardattributes": "<string>",
"campaignid": {},
"companyname": "<string>",
"confirminterest": True,
"customerid": {},
"customeridtype": {},
"decisionmaker": True,
"description": "<string>",
"donotbulkemail": True,
"donotemail": True,
"donotfax": True,
"donotphone": True,
"donotpostalmail": True,
"donotsendmm": True,
"emailaddress1": "<string>",
"emailaddress2": "<string>",
"emailaddress3": "<string>",
"entityimage": {},
"estimatedamount": 123,
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": True,
"fax": "<string>",
"firstname": "<string>",
"followemail": True,
"industrycode": 123,
"initialcommunication": 123,
"jobtitle": "<string>",
"lastonholdtime": "<string>",
"lastusedincampaign": "<string>",
"leadqualitycode": 123,
"leadsourcecode": 123,
"middlename": "<string>",
"mobilephone": "<string>",
"msdyn_gdproptout": True,
"msdyn_leadgrade": 123,
"msdyn_leadkpiid": {},
"msdyn_leadscore": 123,
"msdyn_leadscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_salesassignmentresult": 123,
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"need": 123,
"numberofemployees": 123,
"originatingcaseid": {},
"ownerid": {},
"owneridtype": {},
"pager": "<string>",
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": True,
"preferredcontactmethodcode": 123,
"prioritycode": 123,
"processid": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"qualificationcomments": "<string>",
"qualifyingopportunityid": {},
"revenue": 123,
"salesstage": 123,
"salesstagecode": 123,
"salutation": "<string>",
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"sic": "<string>",
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"teamsfollowed": 123,
"telephone1": "<string>",
"telephone2": "<string>",
"telephone3": "<string>",
"timezoneruleversionnumber": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123,
"websiteurl": "<string>",
"yomicompanyname": "<string>",
"yomifirstname": "<string>",
"yomilastname": "<string>",
"yomimiddlename": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD',
parameters: {
lastname: '<string>',
subject: '<string>',
entityId: '<string>',
address1_addressid: '<string>',
address1_addresstypecode: 123,
address1_city: '<string>',
address1_country: '<string>',
address1_county: '<string>',
address1_fax: '<string>',
address1_latitude: 123,
address1_line1: '<string>',
address1_line2: '<string>',
address1_line3: '<string>',
address1_longitude: 123,
address1_name: '<string>',
address1_postalcode: '<string>',
address1_postofficebox: '<string>',
address1_shippingmethodcode: 123,
address1_stateorprovince: '<string>',
address1_telephone1: '<string>',
address1_telephone2: '<string>',
address1_telephone3: '<string>',
address1_upszone: '<string>',
address1_utcoffset: 123,
address2_addressid: '<string>',
address2_addresstypecode: 123,
address2_city: '<string>',
address2_country: '<string>',
address2_county: '<string>',
address2_fax: '<string>',
address2_latitude: 123,
address2_line1: '<string>',
address2_line2: '<string>',
address2_line3: '<string>',
address2_longitude: 123,
address2_name: '<string>',
address2_postalcode: '<string>',
address2_postofficebox: '<string>',
address2_shippingmethodcode: 123,
address2_stateorprovince: '<string>',
address2_telephone1: '<string>',
address2_telephone2: '<string>',
address2_telephone3: '<string>',
address2_upszone: '<string>',
address2_utcoffset: 123,
budgetamount: 123,
budgetstatus: 123,
businesscard: '<string>',
businesscardattributes: '<string>',
campaignid: {},
companyname: '<string>',
confirminterest: true,
customerid: {},
customeridtype: {},
decisionmaker: true,
description: '<string>',
donotbulkemail: true,
donotemail: true,
donotfax: true,
donotphone: true,
donotpostalmail: true,
donotsendmm: true,
emailaddress1: '<string>',
emailaddress2: '<string>',
emailaddress3: '<string>',
entityimage: {},
estimatedamount: 123,
estimatedclosedate: '<string>',
estimatedvalue: 123,
evaluatefit: true,
fax: '<string>',
firstname: '<string>',
followemail: true,
industrycode: 123,
initialcommunication: 123,
jobtitle: '<string>',
lastonholdtime: '<string>',
lastusedincampaign: '<string>',
leadqualitycode: 123,
leadsourcecode: 123,
middlename: '<string>',
mobilephone: '<string>',
msdyn_gdproptout: true,
msdyn_leadgrade: 123,
msdyn_leadkpiid: {},
msdyn_leadscore: 123,
msdyn_leadscoretrend: 123,
msdyn_ordertype: 123,
msdyn_predictivescoreid: {},
msdyn_salesassignmentresult: 123,
msdyn_scorehistory: '<string>',
msdyn_scorereasons: '<string>',
msdyn_segmentid: {},
need: 123,
numberofemployees: 123,
originatingcaseid: {},
ownerid: {},
owneridtype: {},
pager: '<string>',
parentaccountid: {},
parentcontactid: {},
participatesinworkflow: true,
preferredcontactmethodcode: 123,
prioritycode: 123,
processid: '<string>',
purchaseprocess: 123,
purchasetimeframe: 123,
qualificationcomments: '<string>',
qualifyingopportunityid: {},
revenue: 123,
salesstage: 123,
salesstagecode: 123,
salutation: '<string>',
schedulefollowup_prospect: '<string>',
schedulefollowup_qualify: '<string>',
sic: '<string>',
slaid: {},
stageid: '<string>',
statecode: 123,
statuscode: 123,
teamsfollowed: 123,
telephone1: '<string>',
telephone2: '<string>',
telephone3: '<string>',
timezoneruleversionnumber: 123,
transactioncurrencyid: {},
traversedpath: '<string>',
utcconversiontimezonecode: 123,
websiteurl: '<string>',
yomicompanyname: '<string>',
yomifirstname: '<string>',
yomilastname: '<string>',
yomimiddlename: '<string>'
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
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([
'tool' => 'MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD',
'parameters' => [
'lastname' => '<string>',
'subject' => '<string>',
'entityId' => '<string>',
'address1_addressid' => '<string>',
'address1_addresstypecode' => 123,
'address1_city' => '<string>',
'address1_country' => '<string>',
'address1_county' => '<string>',
'address1_fax' => '<string>',
'address1_latitude' => 123,
'address1_line1' => '<string>',
'address1_line2' => '<string>',
'address1_line3' => '<string>',
'address1_longitude' => 123,
'address1_name' => '<string>',
'address1_postalcode' => '<string>',
'address1_postofficebox' => '<string>',
'address1_shippingmethodcode' => 123,
'address1_stateorprovince' => '<string>',
'address1_telephone1' => '<string>',
'address1_telephone2' => '<string>',
'address1_telephone3' => '<string>',
'address1_upszone' => '<string>',
'address1_utcoffset' => 123,
'address2_addressid' => '<string>',
'address2_addresstypecode' => 123,
'address2_city' => '<string>',
'address2_country' => '<string>',
'address2_county' => '<string>',
'address2_fax' => '<string>',
'address2_latitude' => 123,
'address2_line1' => '<string>',
'address2_line2' => '<string>',
'address2_line3' => '<string>',
'address2_longitude' => 123,
'address2_name' => '<string>',
'address2_postalcode' => '<string>',
'address2_postofficebox' => '<string>',
'address2_shippingmethodcode' => 123,
'address2_stateorprovince' => '<string>',
'address2_telephone1' => '<string>',
'address2_telephone2' => '<string>',
'address2_telephone3' => '<string>',
'address2_upszone' => '<string>',
'address2_utcoffset' => 123,
'budgetamount' => 123,
'budgetstatus' => 123,
'businesscard' => '<string>',
'businesscardattributes' => '<string>',
'campaignid' => [
],
'companyname' => '<string>',
'confirminterest' => true,
'customerid' => [
],
'customeridtype' => [
],
'decisionmaker' => true,
'description' => '<string>',
'donotbulkemail' => true,
'donotemail' => true,
'donotfax' => true,
'donotphone' => true,
'donotpostalmail' => true,
'donotsendmm' => true,
'emailaddress1' => '<string>',
'emailaddress2' => '<string>',
'emailaddress3' => '<string>',
'entityimage' => [
],
'estimatedamount' => 123,
'estimatedclosedate' => '<string>',
'estimatedvalue' => 123,
'evaluatefit' => true,
'fax' => '<string>',
'firstname' => '<string>',
'followemail' => true,
'industrycode' => 123,
'initialcommunication' => 123,
'jobtitle' => '<string>',
'lastonholdtime' => '<string>',
'lastusedincampaign' => '<string>',
'leadqualitycode' => 123,
'leadsourcecode' => 123,
'middlename' => '<string>',
'mobilephone' => '<string>',
'msdyn_gdproptout' => true,
'msdyn_leadgrade' => 123,
'msdyn_leadkpiid' => [
],
'msdyn_leadscore' => 123,
'msdyn_leadscoretrend' => 123,
'msdyn_ordertype' => 123,
'msdyn_predictivescoreid' => [
],
'msdyn_salesassignmentresult' => 123,
'msdyn_scorehistory' => '<string>',
'msdyn_scorereasons' => '<string>',
'msdyn_segmentid' => [
],
'need' => 123,
'numberofemployees' => 123,
'originatingcaseid' => [
],
'ownerid' => [
],
'owneridtype' => [
],
'pager' => '<string>',
'parentaccountid' => [
],
'parentcontactid' => [
],
'participatesinworkflow' => true,
'preferredcontactmethodcode' => 123,
'prioritycode' => 123,
'processid' => '<string>',
'purchaseprocess' => 123,
'purchasetimeframe' => 123,
'qualificationcomments' => '<string>',
'qualifyingopportunityid' => [
],
'revenue' => 123,
'salesstage' => 123,
'salesstagecode' => 123,
'salutation' => '<string>',
'schedulefollowup_prospect' => '<string>',
'schedulefollowup_qualify' => '<string>',
'sic' => '<string>',
'slaid' => [
],
'stageid' => '<string>',
'statecode' => 123,
'statuscode' => 123,
'teamsfollowed' => 123,
'telephone1' => '<string>',
'telephone2' => '<string>',
'telephone3' => '<string>',
'timezoneruleversionnumber' => 123,
'transactioncurrencyid' => [
],
'traversedpath' => '<string>',
'utcconversiontimezonecode' => 123,
'websiteurl' => '<string>',
'yomicompanyname' => '<string>',
'yomifirstname' => '<string>',
'yomilastname' => '<string>',
'yomimiddlename' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD"
payload := strings.NewReader("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"@odata.context": "https://example.crm.dynamics.com/api/data/v9.0/$metadata#leads/$entity",
"@odata.etag": "W/\"36693522\"",
"address1_shippingmethodcode": 1,
"_ownerid_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"leadid": "b8400eab-8944-42a4-a462-4b3d5341d0c9",
"fullname": "Docs Example",
"merged": false,
"salesstagecode": 1,
"yomifullname": "Docs Example",
"participatesinworkflow": false,
"evaluatefit": false,
"followemail": true,
"prioritycode": 1,
"_owninguser_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"address2_shippingmethodcode": 1,
"leadqualitycode": 2,
"confirminterest": false,
"decisionmaker": false,
"msdyn_ordertype": 192350000,
"address1_addressid": "6eea129b-11f0-4009-a9c4-81a9a0825246",
"address1_addresstypecode": 1,
"donotphone": false,
"_createdby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"donotemail": false,
"donotsendmm": false,
"_modifiedby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"jobtitle": "Engineer",
"companyname": "Docs Example Co",
"donotpostalmail": false,
"_owningbusinessunit_value": "a0b74d6c-90de-4c4f-a0e0-bf1888180f2d",
"modifiedon": "2026-10-16T06:20:58Z",
"statuscode": 1,
"donotbulkemail": false,
"lastname": "Docs Example",
"versionnumber": 36693522,
"statecode": 0,
"donotfax": false,
"msdyn_gdproptout": false,
"address2_addresstypecode": 1,
"createdon": "2026-10-16T06:19:42Z",
"preferredcontactmethodcode": 1,
"address2_addressid": "c71e4120-07f4-4175-ad29-a504536ad0e5",
"subject": "Docs Example Lead"
}Tools
Microsoft Dynamics Update Record Lead
POST
/
projects
/
{project_id}
/
tools
/
#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD
Microsoft Dynamics Update Record Lead
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
"parameters": {
"lastname": "<string>",
"subject": "<string>",
"entityId": "<string>",
"address1_addressid": "<string>",
"address1_addresstypecode": 123,
"address1_city": "<string>",
"address1_country": "<string>",
"address1_county": "<string>",
"address1_fax": "<string>",
"address1_latitude": 123,
"address1_line1": "<string>",
"address1_line2": "<string>",
"address1_line3": "<string>",
"address1_longitude": 123,
"address1_name": "<string>",
"address1_postalcode": "<string>",
"address1_postofficebox": "<string>",
"address1_shippingmethodcode": 123,
"address1_stateorprovince": "<string>",
"address1_telephone1": "<string>",
"address1_telephone2": "<string>",
"address1_telephone3": "<string>",
"address1_upszone": "<string>",
"address1_utcoffset": 123,
"address2_addressid": "<string>",
"address2_addresstypecode": 123,
"address2_city": "<string>",
"address2_country": "<string>",
"address2_county": "<string>",
"address2_fax": "<string>",
"address2_latitude": 123,
"address2_line1": "<string>",
"address2_line2": "<string>",
"address2_line3": "<string>",
"address2_longitude": 123,
"address2_name": "<string>",
"address2_postalcode": "<string>",
"address2_postofficebox": "<string>",
"address2_shippingmethodcode": 123,
"address2_stateorprovince": "<string>",
"address2_telephone1": "<string>",
"address2_telephone2": "<string>",
"address2_telephone3": "<string>",
"address2_upszone": "<string>",
"address2_utcoffset": 123,
"budgetamount": 123,
"budgetstatus": 123,
"businesscard": "<string>",
"businesscardattributes": "<string>",
"campaignid": {},
"companyname": "<string>",
"confirminterest": true,
"customerid": {},
"customeridtype": {},
"decisionmaker": true,
"description": "<string>",
"donotbulkemail": true,
"donotemail": true,
"donotfax": true,
"donotphone": true,
"donotpostalmail": true,
"donotsendmm": true,
"emailaddress1": "<string>",
"emailaddress2": "<string>",
"emailaddress3": "<string>",
"entityimage": {},
"estimatedamount": 123,
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": true,
"fax": "<string>",
"firstname": "<string>",
"followemail": true,
"industrycode": 123,
"initialcommunication": 123,
"jobtitle": "<string>",
"lastonholdtime": "<string>",
"lastusedincampaign": "<string>",
"leadqualitycode": 123,
"leadsourcecode": 123,
"middlename": "<string>",
"mobilephone": "<string>",
"msdyn_gdproptout": true,
"msdyn_leadgrade": 123,
"msdyn_leadkpiid": {},
"msdyn_leadscore": 123,
"msdyn_leadscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_salesassignmentresult": 123,
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"need": 123,
"numberofemployees": 123,
"originatingcaseid": {},
"ownerid": {},
"owneridtype": {},
"pager": "<string>",
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": true,
"preferredcontactmethodcode": 123,
"prioritycode": 123,
"processid": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"qualificationcomments": "<string>",
"qualifyingopportunityid": {},
"revenue": 123,
"salesstage": 123,
"salesstagecode": 123,
"salutation": "<string>",
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"sic": "<string>",
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"teamsfollowed": 123,
"telephone1": "<string>",
"telephone2": "<string>",
"telephone3": "<string>",
"timezoneruleversionnumber": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123,
"websiteurl": "<string>",
"yomicompanyname": "<string>",
"yomifirstname": "<string>",
"yomilastname": "<string>",
"yomimiddlename": "<string>"
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD"
payload = {
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
"parameters": {
"lastname": "<string>",
"subject": "<string>",
"entityId": "<string>",
"address1_addressid": "<string>",
"address1_addresstypecode": 123,
"address1_city": "<string>",
"address1_country": "<string>",
"address1_county": "<string>",
"address1_fax": "<string>",
"address1_latitude": 123,
"address1_line1": "<string>",
"address1_line2": "<string>",
"address1_line3": "<string>",
"address1_longitude": 123,
"address1_name": "<string>",
"address1_postalcode": "<string>",
"address1_postofficebox": "<string>",
"address1_shippingmethodcode": 123,
"address1_stateorprovince": "<string>",
"address1_telephone1": "<string>",
"address1_telephone2": "<string>",
"address1_telephone3": "<string>",
"address1_upszone": "<string>",
"address1_utcoffset": 123,
"address2_addressid": "<string>",
"address2_addresstypecode": 123,
"address2_city": "<string>",
"address2_country": "<string>",
"address2_county": "<string>",
"address2_fax": "<string>",
"address2_latitude": 123,
"address2_line1": "<string>",
"address2_line2": "<string>",
"address2_line3": "<string>",
"address2_longitude": 123,
"address2_name": "<string>",
"address2_postalcode": "<string>",
"address2_postofficebox": "<string>",
"address2_shippingmethodcode": 123,
"address2_stateorprovince": "<string>",
"address2_telephone1": "<string>",
"address2_telephone2": "<string>",
"address2_telephone3": "<string>",
"address2_upszone": "<string>",
"address2_utcoffset": 123,
"budgetamount": 123,
"budgetstatus": 123,
"businesscard": "<string>",
"businesscardattributes": "<string>",
"campaignid": {},
"companyname": "<string>",
"confirminterest": True,
"customerid": {},
"customeridtype": {},
"decisionmaker": True,
"description": "<string>",
"donotbulkemail": True,
"donotemail": True,
"donotfax": True,
"donotphone": True,
"donotpostalmail": True,
"donotsendmm": True,
"emailaddress1": "<string>",
"emailaddress2": "<string>",
"emailaddress3": "<string>",
"entityimage": {},
"estimatedamount": 123,
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": True,
"fax": "<string>",
"firstname": "<string>",
"followemail": True,
"industrycode": 123,
"initialcommunication": 123,
"jobtitle": "<string>",
"lastonholdtime": "<string>",
"lastusedincampaign": "<string>",
"leadqualitycode": 123,
"leadsourcecode": 123,
"middlename": "<string>",
"mobilephone": "<string>",
"msdyn_gdproptout": True,
"msdyn_leadgrade": 123,
"msdyn_leadkpiid": {},
"msdyn_leadscore": 123,
"msdyn_leadscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_salesassignmentresult": 123,
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"need": 123,
"numberofemployees": 123,
"originatingcaseid": {},
"ownerid": {},
"owneridtype": {},
"pager": "<string>",
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": True,
"preferredcontactmethodcode": 123,
"prioritycode": 123,
"processid": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"qualificationcomments": "<string>",
"qualifyingopportunityid": {},
"revenue": 123,
"salesstage": 123,
"salesstagecode": 123,
"salutation": "<string>",
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"sic": "<string>",
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"teamsfollowed": 123,
"telephone1": "<string>",
"telephone2": "<string>",
"telephone3": "<string>",
"timezoneruleversionnumber": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123,
"websiteurl": "<string>",
"yomicompanyname": "<string>",
"yomifirstname": "<string>",
"yomilastname": "<string>",
"yomimiddlename": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD',
parameters: {
lastname: '<string>',
subject: '<string>',
entityId: '<string>',
address1_addressid: '<string>',
address1_addresstypecode: 123,
address1_city: '<string>',
address1_country: '<string>',
address1_county: '<string>',
address1_fax: '<string>',
address1_latitude: 123,
address1_line1: '<string>',
address1_line2: '<string>',
address1_line3: '<string>',
address1_longitude: 123,
address1_name: '<string>',
address1_postalcode: '<string>',
address1_postofficebox: '<string>',
address1_shippingmethodcode: 123,
address1_stateorprovince: '<string>',
address1_telephone1: '<string>',
address1_telephone2: '<string>',
address1_telephone3: '<string>',
address1_upszone: '<string>',
address1_utcoffset: 123,
address2_addressid: '<string>',
address2_addresstypecode: 123,
address2_city: '<string>',
address2_country: '<string>',
address2_county: '<string>',
address2_fax: '<string>',
address2_latitude: 123,
address2_line1: '<string>',
address2_line2: '<string>',
address2_line3: '<string>',
address2_longitude: 123,
address2_name: '<string>',
address2_postalcode: '<string>',
address2_postofficebox: '<string>',
address2_shippingmethodcode: 123,
address2_stateorprovince: '<string>',
address2_telephone1: '<string>',
address2_telephone2: '<string>',
address2_telephone3: '<string>',
address2_upszone: '<string>',
address2_utcoffset: 123,
budgetamount: 123,
budgetstatus: 123,
businesscard: '<string>',
businesscardattributes: '<string>',
campaignid: {},
companyname: '<string>',
confirminterest: true,
customerid: {},
customeridtype: {},
decisionmaker: true,
description: '<string>',
donotbulkemail: true,
donotemail: true,
donotfax: true,
donotphone: true,
donotpostalmail: true,
donotsendmm: true,
emailaddress1: '<string>',
emailaddress2: '<string>',
emailaddress3: '<string>',
entityimage: {},
estimatedamount: 123,
estimatedclosedate: '<string>',
estimatedvalue: 123,
evaluatefit: true,
fax: '<string>',
firstname: '<string>',
followemail: true,
industrycode: 123,
initialcommunication: 123,
jobtitle: '<string>',
lastonholdtime: '<string>',
lastusedincampaign: '<string>',
leadqualitycode: 123,
leadsourcecode: 123,
middlename: '<string>',
mobilephone: '<string>',
msdyn_gdproptout: true,
msdyn_leadgrade: 123,
msdyn_leadkpiid: {},
msdyn_leadscore: 123,
msdyn_leadscoretrend: 123,
msdyn_ordertype: 123,
msdyn_predictivescoreid: {},
msdyn_salesassignmentresult: 123,
msdyn_scorehistory: '<string>',
msdyn_scorereasons: '<string>',
msdyn_segmentid: {},
need: 123,
numberofemployees: 123,
originatingcaseid: {},
ownerid: {},
owneridtype: {},
pager: '<string>',
parentaccountid: {},
parentcontactid: {},
participatesinworkflow: true,
preferredcontactmethodcode: 123,
prioritycode: 123,
processid: '<string>',
purchaseprocess: 123,
purchasetimeframe: 123,
qualificationcomments: '<string>',
qualifyingopportunityid: {},
revenue: 123,
salesstage: 123,
salesstagecode: 123,
salutation: '<string>',
schedulefollowup_prospect: '<string>',
schedulefollowup_qualify: '<string>',
sic: '<string>',
slaid: {},
stageid: '<string>',
statecode: 123,
statuscode: 123,
teamsfollowed: 123,
telephone1: '<string>',
telephone2: '<string>',
telephone3: '<string>',
timezoneruleversionnumber: 123,
transactioncurrencyid: {},
traversedpath: '<string>',
utcconversiontimezonecode: 123,
websiteurl: '<string>',
yomicompanyname: '<string>',
yomifirstname: '<string>',
yomilastname: '<string>',
yomimiddlename: '<string>'
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD",
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([
'tool' => 'MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD',
'parameters' => [
'lastname' => '<string>',
'subject' => '<string>',
'entityId' => '<string>',
'address1_addressid' => '<string>',
'address1_addresstypecode' => 123,
'address1_city' => '<string>',
'address1_country' => '<string>',
'address1_county' => '<string>',
'address1_fax' => '<string>',
'address1_latitude' => 123,
'address1_line1' => '<string>',
'address1_line2' => '<string>',
'address1_line3' => '<string>',
'address1_longitude' => 123,
'address1_name' => '<string>',
'address1_postalcode' => '<string>',
'address1_postofficebox' => '<string>',
'address1_shippingmethodcode' => 123,
'address1_stateorprovince' => '<string>',
'address1_telephone1' => '<string>',
'address1_telephone2' => '<string>',
'address1_telephone3' => '<string>',
'address1_upszone' => '<string>',
'address1_utcoffset' => 123,
'address2_addressid' => '<string>',
'address2_addresstypecode' => 123,
'address2_city' => '<string>',
'address2_country' => '<string>',
'address2_county' => '<string>',
'address2_fax' => '<string>',
'address2_latitude' => 123,
'address2_line1' => '<string>',
'address2_line2' => '<string>',
'address2_line3' => '<string>',
'address2_longitude' => 123,
'address2_name' => '<string>',
'address2_postalcode' => '<string>',
'address2_postofficebox' => '<string>',
'address2_shippingmethodcode' => 123,
'address2_stateorprovince' => '<string>',
'address2_telephone1' => '<string>',
'address2_telephone2' => '<string>',
'address2_telephone3' => '<string>',
'address2_upszone' => '<string>',
'address2_utcoffset' => 123,
'budgetamount' => 123,
'budgetstatus' => 123,
'businesscard' => '<string>',
'businesscardattributes' => '<string>',
'campaignid' => [
],
'companyname' => '<string>',
'confirminterest' => true,
'customerid' => [
],
'customeridtype' => [
],
'decisionmaker' => true,
'description' => '<string>',
'donotbulkemail' => true,
'donotemail' => true,
'donotfax' => true,
'donotphone' => true,
'donotpostalmail' => true,
'donotsendmm' => true,
'emailaddress1' => '<string>',
'emailaddress2' => '<string>',
'emailaddress3' => '<string>',
'entityimage' => [
],
'estimatedamount' => 123,
'estimatedclosedate' => '<string>',
'estimatedvalue' => 123,
'evaluatefit' => true,
'fax' => '<string>',
'firstname' => '<string>',
'followemail' => true,
'industrycode' => 123,
'initialcommunication' => 123,
'jobtitle' => '<string>',
'lastonholdtime' => '<string>',
'lastusedincampaign' => '<string>',
'leadqualitycode' => 123,
'leadsourcecode' => 123,
'middlename' => '<string>',
'mobilephone' => '<string>',
'msdyn_gdproptout' => true,
'msdyn_leadgrade' => 123,
'msdyn_leadkpiid' => [
],
'msdyn_leadscore' => 123,
'msdyn_leadscoretrend' => 123,
'msdyn_ordertype' => 123,
'msdyn_predictivescoreid' => [
],
'msdyn_salesassignmentresult' => 123,
'msdyn_scorehistory' => '<string>',
'msdyn_scorereasons' => '<string>',
'msdyn_segmentid' => [
],
'need' => 123,
'numberofemployees' => 123,
'originatingcaseid' => [
],
'ownerid' => [
],
'owneridtype' => [
],
'pager' => '<string>',
'parentaccountid' => [
],
'parentcontactid' => [
],
'participatesinworkflow' => true,
'preferredcontactmethodcode' => 123,
'prioritycode' => 123,
'processid' => '<string>',
'purchaseprocess' => 123,
'purchasetimeframe' => 123,
'qualificationcomments' => '<string>',
'qualifyingopportunityid' => [
],
'revenue' => 123,
'salesstage' => 123,
'salesstagecode' => 123,
'salutation' => '<string>',
'schedulefollowup_prospect' => '<string>',
'schedulefollowup_qualify' => '<string>',
'sic' => '<string>',
'slaid' => [
],
'stageid' => '<string>',
'statecode' => 123,
'statuscode' => 123,
'teamsfollowed' => 123,
'telephone1' => '<string>',
'telephone2' => '<string>',
'telephone3' => '<string>',
'timezoneruleversionnumber' => 123,
'transactioncurrencyid' => [
],
'traversedpath' => '<string>',
'utcconversiontimezonecode' => 123,
'websiteurl' => '<string>',
'yomicompanyname' => '<string>',
'yomifirstname' => '<string>',
'yomilastname' => '<string>',
'yomimiddlename' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD"
payload := strings.NewReader("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD\",\n \"parameters\": {\n \"lastname\": \"<string>\",\n \"subject\": \"<string>\",\n \"entityId\": \"<string>\",\n \"address1_addressid\": \"<string>\",\n \"address1_addresstypecode\": 123,\n \"address1_city\": \"<string>\",\n \"address1_country\": \"<string>\",\n \"address1_county\": \"<string>\",\n \"address1_fax\": \"<string>\",\n \"address1_latitude\": 123,\n \"address1_line1\": \"<string>\",\n \"address1_line2\": \"<string>\",\n \"address1_line3\": \"<string>\",\n \"address1_longitude\": 123,\n \"address1_name\": \"<string>\",\n \"address1_postalcode\": \"<string>\",\n \"address1_postofficebox\": \"<string>\",\n \"address1_shippingmethodcode\": 123,\n \"address1_stateorprovince\": \"<string>\",\n \"address1_telephone1\": \"<string>\",\n \"address1_telephone2\": \"<string>\",\n \"address1_telephone3\": \"<string>\",\n \"address1_upszone\": \"<string>\",\n \"address1_utcoffset\": 123,\n \"address2_addressid\": \"<string>\",\n \"address2_addresstypecode\": 123,\n \"address2_city\": \"<string>\",\n \"address2_country\": \"<string>\",\n \"address2_county\": \"<string>\",\n \"address2_fax\": \"<string>\",\n \"address2_latitude\": 123,\n \"address2_line1\": \"<string>\",\n \"address2_line2\": \"<string>\",\n \"address2_line3\": \"<string>\",\n \"address2_longitude\": 123,\n \"address2_name\": \"<string>\",\n \"address2_postalcode\": \"<string>\",\n \"address2_postofficebox\": \"<string>\",\n \"address2_shippingmethodcode\": 123,\n \"address2_stateorprovince\": \"<string>\",\n \"address2_telephone1\": \"<string>\",\n \"address2_telephone2\": \"<string>\",\n \"address2_telephone3\": \"<string>\",\n \"address2_upszone\": \"<string>\",\n \"address2_utcoffset\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"businesscard\": \"<string>\",\n \"businesscardattributes\": \"<string>\",\n \"campaignid\": {},\n \"companyname\": \"<string>\",\n \"confirminterest\": true,\n \"customerid\": {},\n \"customeridtype\": {},\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"donotbulkemail\": true,\n \"donotemail\": true,\n \"donotfax\": true,\n \"donotphone\": true,\n \"donotpostalmail\": true,\n \"donotsendmm\": true,\n \"emailaddress1\": \"<string>\",\n \"emailaddress2\": \"<string>\",\n \"emailaddress3\": \"<string>\",\n \"entityimage\": {},\n \"estimatedamount\": 123,\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"fax\": \"<string>\",\n \"firstname\": \"<string>\",\n \"followemail\": true,\n \"industrycode\": 123,\n \"initialcommunication\": 123,\n \"jobtitle\": \"<string>\",\n \"lastonholdtime\": \"<string>\",\n \"lastusedincampaign\": \"<string>\",\n \"leadqualitycode\": 123,\n \"leadsourcecode\": 123,\n \"middlename\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"msdyn_gdproptout\": true,\n \"msdyn_leadgrade\": 123,\n \"msdyn_leadkpiid\": {},\n \"msdyn_leadscore\": 123,\n \"msdyn_leadscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_salesassignmentresult\": 123,\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"need\": 123,\n \"numberofemployees\": 123,\n \"originatingcaseid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"pager\": \"<string>\",\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"preferredcontactmethodcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"qualificationcomments\": \"<string>\",\n \"qualifyingopportunityid\": {},\n \"revenue\": 123,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"salutation\": \"<string>\",\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"sic\": \"<string>\",\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"teamsfollowed\": 123,\n \"telephone1\": \"<string>\",\n \"telephone2\": \"<string>\",\n \"telephone3\": \"<string>\",\n \"timezoneruleversionnumber\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123,\n \"websiteurl\": \"<string>\",\n \"yomicompanyname\": \"<string>\",\n \"yomifirstname\": \"<string>\",\n \"yomilastname\": \"<string>\",\n \"yomimiddlename\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"@odata.context": "https://example.crm.dynamics.com/api/data/v9.0/$metadata#leads/$entity",
"@odata.etag": "W/\"36693522\"",
"address1_shippingmethodcode": 1,
"_ownerid_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"leadid": "b8400eab-8944-42a4-a462-4b3d5341d0c9",
"fullname": "Docs Example",
"merged": false,
"salesstagecode": 1,
"yomifullname": "Docs Example",
"participatesinworkflow": false,
"evaluatefit": false,
"followemail": true,
"prioritycode": 1,
"_owninguser_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"address2_shippingmethodcode": 1,
"leadqualitycode": 2,
"confirminterest": false,
"decisionmaker": false,
"msdyn_ordertype": 192350000,
"address1_addressid": "6eea129b-11f0-4009-a9c4-81a9a0825246",
"address1_addresstypecode": 1,
"donotphone": false,
"_createdby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"donotemail": false,
"donotsendmm": false,
"_modifiedby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"jobtitle": "Engineer",
"companyname": "Docs Example Co",
"donotpostalmail": false,
"_owningbusinessunit_value": "a0b74d6c-90de-4c4f-a0e0-bf1888180f2d",
"modifiedon": "2026-10-16T06:20:58Z",
"statuscode": 1,
"donotbulkemail": false,
"lastname": "Docs Example",
"versionnumber": 36693522,
"statecode": 0,
"donotfax": false,
"msdyn_gdproptout": false,
"address2_addresstypecode": 1,
"createdon": "2026-10-16T06:19:42Z",
"preferredcontactmethodcode": 1,
"address2_addressid": "c71e4120-07f4-4175-ad29-a504536ad0e5",
"subject": "Docs Example Lead"
}Provider API: Microsoft Dataverse Web API (v9.0).
Authorizations
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Path Parameters
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Body
application/json
Response
200 - application/json
The Dataverse record after the update, as returned by Dataverse. The fields depend on the table and the connected environment. Fields with a null value are omitted from the example.