Update Survey Constant partially
  • 28 Aug 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Survey Constant partially

  • Dark
    Light
  • PDF

Article summary

Patch
/survey-constants/{id}/

Operation is used to update specific fields in existing Survey Constant. Available from product version 2024.3 and for admin users only.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Survey Constant to update

Body parameters

Survey Constant properties and values to be updated

object

SurveyConstant

groupname
string

Group name of constant

numValue
integer

Numeric value

orderno
integer

Order number

txt
string

Human readable textual representation

txtValue
string

Text value

Responses
200

Object was updated successfully

object

SurveyConstant

groupname
string

Group name of constant

id
integer

Unique id of constant

listUrl
string (url)

Url to fetch all contants from this group

numValue
integer

Numeric value

orderno
integer

Order number

txt
string

Human readable textual representation

txtValue
string

Text value

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error


Was this article helpful?