Digital Product Release API not working as expected

RC19
Tera Expert

I am trying to create a release readiness target using the POST api details given in the link : Digital Product Release API • Australia API Reference • Docs | ServiceNow

curl I used is below:

RC19_0-1780293316975.png

but i am getting an error as below

{
    "result": {
        "error": true,
        "message": "Missing parameters: releaseAdminIds, month and year",
        "releaseTargets": [],
        "releases": [],
        "changeRequests": []
    }
}
 
There parameters are not present in the curl given by servicenow then how come it is asking for these parameters ? please help.
1 ACCEPTED SOLUTION

Bhanu29
ServiceNow Employee
  1. Use https:// (not http://) in the URL.
  2. Use the explicit versioned path to be safe: /api/sn_dpr/v1/digital_product_release/release_target.

View solution in original post

1 REPLY 1

Bhanu29
ServiceNow Employee
  1. Use https:// (not http://) in the URL.
  2. Use the explicit versioned path to be safe: /api/sn_dpr/v1/digital_product_release/release_target.