Update a question

patch

/hcmRestApi/resources/11.13.18.05/communicateUIEmployeeEventDetails/{EventNumber}/child/questionnaires/{questionnairesUniqID}/child/sections/{sectionsUniqID}/child/questions/{questionsUniqID}/child/questionDetails/{questionDetailsUniqID}

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
  • This is the hash key of the attributes which make up the composite key for the Questions resource and used to uniquely identify an instance of Questions. The client should not generate the hash key value. Instead, the client should query on the Questions collection resource in order to navigate to a specific instance of Questions to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Questionnaires resource and used to uniquely identify an instance of Questionnaires. The client should not generate the hash key value. Instead, the client should query on the Questionnaires collection resource in order to navigate to a specific instance of Questionnaires to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Questions resource and used to uniquely identify an instance of Questions. The client should not generate the hash key value. Instead, the client should query on the Questions collection resource in order to navigate to a specific instance of Questions to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Sections resource and used to uniquely identify an instance of Sections. The client should not generate the hash key value. Instead, the client should query on the Sections collection resource in order to navigate to a specific instance of Sections to get the hash key.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Allow attachments
    Maximum Length: 30
    Default Value: false
    Indicates whether an attachment is allowed as a response to the question.
  • Title: Folder
    Surrogate identifier of the folder where the question is stored.
  • Maximum Length: 4000
    Instructions or additional information for the question.
  • Title: Latest Version
    Maximum Length: 30
    Default Value: N
    Setting that indicates if this is the latest version of the question. This is a read-only attribute.
  • Title: Owner
    Maximum Length: 64
    Person identifier of the person with the privileges to edit the question, if the question is marked as private. Required if question is marked as private.
  • Title: Privacy
    Maximum Length: 30
    Default Value: false
    Indicates whether the question is restricted for edits. A value of true indicates the question is private and the person specified as the owner can edit it.
  • Title: Question Code
    Maximum Length: 240
    Alphanumeric value that uniquely identifies a question defined for a subscriber.
  • Title: Question Text
    Maximum Length: 2000
    Text of the question being asked.
  • Title: Question Type
    Maximum Length: 30
    Default Value: TEXT
    Code identifying the type of question. Valid values are in the list commonLookupsLOV.
  • Title: Question Version Number
    Default Value: 1
    Version number of the question. New questions must have a version number of 1.
  • Title: Response Type
    Default Value: 1
    Surrogate identifier of the response type for the question.
  • Title: Status
    Maximum Length: 30
    Default Value: D
    Status of the question. Valid values are A for Active, I for Inactive and D for Draft.
  • Title: Subscriber
    Surrogate identifier for the subscriber.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : communicateUIEmployeeEventDetails-questionnaires-sections-questions-questionDetails-item-response
Type: object
Show Source
  • Title: Allow attachments
    Maximum Length: 30
    Default Value: false
    Indicates whether an attachment is allowed as a response to the question.
  • Title: Folder
    Surrogate identifier of the folder where the question is stored.
  • Maximum Length: 4000
    Instructions or additional information for the question.
  • Title: Latest Version
    Maximum Length: 30
    Default Value: N
    Setting that indicates if this is the latest version of the question. This is a read-only attribute.
  • Links
  • Title: Owner
    Maximum Length: 64
    Person identifier of the person with the privileges to edit the question, if the question is marked as private. Required if question is marked as private.
  • Title: Privacy
    Maximum Length: 30
    Default Value: false
    Indicates whether the question is restricted for edits. A value of true indicates the question is private and the person specified as the owner can edit it.
  • Title: Question Code
    Maximum Length: 240
    Alphanumeric value that uniquely identifies a question defined for a subscriber.
  • Title: Question Code
    Surrogate identifier for the question.
  • Title: Question Text
    Maximum Length: 2000
    Text of the question being asked.
  • Title: Question Type
    Maximum Length: 30
    Default Value: TEXT
    Code identifying the type of question. Valid values are in the list commonLookupsLOV.
  • Title: Question Version Number
    Default Value: 1
    Version number of the question. New questions must have a version number of 1.
  • Title: Response Type
    Default Value: 1
    Surrogate identifier of the response type for the question.
  • Title: Status
    Maximum Length: 30
    Default Value: D
    Status of the question. Valid values are A for Active, I for Inactive and D for Draft.
  • Title: Subscriber
    Surrogate identifier for the subscriber.
Back to Top