code: func (client *Client) GetApplicationProcessByType(appGUID string, processType string) (Process, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetApplicationProcessRequest,
  		URIParams: map[string]string{
  			"app_guid": appGUID,
  			"type":     processType,
  		},
  	})
  	if err != nil {
  		return Process{}, nil, err
  	}
  	var process Process
  	response := cloudcontroller.Response{
  		DecodeJSONResponseInto: &process,
  	}
  
  	err = client.connection.Make(request, &response)
  	return process, response.Warnings, err
  }
docs: // GetApplicationProcessByType returns application process of specified type