Back to Collection Items
Use ChilkatAx-win32.pkg
Procedure Test
Handle hoHttp
Boolean iSuccess
Variant vSbResponseBody
Handle hoSbResponseBody
Handle hoJResp
Integer iRespStatusCode
String sNext_field_value
String sName
Boolean iCriteria_matched
String sId
String sV_type
String sCriteria_message
Integer iPercent_partial_save
String sExecution_time
Integer j
Integer iCount_j
String sDisplay_label
String sData_type
String sColumn_name
Integer iTransition_sequence
Boolean iMandatory
String sLayouts
String sContent
Boolean iSystem_mandatory
String sV_private
Boolean iWebhook
String sJson_type
String sCrypt
String sField_label
String sTooltip
String sCreated_source
String sLayoutsName
String sLayoutsId
Boolean iField_read_only
Integer iDisplay_type
Integer iUi_type
String sValidation_rule
Boolean iRead_only
String sAssociation_details
String sQuick_sequence_number
Boolean iCustom_field
String sHipaa_compliance
Boolean iFilterable
String sContacts
String sDeals
String sAccounts
Boolean iVisible
Integer iLength
Boolean iView
Boolean iEdit
Boolean iQuick_create
Boolean iCreate
Boolean iPick_list_values_sorted_lexically
Boolean iSortable
String sExternal
String sApi_name
String sHistory_tracking
Boolean iHipaa_compliance_enabled
String sDecimal_place
Integer k
Integer iCount_k
String sPermission_type
String sField_id
String sEscalation
Boolean iIs_continuous
String sApi_name
Boolean iContinuous
String sField_label
String sName
String sColumn_name
String sField_value
String sId
String sField_name
Integer i
Integer iCount_i
String sTemp1
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
Get Create (RefClass(cComChilkatHttp)) To hoHttp
If (Not(IsComObjectCreated(hoHttp))) Begin
Send CreateComObject of hoHttp
End
// Adds the "Authorization: Bearer <access_token>" header.
Set ComAuthToken Of hoHttp To "<access_token>"
Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
Send CreateComObject of hoSbResponseBody
End
Get pvComObject of hoSbResponseBody to vSbResponseBody
Get ComQuickGetSb Of hoHttp "https://domain.com/crm/v2.1/Leads/{{record_id}}/actions/blueprint" vSbResponseBody To iSuccess
If (iSuccess = False) Begin
Get ComLastErrorText Of hoHttp To sTemp1
Showln sTemp1
Procedure_Return
End
Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
If (Not(IsComObjectCreated(hoJResp))) Begin
Send CreateComObject of hoJResp
End
Get pvComObject of hoSbResponseBody to vSbResponseBody
Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
Set ComEmitCompact Of hoJResp To False
Showln "Response Body:"
Get ComEmit Of hoJResp To sTemp1
Showln sTemp1
Get ComLastStatus Of hoHttp To iRespStatusCode
Showln "Response Status Code = " iRespStatusCode
If (iRespStatusCode >= 400) Begin
Showln "Response Header:"
Get ComLastHeader Of hoHttp To sTemp1
Showln sTemp1
Showln "Failed."
Procedure_Return
End
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "blueprint": {
// "process_info": {
// "field_id": "738964000000000575",
// "escalation": null,
// "is_continuous": false,
// "api_name": "Lead_Status",
// "continuous": false,
// "field_label": "Lead Status",
// "name": "Lead nurturing process",
// "column_name": "STATUS",
// "field_value": "-None-",
// "id": "738964000000293572",
// "field_name": "Lead Status"
// },
// "transitions": [
// {
// "next_transitions": [
// ],
// "data": {},
// "next_field_value": "Not Contacted",
// "name": "Gather details",
// "criteria_matched": true,
// "id": "738964000000293590",
// "fields": [
// {
// "display_label": "message",
// "data_type": "message",
// "_type": "messages",
// "column_name": null,
// "id": "0",
// "transition_sequence": 3,
// "mandatory": false,
// "layouts": null,
// "content": "Gather basic details about Lead that you're trying to establish\ncommunication with."
// },
// {
// "system_mandatory": false,
// "private": null,
// "webhook": true,
// "json_type": "string",
// "crypt": null,
// "field_label": "Email",
// "tooltip": null,
// "created_source": "default",
// "layouts": {
// "name": "Standard",
// "id": "738964000000095055"
// },
// "field_read_only": false,
// "content": null,
// "display_label": "Email",
// "display_type": -1,
// "ui_type": 25,
// "validation_rule": null,
// "read_only": false,
// "association_details": null,
// "quick_sequence_number": "4",
// "multi_module_lookup": {},
// "currency": {},
// "id": "738964000000000563",
// "custom_field": false,
// "lookup": {},
// "hipaa_compliance": null,
// "filterable": true,
// "convert_mapping": {
// "Contacts": "Email",
// "Deals": null,
// "Accounts": null
// },
// "visible": false,
// "profiles": [
// {
// "permission_type": "read_write",
// "name": "Administrator",
// "id": "738964000000015972"
// },
// {
// "permission_type": "read_write",
// "name": "Standard",
// "id": "738964000000015975"
// },
// {
// "permission_type": "read_write",
// "name": "Sample",
// "id": "738964000001348001"
// }
// ],
// "length": 100,
// "column_name": "EMAIL",
// "_type": "fields",
// "view_type": {
// "view": true,
// "edit": true,
// "quick_create": true,
// "create": true
// },
// "pick_list_values_sorted_lexically": false,
// "sortable": true,
// "transition_sequence": 4,
// "external": null,
// "api_name": "Email",
// "unique": {},
// "history_tracking": null,
// "data_type": "email",
// "formula": {},
// "hipaa_compliance_enabled": false,
// "decimal_place": null,
// "multiselectlookup": {},
// "pick_list_values": [
// ],
// "auto_number": {}
// },
// {
// "system_mandatory": false,
// "private": null,
// "webhook": true,
// "json_type": "string",
// "crypt": null,
// "field_label": "Phone",
// "tooltip": null,
// "created_source": "default",
// "layouts": {
// "name": "Standard",
// "id": "738964000000095055"
// },
// "field_read_only": false,
// "content": null,
// "display_label": "Phone",
// "display_type": -1,
// "ui_type": 33,
// "validation_rule": null,
// "read_only": false,
// "association_details": null,
// "quick_sequence_number": "5",
// "multi_module_lookup": {},
// "currency": {},
// "id": "738964000000000565",
// "custom_field": false,
// "lookup": {},
// "hipaa_compliance": null,
// "filterable": true,
// "convert_mapping": {
// "Contacts": "Phone",
// "Deals": null,
// "Accounts": "Phone"
// },
// "visible": false,
// "profiles": [
// {
// "permission_type": "read_write",
// "name": "Administrator",
// "id": "738964000000015972"
// },
// {
// "permission_type": "read_write",
// "name": "Standard",
// "id": "738964000000015975"
// },
// {
// "permission_type": "read_write",
// "name": "Sample",
// "id": "738964000001348001"
// }
// ],
// "length": 30,
// "column_name": "PHONE",
// "_type": "fields",
// "view_type": {
// "view": true,
// "edit": true,
// "quick_create": true,
// "create": true
// },
// "pick_list_values_sorted_lexically": false,
// "sortable": true,
// "transition_sequence": 5,
// "external": null,
// "api_name": "Phone",
// "unique": {},
// "history_tracking": null,
// "data_type": "phone",
// "formula": {},
// "hipaa_compliance_enabled": false,
// "decimal_place": null,
// "multiselectlookup": {},
// "pick_list_values": [
// ],
// "auto_number": {}
// },
// {
// "system_mandatory": false,
// "private": null,
// "webhook": true,
// "json_type": "string",
// "crypt": null,
// "field_label": "City",
// "tooltip": null,
// "created_source": "default",
// "layouts": {
// "name": "Standard",
// "id": "738964000000095055"
// },
// "field_read_only": false,
// "content": null,
// "display_label": "City",
// "display_type": -1,
// "ui_type": 1,
// "validation_rule": null,
// "read_only": false,
// "association_details": null,
// "multi_module_lookup": {},
// "currency": {},
// "id": "738964000000000605",
// "custom_field": false,
// "lookup": {},
// "hipaa_compliance": null,
// "filterable": true,
// "convert_mapping": {
// "Contacts": "Mailing_City",
// "Deals": null,
// "Accounts": "Billing_City"
// },
// "visible": false,
// "profiles": [
// {
// "permission_type": "read_write",
// "name": "Administrator",
// "id": "738964000000015972"
// },
// {
// "permission_type": "read_write",
// "name": "Standard",
// "id": "738964000000015975"
// },
// {
// "permission_type": "read_write",
// "name": "Sample",
// "id": "738964000001348001"
// }
// ],
// "length": 100,
// "column_name": "CITY",
// "_type": "fields",
// "view_type": {
// "view": true,
// "edit": true,
// "quick_create": false,
// "create": true
// },
// "pick_list_values_sorted_lexically": false,
// "sortable": true,
// "transition_sequence": 6,
// "external": null,
// "api_name": "City",
// "unique": {},
// "history_tracking": null,
// "data_type": "text",
// "formula": {},
// "hipaa_compliance_enabled": false,
// "decimal_place": null,
// "multiselectlookup": {},
// "pick_list_values": [
// ],
// "auto_number": {}
// }
// ],
// "type": "manual",
// "criteria_message": null,
// "percent_partial_save": 0,
// "execution_time": null
// }
// ]
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
Get ComStringOf Of hoJResp "blueprint.process_info.field_id" To sField_id
Get ComStringOf Of hoJResp "blueprint.process_info.escalation" To sEscalation
Get ComBoolOf Of hoJResp "blueprint.process_info.is_continuous" To iIs_continuous
Get ComStringOf Of hoJResp "blueprint.process_info.api_name" To sApi_name
Get ComBoolOf Of hoJResp "blueprint.process_info.continuous" To iContinuous
Get ComStringOf Of hoJResp "blueprint.process_info.field_label" To sField_label
Get ComStringOf Of hoJResp "blueprint.process_info.name" To sName
Get ComStringOf Of hoJResp "blueprint.process_info.column_name" To sColumn_name
Get ComStringOf Of hoJResp "blueprint.process_info.field_value" To sField_value
Get ComStringOf Of hoJResp "blueprint.process_info.id" To sId
Get ComStringOf Of hoJResp "blueprint.process_info.field_name" To sField_name
Move 0 To i
Get ComSizeOfArray Of hoJResp "blueprint.transitions" To iCount_i
While (i < iCount_i)
Set ComI Of hoJResp To i
Get ComStringOf Of hoJResp "blueprint.transitions[i].next_field_value" To sNext_field_value
Get ComStringOf Of hoJResp "blueprint.transitions[i].name" To sName
Get ComBoolOf Of hoJResp "blueprint.transitions[i].criteria_matched" To iCriteria_matched
Get ComStringOf Of hoJResp "blueprint.transitions[i].id" To sId
Get ComStringOf Of hoJResp "blueprint.transitions[i].type" To sV_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].criteria_message" To sCriteria_message
Get ComIntOf Of hoJResp "blueprint.transitions[i].percent_partial_save" To iPercent_partial_save
Get ComStringOf Of hoJResp "blueprint.transitions[i].execution_time" To sExecution_time
Move 0 To j
Get ComSizeOfArray Of hoJResp "blueprint.transitions[i].next_transitions" To iCount_j
While (j < iCount_j)
Set ComJ Of hoJResp To j
Move (j + 1) To j
Loop
Move 0 To j
Get ComSizeOfArray Of hoJResp "blueprint.transitions[i].fields" To iCount_j
While (j < iCount_j)
Set ComJ Of hoJResp To j
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].display_label" To sDisplay_label
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].data_type" To sData_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j]._type" To sV_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].column_name" To sColumn_name
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].id" To sId
Get ComIntOf Of hoJResp "blueprint.transitions[i].fields[j].transition_sequence" To iTransition_sequence
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].mandatory" To iMandatory
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].layouts" To sLayouts
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].content" To sContent
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].system_mandatory" To iSystem_mandatory
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].private" To sV_private
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].webhook" To iWebhook
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].json_type" To sJson_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].crypt" To sCrypt
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].field_label" To sField_label
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].tooltip" To sTooltip
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].created_source" To sCreated_source
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].layouts.name" To sLayoutsName
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].layouts.id" To sLayoutsId
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].field_read_only" To iField_read_only
Get ComIntOf Of hoJResp "blueprint.transitions[i].fields[j].display_type" To iDisplay_type
Get ComIntOf Of hoJResp "blueprint.transitions[i].fields[j].ui_type" To iUi_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].validation_rule" To sValidation_rule
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].read_only" To iRead_only
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].association_details" To sAssociation_details
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].quick_sequence_number" To sQuick_sequence_number
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].custom_field" To iCustom_field
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].hipaa_compliance" To sHipaa_compliance
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].filterable" To iFilterable
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].convert_mapping.Contacts" To sContacts
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].convert_mapping.Deals" To sDeals
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].convert_mapping.Accounts" To sAccounts
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].visible" To iVisible
Get ComIntOf Of hoJResp "blueprint.transitions[i].fields[j].length" To iLength
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].view_type.view" To iView
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].view_type.edit" To iEdit
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].view_type.quick_create" To iQuick_create
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].view_type.create" To iCreate
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].pick_list_values_sorted_lexically" To iPick_list_values_sorted_lexically
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].sortable" To iSortable
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].external" To sExternal
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].api_name" To sApi_name
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].history_tracking" To sHistory_tracking
Get ComBoolOf Of hoJResp "blueprint.transitions[i].fields[j].hipaa_compliance_enabled" To iHipaa_compliance_enabled
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].decimal_place" To sDecimal_place
Move 0 To k
Get ComSizeOfArray Of hoJResp "blueprint.transitions[i].fields[j].profiles" To iCount_k
While (k < iCount_k)
Set ComK Of hoJResp To k
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].profiles[k].permission_type" To sPermission_type
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].profiles[k].name" To sName
Get ComStringOf Of hoJResp "blueprint.transitions[i].fields[j].profiles[k].id" To sId
Move (k + 1) To k
Loop
Move 0 To k
Get ComSizeOfArray Of hoJResp "blueprint.transitions[i].fields[j].pick_list_values" To iCount_k
While (k < iCount_k)
Set ComK Of hoJResp To k
Move (k + 1) To k
Loop
Move (j + 1) To j
Loop
Move (i + 1) To i
Loop
End_Procedure
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://domain.com/crm/v2.1/Leads/{{record_id}}/actions/blueprint
Postman Collection Item JSON
{
"name": "Leads",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access-token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/{{record_id}}/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"{{record_id}}",
"actions",
"blueprint"
]
},
"description": "To get the next available transitions for that record, fields available for each transitions, current value of each field, and their validation(if any)."
},
"response": [
{
"name": "SUCCESS RESPONSE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/738964000002131264/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"738964000002131264",
"actions",
"blueprint"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 12:18:23 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T13:13:19+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"blueprint\": {\n \"process_info\": {\n \"field_id\": \"738964000000000575\",\n \"escalation\": null,\n \"is_continuous\": false,\n \"api_name\": \"Lead_Status\",\n \"continuous\": false,\n \"field_label\": \"Lead Status\",\n \"name\": \"Lead nurturing process\",\n \"column_name\": \"STATUS\",\n \"field_value\": \"-None-\",\n \"id\": \"738964000000293572\",\n \"field_name\": \"Lead Status\"\n },\n \"transitions\": [\n {\n \"next_transitions\": [],\n \"data\": {},\n \"next_field_value\": \"Not Contacted\",\n \"name\": \"Gather details\",\n \"criteria_matched\": true,\n \"id\": \"738964000000293590\",\n \"fields\": [\n {\n \"display_label\": \"message\",\n \"data_type\": \"message\",\n \"_type\": \"messages\",\n \"column_name\": null,\n \"id\": \"0\",\n \"transition_sequence\": 3,\n \"mandatory\": false,\n \"layouts\": null,\n \"content\": \"Gather basic details about Lead that you're trying to establish\\ncommunication with.\"\n },\n {\n \"system_mandatory\": false,\n \"private\": null,\n \"webhook\": true,\n \"json_type\": \"string\",\n \"crypt\": null,\n \"field_label\": \"Email\",\n \"tooltip\": null,\n \"created_source\": \"default\",\n \"layouts\": {\n \"name\": \"Standard\",\n \"id\": \"738964000000095055\"\n },\n \"field_read_only\": false,\n \"content\": null,\n \"display_label\": \"Email\",\n \"display_type\": -1,\n \"ui_type\": 25,\n \"validation_rule\": null,\n \"read_only\": false,\n \"association_details\": null,\n \"quick_sequence_number\": \"4\",\n \"multi_module_lookup\": {},\n \"currency\": {},\n \"id\": \"738964000000000563\",\n \"custom_field\": false,\n \"lookup\": {},\n \"hipaa_compliance\": null,\n \"filterable\": true,\n \"convert_mapping\": {\n \"Contacts\": \"Email\",\n \"Deals\": null,\n \"Accounts\": null\n },\n \"visible\": false,\n \"profiles\": [\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Standard\",\n \"id\": \"738964000000015975\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Sample\",\n \"id\": \"738964000001348001\"\n }\n ],\n \"length\": 100,\n \"column_name\": \"EMAIL\",\n \"_type\": \"fields\",\n \"view_type\": {\n \"view\": true,\n \"edit\": true,\n \"quick_create\": true,\n \"create\": true\n },\n \"pick_list_values_sorted_lexically\": false,\n \"sortable\": true,\n \"transition_sequence\": 4,\n \"external\": null,\n \"api_name\": \"Email\",\n \"unique\": {},\n \"history_tracking\": null,\n \"data_type\": \"email\",\n \"formula\": {},\n \"hipaa_compliance_enabled\": false,\n \"decimal_place\": null,\n \"multiselectlookup\": {},\n \"pick_list_values\": [],\n \"auto_number\": {}\n },\n {\n \"system_mandatory\": false,\n \"private\": null,\n \"webhook\": true,\n \"json_type\": \"string\",\n \"crypt\": null,\n \"field_label\": \"Phone\",\n \"tooltip\": null,\n \"created_source\": \"default\",\n \"layouts\": {\n \"name\": \"Standard\",\n \"id\": \"738964000000095055\"\n },\n \"field_read_only\": false,\n \"content\": null,\n \"display_label\": \"Phone\",\n \"display_type\": -1,\n \"ui_type\": 33,\n \"validation_rule\": null,\n \"read_only\": false,\n \"association_details\": null,\n \"quick_sequence_number\": \"5\",\n \"multi_module_lookup\": {},\n \"currency\": {},\n \"id\": \"738964000000000565\",\n \"custom_field\": false,\n \"lookup\": {},\n \"hipaa_compliance\": null,\n \"filterable\": true,\n \"convert_mapping\": {\n \"Contacts\": \"Phone\",\n \"Deals\": null,\n \"Accounts\": \"Phone\"\n },\n \"visible\": false,\n \"profiles\": [\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Standard\",\n \"id\": \"738964000000015975\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Sample\",\n \"id\": \"738964000001348001\"\n }\n ],\n \"length\": 30,\n \"column_name\": \"PHONE\",\n \"_type\": \"fields\",\n \"view_type\": {\n \"view\": true,\n \"edit\": true,\n \"quick_create\": true,\n \"create\": true\n },\n \"pick_list_values_sorted_lexically\": false,\n \"sortable\": true,\n \"transition_sequence\": 5,\n \"external\": null,\n \"api_name\": \"Phone\",\n \"unique\": {},\n \"history_tracking\": null,\n \"data_type\": \"phone\",\n \"formula\": {},\n \"hipaa_compliance_enabled\": false,\n \"decimal_place\": null,\n \"multiselectlookup\": {},\n \"pick_list_values\": [],\n \"auto_number\": {}\n },\n {\n \"system_mandatory\": false,\n \"private\": null,\n \"webhook\": true,\n \"json_type\": \"string\",\n \"crypt\": null,\n \"field_label\": \"City\",\n \"tooltip\": null,\n \"created_source\": \"default\",\n \"layouts\": {\n \"name\": \"Standard\",\n \"id\": \"738964000000095055\"\n },\n \"field_read_only\": false,\n \"content\": null,\n \"display_label\": \"City\",\n \"display_type\": -1,\n \"ui_type\": 1,\n \"validation_rule\": null,\n \"read_only\": false,\n \"association_details\": null,\n \"multi_module_lookup\": {},\n \"currency\": {},\n \"id\": \"738964000000000605\",\n \"custom_field\": false,\n \"lookup\": {},\n \"hipaa_compliance\": null,\n \"filterable\": true,\n \"convert_mapping\": {\n \"Contacts\": \"Mailing_City\",\n \"Deals\": null,\n \"Accounts\": \"Billing_City\"\n },\n \"visible\": false,\n \"profiles\": [\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Standard\",\n \"id\": \"738964000000015975\"\n },\n {\n \"permission_type\": \"read_write\",\n \"name\": \"Sample\",\n \"id\": \"738964000001348001\"\n }\n ],\n \"length\": 100,\n \"column_name\": \"CITY\",\n \"_type\": \"fields\",\n \"view_type\": {\n \"view\": true,\n \"edit\": true,\n \"quick_create\": false,\n \"create\": true\n },\n \"pick_list_values_sorted_lexically\": false,\n \"sortable\": true,\n \"transition_sequence\": 6,\n \"external\": null,\n \"api_name\": \"City\",\n \"unique\": {},\n \"history_tracking\": null,\n \"data_type\": \"text\",\n \"formula\": {},\n \"hipaa_compliance_enabled\": false,\n \"decimal_place\": null,\n \"multiselectlookup\": {},\n \"pick_list_values\": [],\n \"auto_number\": {}\n }\n ],\n \"type\": \"manual\",\n \"criteria_message\": null,\n \"percent_partial_save\": 0,\n \"execution_time\": null\n }\n ]\n }\n}"
},
{
"name": "INVALID_MODULE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/738964000002131264/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"738964000002131264",
"actions",
"blueprint"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 12:18:48 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "133"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T13:13:19+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "Content-Language",
"value": "en-US"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_MODULE\",\n \"details\": {\n \"resource_path_index\": 0\n },\n \"message\": \"the module name given seems to be invalid\",\n \"status\": \"error\"\n}"
},
{
"name": "INVALID_REQUEST_METHOD",
"originalRequest": {
"method": "DELETE",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/738964000002131264/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"738964000002131264",
"actions",
"blueprint"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 12:19:27 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "124"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "X-Frame-Options",
"value": "deny"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_REQUEST_METHOD\",\n \"details\": {},\n \"message\": \"The http request method type is not a valid one\",\n \"status\": \"error\"\n}"
},
{
"name": "AUTHENTICATION_FAILURE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/738964000002131264/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"738964000002131264",
"actions",
"blueprint"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 12:19:49 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "98"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"AUTHENTICATION_FAILURE\",\n \"details\": {},\n \"message\": \"Authentication failed\",\n \"status\": \"error\"\n}"
},
{
"name": "INVALID_REQUEST",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/{{record_id}}/actions/blueprint",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"{{record_id}}",
"actions",
"blueprint"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Thu, 13 May 2021 06:53:54 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "192"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_REQUEST\",\n \"details\": {},\n \"message\": \"unable to process your request. please verify whether you have entered proper method name, parameter and parameter values.\",\n \"status\": \"error\"\n}"
}
]
}