SOLVED

Workspaces and Partitions setup with API

Go to solution
Daryl_Anderman
Level 1

Workspaces and Partitions setup with API

We are setting up Workspaces and Partitions and have the feature enabled on our instance.  We currently have API code that does not use the workspaceName or partitionName parameters.  Everything is working as it should.

 

My questions are:

1. Once we create a new Partition, will our code have to specify a partitionName, or will it interact with the Default Partition if it's not specified? 

2. Once we create a new Workspace, will our code have to specify a workspaceName, or will it interact with the Default Workspace if that's not specified?

1 ACCEPTED SOLUTION

Accepted Solutions
Oz_Platero
Level 6

Re: Workspaces and Partitions setup with API

Hello @Daryl_Anderman 

 

1. Once we create a new Partition, will our code have to specify a partitionName, or will it interact with the Default Partition if it's not specified? 

Lets look at some example.  Here we will look at API calls; you will want to specify the workspace/partition where you can.

Example API usage; notice in optional parameters you specify partitionName.

https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads...

Munchkin example notice in the screenshot there is a box for that info:

Adding Munchkin to your site. NOTICE (workspace/partition) dropdown 

 

2. Once we create a new Workspace, will our code have to specify a workspaceName, or will it interact with the Default Workspace if that's not specified?

Yes.  You will want to be specific, but if left out it will interact with default.

View solution in original post

1 REPLY 1
Oz_Platero
Level 6

Re: Workspaces and Partitions setup with API

Hello @Daryl_Anderman 

 

1. Once we create a new Partition, will our code have to specify a partitionName, or will it interact with the Default Partition if it's not specified? 

Lets look at some example.  Here we will look at API calls; you will want to specify the workspace/partition where you can.

Example API usage; notice in optional parameters you specify partitionName.

https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads...

Munchkin example notice in the screenshot there is a box for that info:

Adding Munchkin to your site. NOTICE (workspace/partition) dropdown 

 

2. Once we create a new Workspace, will our code have to specify a workspaceName, or will it interact with the Default Workspace if that's not specified?

Yes.  You will want to be specific, but if left out it will interact with default.