SOLVED

Lead Activity Type ID for a specific activity type

Go to solution
Anatoli
Level 1

Lead Activity Type ID for a specific activity type

Hi all,

 

I am not sure what board is more appropriate for this question, so please move to the right board!

 

I need to find the activityTypeId for the activityTypeName called "Change Program Member Data". We don't have any data for this type of activity but all activity types have an ID for auditing purposes. Please point me to where I can find this information.

 

These are example activityTypeName's with corresponding activityTypeId's for reference

"Add to List", 24

"Change Data Value", 13

"New Lead", 12

 

Thank you in advance. 

 

 

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Lead Activity Type ID for a specific activity type

It's 123!

You can double check the activity type id in your instance using the Describe activity type GET API call. Below is the entire JSON for the "Change Program Member Data" activity for your reference:

{
	"id": 123,
	"name": "Change Program Member Data",
	"description": "Change Program Member Data",
	"primaryAttribute": {
		"name": "Program ID",
		"dataType": "integer"
	},
	"attributes": [{
		"name": "Attribute Display Name",
		"dataType": "string"
	}, {
		"name": "Attribute Name",
		"dataType": "integer"
	}, {
		"name": "New Value",
		"dataType": "mixed"
	}, {
		"name": "Old Value",
		"dataType": "mixed"
	}, {
		"name": "Reason",
		"dataType": "string"
	}, {
		"name": "Source",
		"dataType": "string"
	}]
}

Hope this is helpful!

 

View solution in original post

1 REPLY 1
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Lead Activity Type ID for a specific activity type

It's 123!

You can double check the activity type id in your instance using the Describe activity type GET API call. Below is the entire JSON for the "Change Program Member Data" activity for your reference:

{
	"id": 123,
	"name": "Change Program Member Data",
	"description": "Change Program Member Data",
	"primaryAttribute": {
		"name": "Program ID",
		"dataType": "integer"
	},
	"attributes": [{
		"name": "Attribute Display Name",
		"dataType": "string"
	}, {
		"name": "Attribute Name",
		"dataType": "integer"
	}, {
		"name": "New Value",
		"dataType": "mixed"
	}, {
		"name": "Old Value",
		"dataType": "mixed"
	}, {
		"name": "Reason",
		"dataType": "string"
	}, {
		"name": "Source",
		"dataType": "string"
	}]
}

Hope this is helpful!