Microsoft Dynamics Update Record Opportunity
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"customerid": {},
"name": "<string>",
"entityId": "<string>",
"actualclosedate": "<string>",
"actualvalue": 123,
"budgetamount": 123,
"budgetstatus": 123,
"campaignid": {},
"captureproposalfeedback": true,
"closeprobability": 123,
"completefinalproposal": true,
"completeinternalreview": true,
"confirminterest": true,
"currentsituation": "<string>",
"customeridtype": {},
"customerneed": "<string>",
"customerpainpoints": "<string>",
"decisionmaker": true,
"description": "<string>",
"developproposal": true,
"discountamount": 123,
"discountpercentage": 123,
"emailaddress": "<string>",
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": true,
"filedebrief": true,
"finaldecisiondate": "<string>",
"freightamount": 123,
"identifycompetitors": true,
"identifycustomercontacts": true,
"identifypursuitteam": true,
"initialcommunication": 123,
"isrevenuesystemcalculated": true,
"lastonholdtime": "<string>",
"msdyn_forecastcategory": 123,
"msdyn_gdproptout": true,
"msdyn_opportunitygrade": 123,
"msdyn_opportunitykpiid": {},
"msdyn_opportunityscore": 123,
"msdyn_opportunityscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"msdyn_similaropportunities": "<string>",
"msdyn_workordertype": {},
"need": 123,
"opportunityratingcode": 123,
"originatingleadid": {},
"ownerid": {},
"owneridtype": {},
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": true,
"presentfinalproposal": true,
"presentproposal": true,
"pricelevelid": {},
"pricingerrorcode": 123,
"prioritycode": 123,
"processid": "<string>",
"proposedsolution": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"pursuitdecision": true,
"qualificationcomments": "<string>",
"quotecomments": "<string>",
"resolvefeedback": true,
"salesstage": 123,
"salesstagecode": 123,
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"scheduleproposalmeeting": "<string>",
"sendthankyounote": true,
"skippricecalculation": 123,
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"stepid": "<string>",
"stepname": "<string>",
"teamsfollowed": 123,
"timeline": 123,
"timezoneruleversionnumber": 123,
"totalamount": 123,
"totalamountlessfreight": 123,
"totaldiscountamount": 123,
"totallineitemamount": 123,
"totallineitemdiscountamount": 123,
"totaltax": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY"
payload = {
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"customerid": {},
"name": "<string>",
"entityId": "<string>",
"actualclosedate": "<string>",
"actualvalue": 123,
"budgetamount": 123,
"budgetstatus": 123,
"campaignid": {},
"captureproposalfeedback": True,
"closeprobability": 123,
"completefinalproposal": True,
"completeinternalreview": True,
"confirminterest": True,
"currentsituation": "<string>",
"customeridtype": {},
"customerneed": "<string>",
"customerpainpoints": "<string>",
"decisionmaker": True,
"description": "<string>",
"developproposal": True,
"discountamount": 123,
"discountpercentage": 123,
"emailaddress": "<string>",
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": True,
"filedebrief": True,
"finaldecisiondate": "<string>",
"freightamount": 123,
"identifycompetitors": True,
"identifycustomercontacts": True,
"identifypursuitteam": True,
"initialcommunication": 123,
"isrevenuesystemcalculated": True,
"lastonholdtime": "<string>",
"msdyn_forecastcategory": 123,
"msdyn_gdproptout": True,
"msdyn_opportunitygrade": 123,
"msdyn_opportunitykpiid": {},
"msdyn_opportunityscore": 123,
"msdyn_opportunityscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"msdyn_similaropportunities": "<string>",
"msdyn_workordertype": {},
"need": 123,
"opportunityratingcode": 123,
"originatingleadid": {},
"ownerid": {},
"owneridtype": {},
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": True,
"presentfinalproposal": True,
"presentproposal": True,
"pricelevelid": {},
"pricingerrorcode": 123,
"prioritycode": 123,
"processid": "<string>",
"proposedsolution": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"pursuitdecision": True,
"qualificationcomments": "<string>",
"quotecomments": "<string>",
"resolvefeedback": True,
"salesstage": 123,
"salesstagecode": 123,
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"scheduleproposalmeeting": "<string>",
"sendthankyounote": True,
"skippricecalculation": 123,
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"stepid": "<string>",
"stepname": "<string>",
"teamsfollowed": 123,
"timeline": 123,
"timezoneruleversionnumber": 123,
"totalamount": 123,
"totalamountlessfreight": 123,
"totaldiscountamount": 123,
"totallineitemamount": 123,
"totallineitemdiscountamount": 123,
"totaltax": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123
}
}
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_OPPORTUNITY',
parameters: {
customerid: {},
name: '<string>',
entityId: '<string>',
actualclosedate: '<string>',
actualvalue: 123,
budgetamount: 123,
budgetstatus: 123,
campaignid: {},
captureproposalfeedback: true,
closeprobability: 123,
completefinalproposal: true,
completeinternalreview: true,
confirminterest: true,
currentsituation: '<string>',
customeridtype: {},
customerneed: '<string>',
customerpainpoints: '<string>',
decisionmaker: true,
description: '<string>',
developproposal: true,
discountamount: 123,
discountpercentage: 123,
emailaddress: '<string>',
estimatedclosedate: '<string>',
estimatedvalue: 123,
evaluatefit: true,
filedebrief: true,
finaldecisiondate: '<string>',
freightamount: 123,
identifycompetitors: true,
identifycustomercontacts: true,
identifypursuitteam: true,
initialcommunication: 123,
isrevenuesystemcalculated: true,
lastonholdtime: '<string>',
msdyn_forecastcategory: 123,
msdyn_gdproptout: true,
msdyn_opportunitygrade: 123,
msdyn_opportunitykpiid: {},
msdyn_opportunityscore: 123,
msdyn_opportunityscoretrend: 123,
msdyn_ordertype: 123,
msdyn_predictivescoreid: {},
msdyn_scorehistory: '<string>',
msdyn_scorereasons: '<string>',
msdyn_segmentid: {},
msdyn_similaropportunities: '<string>',
msdyn_workordertype: {},
need: 123,
opportunityratingcode: 123,
originatingleadid: {},
ownerid: {},
owneridtype: {},
parentaccountid: {},
parentcontactid: {},
participatesinworkflow: true,
presentfinalproposal: true,
presentproposal: true,
pricelevelid: {},
pricingerrorcode: 123,
prioritycode: 123,
processid: '<string>',
proposedsolution: '<string>',
purchaseprocess: 123,
purchasetimeframe: 123,
pursuitdecision: true,
qualificationcomments: '<string>',
quotecomments: '<string>',
resolvefeedback: true,
salesstage: 123,
salesstagecode: 123,
schedulefollowup_prospect: '<string>',
schedulefollowup_qualify: '<string>',
scheduleproposalmeeting: '<string>',
sendthankyounote: true,
skippricecalculation: 123,
slaid: {},
stageid: '<string>',
statecode: 123,
statuscode: 123,
stepid: '<string>',
stepname: '<string>',
teamsfollowed: 123,
timeline: 123,
timezoneruleversionnumber: 123,
totalamount: 123,
totalamountlessfreight: 123,
totaldiscountamount: 123,
totallineitemamount: 123,
totallineitemdiscountamount: 123,
totaltax: 123,
transactioncurrencyid: {},
traversedpath: '<string>',
utcconversiontimezonecode: 123
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY', 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_OPPORTUNITY",
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_OPPORTUNITY',
'parameters' => [
'customerid' => [
],
'name' => '<string>',
'entityId' => '<string>',
'actualclosedate' => '<string>',
'actualvalue' => 123,
'budgetamount' => 123,
'budgetstatus' => 123,
'campaignid' => [
],
'captureproposalfeedback' => true,
'closeprobability' => 123,
'completefinalproposal' => true,
'completeinternalreview' => true,
'confirminterest' => true,
'currentsituation' => '<string>',
'customeridtype' => [
],
'customerneed' => '<string>',
'customerpainpoints' => '<string>',
'decisionmaker' => true,
'description' => '<string>',
'developproposal' => true,
'discountamount' => 123,
'discountpercentage' => 123,
'emailaddress' => '<string>',
'estimatedclosedate' => '<string>',
'estimatedvalue' => 123,
'evaluatefit' => true,
'filedebrief' => true,
'finaldecisiondate' => '<string>',
'freightamount' => 123,
'identifycompetitors' => true,
'identifycustomercontacts' => true,
'identifypursuitteam' => true,
'initialcommunication' => 123,
'isrevenuesystemcalculated' => true,
'lastonholdtime' => '<string>',
'msdyn_forecastcategory' => 123,
'msdyn_gdproptout' => true,
'msdyn_opportunitygrade' => 123,
'msdyn_opportunitykpiid' => [
],
'msdyn_opportunityscore' => 123,
'msdyn_opportunityscoretrend' => 123,
'msdyn_ordertype' => 123,
'msdyn_predictivescoreid' => [
],
'msdyn_scorehistory' => '<string>',
'msdyn_scorereasons' => '<string>',
'msdyn_segmentid' => [
],
'msdyn_similaropportunities' => '<string>',
'msdyn_workordertype' => [
],
'need' => 123,
'opportunityratingcode' => 123,
'originatingleadid' => [
],
'ownerid' => [
],
'owneridtype' => [
],
'parentaccountid' => [
],
'parentcontactid' => [
],
'participatesinworkflow' => true,
'presentfinalproposal' => true,
'presentproposal' => true,
'pricelevelid' => [
],
'pricingerrorcode' => 123,
'prioritycode' => 123,
'processid' => '<string>',
'proposedsolution' => '<string>',
'purchaseprocess' => 123,
'purchasetimeframe' => 123,
'pursuitdecision' => true,
'qualificationcomments' => '<string>',
'quotecomments' => '<string>',
'resolvefeedback' => true,
'salesstage' => 123,
'salesstagecode' => 123,
'schedulefollowup_prospect' => '<string>',
'schedulefollowup_qualify' => '<string>',
'scheduleproposalmeeting' => '<string>',
'sendthankyounote' => true,
'skippricecalculation' => 123,
'slaid' => [
],
'stageid' => '<string>',
'statecode' => 123,
'statuscode' => 123,
'stepid' => '<string>',
'stepname' => '<string>',
'teamsfollowed' => 123,
'timeline' => 123,
'timezoneruleversionnumber' => 123,
'totalamount' => 123,
'totalamountlessfreight' => 123,
'totaldiscountamount' => 123,
'totallineitemamount' => 123,
'totallineitemdiscountamount' => 123,
'totaltax' => 123,
'transactioncurrencyid' => [
],
'traversedpath' => '<string>',
'utcconversiontimezonecode' => 123
]
]),
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_OPPORTUNITY"
payload := strings.NewReader("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\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_OPPORTUNITY")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY")
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_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"@odata.context": "https://example.crm.dynamics.com/api/data/v9.0/$metadata#opportunities/$entity",
"@odata.etag": "W/\"36693530\"",
"totalamount_base": 0,
"pursuitdecision": false,
"totallineitemdiscountamount": 0,
"totalamount": 0,
"identifypursuitteam": false,
"statuscode": 1,
"totaldiscountamount_base": 0,
"_createdby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"name": "Docs Example Opportunity",
"_owninguser_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"totaltax": 0,
"_modifiedby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"msdyn_ordertype": 192350000,
"identifycustomercontacts": false,
"presentproposal": false,
"captureproposalfeedback": false,
"salesstagecode": 1,
"msdyn_forecastcategory": 100000001,
"sendthankyounote": false,
"_parentaccountid_value": "9310e1a3-f6e4-4e5a-a927-b07bbf75978d",
"totalamountlessfreight": 0,
"_ownerid_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"developproposal": false,
"description": "Updated",
"skippricecalculation": 0,
"modifiedon": "2026-10-16T06:21:07Z",
"totaltax_base": 0,
"opportunityratingcode": 2,
"totallineitemdiscountamount_base": 0,
"stepname": "1-Qualify",
"identifycompetitors": false,
"msdyn_gdproptout": false,
"totallineitemamount": 0,
"_owningbusinessunit_value": "a0b74d6c-90de-4c4f-a0e0-bf1888180f2d",
"decisionmaker": false,
"opportunityid": "13f7ed41-d0e2-4711-ad69-8dd33a6e8143",
"totaldiscountamount": 0,
"evaluatefit": false,
"presentfinalproposal": false,
"statecode": 0,
"isrevenuesystemcalculated": false,
"participatesinworkflow": false,
"exchangerate": 1,
"filedebrief": false,
"totalamountlessfreight_base": 0,
"_customerid_value": "9310e1a3-f6e4-4e5a-a927-b07bbf75978d",
"prioritycode": 1,
"_transactioncurrencyid_value": "68f389b0-577b-4f48-aee5-92544c03e41d",
"totallineitemamount_base": 0,
"confirminterest": false,
"completeinternalreview": false,
"completefinalproposal": false,
"resolvefeedback": false,
"createdon": "2026-10-16T06:20:01Z",
"pricingerrorcode": 0,
"versionnumber": 36693530
}Tools
Microsoft Dynamics Update Record Opportunity
POST
/
projects
/
{project_id}
/
tools
/
#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY
Microsoft Dynamics Update Record Opportunity
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"customerid": {},
"name": "<string>",
"entityId": "<string>",
"actualclosedate": "<string>",
"actualvalue": 123,
"budgetamount": 123,
"budgetstatus": 123,
"campaignid": {},
"captureproposalfeedback": true,
"closeprobability": 123,
"completefinalproposal": true,
"completeinternalreview": true,
"confirminterest": true,
"currentsituation": "<string>",
"customeridtype": {},
"customerneed": "<string>",
"customerpainpoints": "<string>",
"decisionmaker": true,
"description": "<string>",
"developproposal": true,
"discountamount": 123,
"discountpercentage": 123,
"emailaddress": "<string>",
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": true,
"filedebrief": true,
"finaldecisiondate": "<string>",
"freightamount": 123,
"identifycompetitors": true,
"identifycustomercontacts": true,
"identifypursuitteam": true,
"initialcommunication": 123,
"isrevenuesystemcalculated": true,
"lastonholdtime": "<string>",
"msdyn_forecastcategory": 123,
"msdyn_gdproptout": true,
"msdyn_opportunitygrade": 123,
"msdyn_opportunitykpiid": {},
"msdyn_opportunityscore": 123,
"msdyn_opportunityscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"msdyn_similaropportunities": "<string>",
"msdyn_workordertype": {},
"need": 123,
"opportunityratingcode": 123,
"originatingleadid": {},
"ownerid": {},
"owneridtype": {},
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": true,
"presentfinalproposal": true,
"presentproposal": true,
"pricelevelid": {},
"pricingerrorcode": 123,
"prioritycode": 123,
"processid": "<string>",
"proposedsolution": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"pursuitdecision": true,
"qualificationcomments": "<string>",
"quotecomments": "<string>",
"resolvefeedback": true,
"salesstage": 123,
"salesstagecode": 123,
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"scheduleproposalmeeting": "<string>",
"sendthankyounote": true,
"skippricecalculation": 123,
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"stepid": "<string>",
"stepname": "<string>",
"teamsfollowed": 123,
"timeline": 123,
"timezoneruleversionnumber": 123,
"totalamount": 123,
"totalamountlessfreight": 123,
"totaldiscountamount": 123,
"totallineitemamount": 123,
"totallineitemdiscountamount": 123,
"totaltax": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY"
payload = {
"tool": "MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"customerid": {},
"name": "<string>",
"entityId": "<string>",
"actualclosedate": "<string>",
"actualvalue": 123,
"budgetamount": 123,
"budgetstatus": 123,
"campaignid": {},
"captureproposalfeedback": True,
"closeprobability": 123,
"completefinalproposal": True,
"completeinternalreview": True,
"confirminterest": True,
"currentsituation": "<string>",
"customeridtype": {},
"customerneed": "<string>",
"customerpainpoints": "<string>",
"decisionmaker": True,
"description": "<string>",
"developproposal": True,
"discountamount": 123,
"discountpercentage": 123,
"emailaddress": "<string>",
"estimatedclosedate": "<string>",
"estimatedvalue": 123,
"evaluatefit": True,
"filedebrief": True,
"finaldecisiondate": "<string>",
"freightamount": 123,
"identifycompetitors": True,
"identifycustomercontacts": True,
"identifypursuitteam": True,
"initialcommunication": 123,
"isrevenuesystemcalculated": True,
"lastonholdtime": "<string>",
"msdyn_forecastcategory": 123,
"msdyn_gdproptout": True,
"msdyn_opportunitygrade": 123,
"msdyn_opportunitykpiid": {},
"msdyn_opportunityscore": 123,
"msdyn_opportunityscoretrend": 123,
"msdyn_ordertype": 123,
"msdyn_predictivescoreid": {},
"msdyn_scorehistory": "<string>",
"msdyn_scorereasons": "<string>",
"msdyn_segmentid": {},
"msdyn_similaropportunities": "<string>",
"msdyn_workordertype": {},
"need": 123,
"opportunityratingcode": 123,
"originatingleadid": {},
"ownerid": {},
"owneridtype": {},
"parentaccountid": {},
"parentcontactid": {},
"participatesinworkflow": True,
"presentfinalproposal": True,
"presentproposal": True,
"pricelevelid": {},
"pricingerrorcode": 123,
"prioritycode": 123,
"processid": "<string>",
"proposedsolution": "<string>",
"purchaseprocess": 123,
"purchasetimeframe": 123,
"pursuitdecision": True,
"qualificationcomments": "<string>",
"quotecomments": "<string>",
"resolvefeedback": True,
"salesstage": 123,
"salesstagecode": 123,
"schedulefollowup_prospect": "<string>",
"schedulefollowup_qualify": "<string>",
"scheduleproposalmeeting": "<string>",
"sendthankyounote": True,
"skippricecalculation": 123,
"slaid": {},
"stageid": "<string>",
"statecode": 123,
"statuscode": 123,
"stepid": "<string>",
"stepname": "<string>",
"teamsfollowed": 123,
"timeline": 123,
"timezoneruleversionnumber": 123,
"totalamount": 123,
"totalamountlessfreight": 123,
"totaldiscountamount": 123,
"totallineitemamount": 123,
"totallineitemdiscountamount": 123,
"totaltax": 123,
"transactioncurrencyid": {},
"traversedpath": "<string>",
"utcconversiontimezonecode": 123
}
}
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_OPPORTUNITY',
parameters: {
customerid: {},
name: '<string>',
entityId: '<string>',
actualclosedate: '<string>',
actualvalue: 123,
budgetamount: 123,
budgetstatus: 123,
campaignid: {},
captureproposalfeedback: true,
closeprobability: 123,
completefinalproposal: true,
completeinternalreview: true,
confirminterest: true,
currentsituation: '<string>',
customeridtype: {},
customerneed: '<string>',
customerpainpoints: '<string>',
decisionmaker: true,
description: '<string>',
developproposal: true,
discountamount: 123,
discountpercentage: 123,
emailaddress: '<string>',
estimatedclosedate: '<string>',
estimatedvalue: 123,
evaluatefit: true,
filedebrief: true,
finaldecisiondate: '<string>',
freightamount: 123,
identifycompetitors: true,
identifycustomercontacts: true,
identifypursuitteam: true,
initialcommunication: 123,
isrevenuesystemcalculated: true,
lastonholdtime: '<string>',
msdyn_forecastcategory: 123,
msdyn_gdproptout: true,
msdyn_opportunitygrade: 123,
msdyn_opportunitykpiid: {},
msdyn_opportunityscore: 123,
msdyn_opportunityscoretrend: 123,
msdyn_ordertype: 123,
msdyn_predictivescoreid: {},
msdyn_scorehistory: '<string>',
msdyn_scorereasons: '<string>',
msdyn_segmentid: {},
msdyn_similaropportunities: '<string>',
msdyn_workordertype: {},
need: 123,
opportunityratingcode: 123,
originatingleadid: {},
ownerid: {},
owneridtype: {},
parentaccountid: {},
parentcontactid: {},
participatesinworkflow: true,
presentfinalproposal: true,
presentproposal: true,
pricelevelid: {},
pricingerrorcode: 123,
prioritycode: 123,
processid: '<string>',
proposedsolution: '<string>',
purchaseprocess: 123,
purchasetimeframe: 123,
pursuitdecision: true,
qualificationcomments: '<string>',
quotecomments: '<string>',
resolvefeedback: true,
salesstage: 123,
salesstagecode: 123,
schedulefollowup_prospect: '<string>',
schedulefollowup_qualify: '<string>',
scheduleproposalmeeting: '<string>',
sendthankyounote: true,
skippricecalculation: 123,
slaid: {},
stageid: '<string>',
statecode: 123,
statuscode: 123,
stepid: '<string>',
stepname: '<string>',
teamsfollowed: 123,
timeline: 123,
timezoneruleversionnumber: 123,
totalamount: 123,
totalamountlessfreight: 123,
totaldiscountamount: 123,
totallineitemamount: 123,
totallineitemdiscountamount: 123,
totaltax: 123,
transactioncurrencyid: {},
traversedpath: '<string>',
utcconversiontimezonecode: 123
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY', 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_OPPORTUNITY",
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_OPPORTUNITY',
'parameters' => [
'customerid' => [
],
'name' => '<string>',
'entityId' => '<string>',
'actualclosedate' => '<string>',
'actualvalue' => 123,
'budgetamount' => 123,
'budgetstatus' => 123,
'campaignid' => [
],
'captureproposalfeedback' => true,
'closeprobability' => 123,
'completefinalproposal' => true,
'completeinternalreview' => true,
'confirminterest' => true,
'currentsituation' => '<string>',
'customeridtype' => [
],
'customerneed' => '<string>',
'customerpainpoints' => '<string>',
'decisionmaker' => true,
'description' => '<string>',
'developproposal' => true,
'discountamount' => 123,
'discountpercentage' => 123,
'emailaddress' => '<string>',
'estimatedclosedate' => '<string>',
'estimatedvalue' => 123,
'evaluatefit' => true,
'filedebrief' => true,
'finaldecisiondate' => '<string>',
'freightamount' => 123,
'identifycompetitors' => true,
'identifycustomercontacts' => true,
'identifypursuitteam' => true,
'initialcommunication' => 123,
'isrevenuesystemcalculated' => true,
'lastonholdtime' => '<string>',
'msdyn_forecastcategory' => 123,
'msdyn_gdproptout' => true,
'msdyn_opportunitygrade' => 123,
'msdyn_opportunitykpiid' => [
],
'msdyn_opportunityscore' => 123,
'msdyn_opportunityscoretrend' => 123,
'msdyn_ordertype' => 123,
'msdyn_predictivescoreid' => [
],
'msdyn_scorehistory' => '<string>',
'msdyn_scorereasons' => '<string>',
'msdyn_segmentid' => [
],
'msdyn_similaropportunities' => '<string>',
'msdyn_workordertype' => [
],
'need' => 123,
'opportunityratingcode' => 123,
'originatingleadid' => [
],
'ownerid' => [
],
'owneridtype' => [
],
'parentaccountid' => [
],
'parentcontactid' => [
],
'participatesinworkflow' => true,
'presentfinalproposal' => true,
'presentproposal' => true,
'pricelevelid' => [
],
'pricingerrorcode' => 123,
'prioritycode' => 123,
'processid' => '<string>',
'proposedsolution' => '<string>',
'purchaseprocess' => 123,
'purchasetimeframe' => 123,
'pursuitdecision' => true,
'qualificationcomments' => '<string>',
'quotecomments' => '<string>',
'resolvefeedback' => true,
'salesstage' => 123,
'salesstagecode' => 123,
'schedulefollowup_prospect' => '<string>',
'schedulefollowup_qualify' => '<string>',
'scheduleproposalmeeting' => '<string>',
'sendthankyounote' => true,
'skippricecalculation' => 123,
'slaid' => [
],
'stageid' => '<string>',
'statecode' => 123,
'statuscode' => 123,
'stepid' => '<string>',
'stepname' => '<string>',
'teamsfollowed' => 123,
'timeline' => 123,
'timezoneruleversionnumber' => 123,
'totalamount' => 123,
'totalamountlessfreight' => 123,
'totaldiscountamount' => 123,
'totallineitemamount' => 123,
'totallineitemdiscountamount' => 123,
'totaltax' => 123,
'transactioncurrencyid' => [
],
'traversedpath' => '<string>',
'utcconversiontimezonecode' => 123
]
]),
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_OPPORTUNITY"
payload := strings.NewReader("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\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_OPPORTUNITY")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_OPPORTUNITY")
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_OPPORTUNITY\",\n \"parameters\": {\n \"customerid\": {},\n \"name\": \"<string>\",\n \"entityId\": \"<string>\",\n \"actualclosedate\": \"<string>\",\n \"actualvalue\": 123,\n \"budgetamount\": 123,\n \"budgetstatus\": 123,\n \"campaignid\": {},\n \"captureproposalfeedback\": true,\n \"closeprobability\": 123,\n \"completefinalproposal\": true,\n \"completeinternalreview\": true,\n \"confirminterest\": true,\n \"currentsituation\": \"<string>\",\n \"customeridtype\": {},\n \"customerneed\": \"<string>\",\n \"customerpainpoints\": \"<string>\",\n \"decisionmaker\": true,\n \"description\": \"<string>\",\n \"developproposal\": true,\n \"discountamount\": 123,\n \"discountpercentage\": 123,\n \"emailaddress\": \"<string>\",\n \"estimatedclosedate\": \"<string>\",\n \"estimatedvalue\": 123,\n \"evaluatefit\": true,\n \"filedebrief\": true,\n \"finaldecisiondate\": \"<string>\",\n \"freightamount\": 123,\n \"identifycompetitors\": true,\n \"identifycustomercontacts\": true,\n \"identifypursuitteam\": true,\n \"initialcommunication\": 123,\n \"isrevenuesystemcalculated\": true,\n \"lastonholdtime\": \"<string>\",\n \"msdyn_forecastcategory\": 123,\n \"msdyn_gdproptout\": true,\n \"msdyn_opportunitygrade\": 123,\n \"msdyn_opportunitykpiid\": {},\n \"msdyn_opportunityscore\": 123,\n \"msdyn_opportunityscoretrend\": 123,\n \"msdyn_ordertype\": 123,\n \"msdyn_predictivescoreid\": {},\n \"msdyn_scorehistory\": \"<string>\",\n \"msdyn_scorereasons\": \"<string>\",\n \"msdyn_segmentid\": {},\n \"msdyn_similaropportunities\": \"<string>\",\n \"msdyn_workordertype\": {},\n \"need\": 123,\n \"opportunityratingcode\": 123,\n \"originatingleadid\": {},\n \"ownerid\": {},\n \"owneridtype\": {},\n \"parentaccountid\": {},\n \"parentcontactid\": {},\n \"participatesinworkflow\": true,\n \"presentfinalproposal\": true,\n \"presentproposal\": true,\n \"pricelevelid\": {},\n \"pricingerrorcode\": 123,\n \"prioritycode\": 123,\n \"processid\": \"<string>\",\n \"proposedsolution\": \"<string>\",\n \"purchaseprocess\": 123,\n \"purchasetimeframe\": 123,\n \"pursuitdecision\": true,\n \"qualificationcomments\": \"<string>\",\n \"quotecomments\": \"<string>\",\n \"resolvefeedback\": true,\n \"salesstage\": 123,\n \"salesstagecode\": 123,\n \"schedulefollowup_prospect\": \"<string>\",\n \"schedulefollowup_qualify\": \"<string>\",\n \"scheduleproposalmeeting\": \"<string>\",\n \"sendthankyounote\": true,\n \"skippricecalculation\": 123,\n \"slaid\": {},\n \"stageid\": \"<string>\",\n \"statecode\": 123,\n \"statuscode\": 123,\n \"stepid\": \"<string>\",\n \"stepname\": \"<string>\",\n \"teamsfollowed\": 123,\n \"timeline\": 123,\n \"timezoneruleversionnumber\": 123,\n \"totalamount\": 123,\n \"totalamountlessfreight\": 123,\n \"totaldiscountamount\": 123,\n \"totallineitemamount\": 123,\n \"totallineitemdiscountamount\": 123,\n \"totaltax\": 123,\n \"transactioncurrencyid\": {},\n \"traversedpath\": \"<string>\",\n \"utcconversiontimezonecode\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"@odata.context": "https://example.crm.dynamics.com/api/data/v9.0/$metadata#opportunities/$entity",
"@odata.etag": "W/\"36693530\"",
"totalamount_base": 0,
"pursuitdecision": false,
"totallineitemdiscountamount": 0,
"totalamount": 0,
"identifypursuitteam": false,
"statuscode": 1,
"totaldiscountamount_base": 0,
"_createdby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"name": "Docs Example Opportunity",
"_owninguser_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"totaltax": 0,
"_modifiedby_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"msdyn_ordertype": 192350000,
"identifycustomercontacts": false,
"presentproposal": false,
"captureproposalfeedback": false,
"salesstagecode": 1,
"msdyn_forecastcategory": 100000001,
"sendthankyounote": false,
"_parentaccountid_value": "9310e1a3-f6e4-4e5a-a927-b07bbf75978d",
"totalamountlessfreight": 0,
"_ownerid_value": "746951b2-9038-43b3-ac28-16366bf692e3",
"developproposal": false,
"description": "Updated",
"skippricecalculation": 0,
"modifiedon": "2026-10-16T06:21:07Z",
"totaltax_base": 0,
"opportunityratingcode": 2,
"totallineitemdiscountamount_base": 0,
"stepname": "1-Qualify",
"identifycompetitors": false,
"msdyn_gdproptout": false,
"totallineitemamount": 0,
"_owningbusinessunit_value": "a0b74d6c-90de-4c4f-a0e0-bf1888180f2d",
"decisionmaker": false,
"opportunityid": "13f7ed41-d0e2-4711-ad69-8dd33a6e8143",
"totaldiscountamount": 0,
"evaluatefit": false,
"presentfinalproposal": false,
"statecode": 0,
"isrevenuesystemcalculated": false,
"participatesinworkflow": false,
"exchangerate": 1,
"filedebrief": false,
"totalamountlessfreight_base": 0,
"_customerid_value": "9310e1a3-f6e4-4e5a-a927-b07bbf75978d",
"prioritycode": 1,
"_transactioncurrencyid_value": "68f389b0-577b-4f48-aee5-92544c03e41d",
"totallineitemamount_base": 0,
"confirminterest": false,
"completeinternalreview": false,
"completefinalproposal": false,
"resolvefeedback": false,
"createdon": "2026-10-16T06:20:01Z",
"pricingerrorcode": 0,
"versionnumber": 36693530
}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.