Not able to create an inherited process via Postman

I am a newbie in AzureDevOps. I am trying to create an inherited process explained as in

Here are the steps I followed,

  1. I used Postman app to push the details

  2. The parameters are{Myorg}/_apis/work/processes?organization={myOrg}&api-version=5.0-preview.2

  1. I have given the details in Basic Authorization.

  2. Add the below code in Pre-request Script

“name”: “MyNewAgileProcess”,
“parentProcessTypeId”: “adcc42ab-9882-485e-a3ed-7678f01f66bc”,
“referenceName”: “MyNewAgileProcess”,
“description”: “My new process”

I get the error as

There was an error in evaluating the Pre-request Script: SyntaxError: Unexpected token :

Is there any quick way to test whether it can be done? I mean creation of inherited process with the above steps. Let me know if i am doing anything wrong.

Not sure why you’re adding that to the pre-request scripts.

You would most likely need to add that to the body of the POST request.

Select the raw option and change the type the application/json that should then create the request header too.

Paste that same code and send off the request again.