using cloud functions to deploy a vm template code example

Example 1: cloud foundry functions deploy

curl -X POST "https://<tenantid>.callidusondemand.com/CallidusPortal/services/v2/Tokenization/access_token" -H 'authorization: Basic cnJhanU6UnJhanVAMTIz' -H 'content-type: application/json' -d '{ "username": "<username>", "password": "<password>"}'

Example 2: cloud foundry functions deploy

curl -X GET https://<CDL URL>/cdl/odata.svc/getJob(fileName='0089_PIPELINE_DEV_October_2015A.txt') -H 'Content-Type: application/json' -H 'access-token: 2c277bc2-5792-482c-ad08-84d59f71f762' -H 'tenant: <tenantid>'