Platform Explorer / Nuxeo Platform 5.8

Operation Services.GetPoll (Get a poll)

Description

Get a poll based on its id.Returns also the poll result if the parameter 'withResult' is 'true'.
Operation id Services.GetPoll
Category Services
Label Get a poll
Requires
Since

Parameters

Name Description Type Required Default value
pollId string yes  
withResult boolean no  

Signature

Inputs void
Outputs blob

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.poll.operations.GetPoll
Contributing Component org.nuxeo.ecm.poll.operations

JSON Definition

{
  "id" : "Services.GetPoll",
  "label" : "Get a poll",
  "category" : "Services",
  "requires" : "",
  "description" : "Get a poll based on its id.Returns also the poll result if the parameter 'withResult' is 'true'.",
  "url" : "Services.GetPoll",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "pollId",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "withResult",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}