How to specify provider to use for service_template


#1

Hi there helpful community,

I am creating a new service template by posting to /api/service_templates

When you create a “service catalog item” using webui you can specify which provider to use as per this screenshot:

How can you do this via the api request?

Thanks a lot,
Daniel


#2

I guess the easiest way is to create the service_template manually, inspect it on the API and copy/paste that into the Request to create the service_template

While the reference documentation is not really exhaustive, it is at least consistent (in my experience), therefore you probably can infer the structure of the request from the examples there and get the value from a manually created catalog item