GET /api/v2/corporate-questions/:id
Show a corporate question

Params

Param name Description
id
required

corporate question ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.


POST /api/v2/corporate-questions
Create a corporate question

Params

Param name Description
data
required

corporate question Information

Validations:

  • Must be a Hash

data[type]
required

Validations:

data[attributes]
required

Validations:

  • Must be a Hash

data[attributes][body]
required

The title of the question

Validations:

  • Must be a String

data[relationships]
required

Validations:

  • Must be a Hash

data[relationships][entity]
required

Validations:

  • Must be a Hash

data[relationships][entity][data]
required

Validations:

  • Must be a Hash

data[relationships][entity][data][type]
required

`entities`

Validations:

  • Must be a String

data[relationships][entity][data][id]
required

Entity ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.


PATCH /api/v2/corporate-questions/:id
Update the corporate question

Params

Param name Description
id
required

corporate question ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.

data
required

corporate question Information

Validations:

  • Must be a Hash

data[type]
optional

Validations:

data[attributes]
optional

Validations:

  • Must be a Hash

data[attributes][body]
optional

The title of the question

Validations:

  • Must be a String

data[relationships]
optional

Validations:

  • Must be a Hash

data[relationships][entity]
optional

Validations:

  • Must be a Hash

data[relationships][entity][data]
optional

Validations:

  • Must be a Hash

data[relationships][entity][data][type]
optional

`entities`

Validations:

  • Must be a String

data[relationships][entity][data][id]
optional

Entity ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.


DELETE /apiv2/corporate-questions/:id
Delete a corporate question

Params

Param name Description
id
required

corporate question ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.