Post

2 followers Follow
0
Avatar

Creating a Project using a Template via API

I am creating a new Project via an API call. How do I specify to create the project with specified field values using a specified template? I've tried specifying the Template as a field name, no go.

Dan Overhultz Answered

Please sign in to leave a comment.

3 comments

1
Avatar

Hi Dan,

There's a specific API service named CreateFromTemplate for that. Check the documentation for more information.

Hope this helps,

Ophir

Ophir Kenig 1 vote
Comment actions Permalink
0
Avatar

Yup, that helped a bunch.

So what's the syntax for referring to the Template? We keep getting the 'Template TM-2664 could not be found' error. We've confirmed it exists, and the error is showing us that the API is reading the name of the Template correctly. Outside of making sure the logon ID is admin level, are there any other security requirements to give the API access to templates?

Help.

Dan Overhultz 0 votes
Comment actions Permalink
0
Avatar

Hi Dan,

You have to use the template Name, not Id. 

This is indeed uncommon for the Clarizen API which usually uses External Id for the identifier.

Hope this helps,

Ophir

Ophir Kenig 0 votes
Comment actions Permalink