Update a blueprint

PATCH {{baseUrl}}/api/v1/blueprints/:blueprint_id

To update an existing blueprint

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
name<String>
Name of the blueprint
description<String>
Description of blueprint
active<Boolean>
Active Status of blueprint
dynamicTransOwnerType<String>
Dynamic Trans Owner type
module<String>
Module of the Blueprint
departmentId<Long>
Department of the Blueprint
layoutId<Long>
Layout of Blueprint
type<String>
Type of blueprint
fieldId<Long>
Field mapped for Blueprint
criteria<list>
The criteria details for the blueprint
chartData<object>
Blueprint Chart Data
states<list>
State Details
transitions<list>
Transition Details
connections<list>
Transition Connections

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;condition&quot;:&quot;is open&quot;,&quot;fieldName&quot;:&quot;Status&quot;,&quot;value&quot;:[&quot;${OPEN}&quot;]}],&quot;pattern&quot;:&quot;(1)&quot;},&quot;departmentId&quot;:&quot;4000000007235&quot;,&quot;module&quot;:&quot;Cases&quot;,&quot;description&quot;:&quot;Automates Private Threading Handling&quot;,&quot;type&quot;:&quot;NON_CONTINUOUS&quot;,&quot;transitions&quot;:[{&quot;isAutoTransition&quot;:false,&quot;before&quot;:{&quot;accessors&quot;:{&quot;actionId&quot;:4000000007723,&quot;owners&quot;:{&quot;agentIds&quot;:[4000000009158],&quot;otherRecpts&quot;:[&quot;RECORD_OWNER&quot;],&quot;teamIds&quot;:[4000000009158]},&quot;sharedDeptAccessors&quot;:[{&quot;accessors&quot;:{&quot;agentIds&quot;:[4000000009158],&quot;teamIds&quot;:[4000000009158]},&quot;deptId&quot;:4000000009158,&quot;sharingType&quot;:&quot;READ_ONLY&quot;}]},&quot;criteriaDetails&quot;:{&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;condition&quot;:&quot;is open&quot;,&quot;fieldName&quot;:&quot;Status&quot;,&quot;value&quot;:[&quot;${OPEN}&quot;]}],&quot;pattern&quot;:&quot;(1)&quot;},&quot;actionId&quot;:4000000007723}},&quot;name&quot;:&quot;Feedbacks need to be monitored&quot;,&quot;description&quot;:&quot;Lack of instruments to repair&quot;,&quot;id&quot;:4000000007723,&quot;during&quot;:[{&quot;actionId&quot;:4000000007723,&quot;message&quot;:&quot;Add comment here&quot;},{&quot;fieldUpdates&quot;:{&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;condition&quot;:&quot;is open&quot;,&quot;fieldName&quot;:&quot;Status&quot;,&quot;value&quot;:[&quot;${OPEN}&quot;]}],&quot;pattern&quot;:&quot;(1)&quot;},&quot;fieldId&quot;:4000000009158,&quot;errorMsg&quot;:&quot;Enter a valid Priority&quot;},&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:true},{&quot;otherActions&quot;:&quot;BUG&quot;,&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:false},{&quot;otherActions&quot;:&quot;COMMENT&quot;,&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:true}],&quot;after&quot;:{&quot;fieldUpdate&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Update Sensitive fields&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;task&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Create followup task&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;customFunction&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Update Associated time entries&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;alert&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Trigger Closed Alert&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723}},&quot;autoTransitionActions&quot;:{&quot;feedback&quot;:&quot;SURVEY_ALL&quot;,&quot;reply&quot;:&quot;REPLY_ALL&quot;},&quot;isCommonTransition&quot;:false},{&quot;isAutoTransition&quot;:false,&quot;before&quot;:{&quot;accessors&quot;:{&quot;actionId&quot;:4000000007723,&quot;owners&quot;:{&quot;agentIds&quot;:[4000000009158],&quot;otherRecpts&quot;:[&quot;RECORD_OWNER&quot;],&quot;teamIds&quot;:[4000000009158]},&quot;sharedDeptAccessors&quot;:[{&quot;accessors&quot;:{&quot;agentIds&quot;:[4000000009158],&quot;teamIds&quot;:[4000000009158]},&quot;deptId&quot;:4000000009158,&quot;sharingType&quot;:&quot;READ_ONLY&quot;}]},&quot;criteriaDetails&quot;:{&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;condition&quot;:&quot;is open&quot;,&quot;fieldName&quot;:&quot;Status&quot;,&quot;value&quot;:[&quot;${OPEN}&quot;]}],&quot;pattern&quot;:&quot;(1)&quot;},&quot;actionId&quot;:4000000007723}},&quot;name&quot;:&quot;Common Handling&quot;,&quot;description&quot;:&quot;Its common transition&quot;,&quot;commonStates&quot;:[&quot;Open&quot;],&quot;id&quot;:4000000007723,&quot;during&quot;:[{&quot;actionId&quot;:4000000007723,&quot;message&quot;:&quot;Add comment here&quot;},{&quot;fieldUpdates&quot;:{&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;condition&quot;:&quot;is open&quot;,&quot;fieldName&quot;:&quot;Status&quot;,&quot;value&quot;:[&quot;${OPEN}&quot;]}],&quot;pattern&quot;:&quot;(1)&quot;},&quot;fieldId&quot;:4000000009158,&quot;errorMsg&quot;:&quot;Enter a valid Priority&quot;},&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:true},{&quot;otherActions&quot;:&quot;BUG&quot;,&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:false},{&quot;otherActions&quot;:&quot;COMMENT&quot;,&quot;actionId&quot;:4000000007723,&quot;isMandatory&quot;:true}],&quot;after&quot;:{&quot;fieldUpdate&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Update Sensitive fields&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;task&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Create followup task&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;customFunction&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Update Associated time entries&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723},&quot;alert&quot;:{&quot;ids&quot;:[{&quot;name&quot;:&quot;Trigger Closed Alert&quot;,&quot;id&quot;:4000000007723}],&quot;actionId&quot;:4000000007723}},&quot;autoTransitionActions&quot;:{&quot;feedback&quot;:&quot;SURVEY_ALL&quot;,&quot;reply&quot;:&quot;REPLY_ALL&quot;},&quot;isCommonTransition&quot;:true}],&quot;layoutId&quot;:4000000007723,&quot;states&quot;:[{&quot;timeInMins&quot;:90,&quot;escalations&quot;:[{&quot;escalationRecipients&quot;:{&quot;agentIds&quot;:[4000000009158],&quot;otherRecpts&quot;:[&quot;RECORD_OWNER&quot;]},&quot;templateId&quot;:4000000007355,&quot;escalationLevel&quot;:1,&quot;whenToEscalate&quot;:15}],&quot;transitionsOrder&quot;:[&quot;Common Handling&quot;,&quot;Feedbacks need to be monitored&quot;],&quot;businessHrId&quot;:4000000007355,&quot;name&quot;:&quot;Open&quot;,&quot;id&quot;:4000000007723,&quot;type&quot;:&quot;START&quot;},{&quot;timeInMins&quot;:30,&quot;name&quot;:&quot;Escalated&quot;,&quot;id&quot;:4000000007723,&quot;type&quot;:&quot;INTERMEDIATE&quot;},{&quot;timeInMins&quot;:30,&quot;name&quot;:&quot;Closed&quot;,&quot;id&quot;:4000000007723,&quot;type&quot;:&quot;END&quot;}],&quot;chartData&quot;:{&quot;canvasPosition&quot;:{&quot;top&quot;:-29,&quot;left&quot;:-127},&quot;connectionDetails&quot;:[{&quot;toUuid&quot;:&quot;Closed2&quot;,&quot;transName&quot;:&quot;Check3&quot;,&quot;isCommTrans&quot;:true,&quot;fromUuid&quot;:&quot;Escalated1&quot;,&quot;usedStates&quot;:[&quot;On Hold&quot;,&quot;Open&quot;],&quot;isAuto&quot;:false},{&quot;toUuid&quot;:&quot;Closed3&quot;,&quot;transName&quot;:&quot;Check3&quot;,&quot;isCommTrans&quot;:false,&quot;fromUuid&quot;:&quot;OnHold2&quot;,&quot;isAuto&quot;:false},{&quot;toUuid&quot;:&quot;OnHold3&quot;,&quot;transName&quot;:&quot;Check3&quot;,&quot;isCommTrans&quot;:false,&quot;fromUuid&quot;:&quot;Open2&quot;,&quot;isAuto&quot;:false}],&quot;stateDetails&quot;:[{&quot;lastModifiedStateName&quot;:&quot;Closed&quot;,&quot;stateName&quot;:&quot;Closed&quot;,&quot;displayName&quot;:&quot;Closed&quot;,&quot;stateId&quot;:&quot;4000000007723&quot;,&quot;position&quot;:{&quot;top&quot;:316,&quot;left&quot;:225}},{&quot;lastModifiedStateName&quot;:&quot;Escalated&quot;,&quot;stateName&quot;:&quot;Escalated&quot;,&quot;displayName&quot;:&quot;Escalated&quot;,&quot;stateId&quot;:&quot;4000000007723&quot;,&quot;position&quot;:{&quot;top&quot;:316,&quot;left&quot;:225}},{&quot;lastModifiedStateName&quot;:&quot;Open&quot;,&quot;stateName&quot;:&quot;Open&quot;,&quot;displayName&quot;:&quot;Open&quot;,&quot;stateId&quot;:&quot;4000000007723&quot;,&quot;position&quot;:{&quot;top&quot;:316,&quot;left&quot;:225}}]},&quot;name&quot;:&quot;Private Threading Handling&quot;,&quot;id&quot;:&quot;4000000007723&quot;,&quot;connections&quot;:[{&quot;fromState&quot;:{&quot;name&quot;:&quot;Open&quot;,&quot;id&quot;:4000000324027},&quot;toState&quot;:{&quot;name&quot;:&quot;Escalated&quot;,&quot;id&quot;:4000000324027},&quot;transition&quot;:[{&quot;name&quot;:&quot;Feedbacks need to be monitored&quot;,&quot;id&quot;:4000000324027}]},{&quot;fromState&quot;:{&quot;name&quot;:&quot;Escalated&quot;,&quot;id&quot;:4000000324027},&quot;toState&quot;:{&quot;name&quot;:&quot;Closed&quot;,&quot;id&quot;:4000000324027},&quot;transition&quot;:[{&quot;name&quot;:&quot;Feedbacks need to be monitored&quot;,&quot;id&quot;:4000000324027}]}],&quot;fieldId&quot;:4000000000377}