GET /api/v2/corporate-answers/:id
Show a corporate answer

Params

Param name Description
id
required

corporate answer 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-answers
Create a corporate answer

Params

Param name Description
data
required

corporate answer 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 answer

Validations:

  • Must be a String

data[relationships]
required

Validations:

  • Must be a Hash

data[relationships][corporate_question]
required

Validations:

  • Must be a Hash

data[relationships][corporate_question][data]
required

Validations:

  • Must be a Hash

data[relationships][corporate_question][data][type]
required

`corporate-question`

Validations:

  • Must be a String

data[relationships][corporate_question][data][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.


PATCH /api/v2/corporate-answers/:id
Update the corporate answer

Params

Param name Description
id
required

corporate answer 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 answer 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 answer

Validations:

  • Must be a String

data[relationships]
optional

Validations:

  • Must be a Hash

data[relationships][corporate_question]
optional

Validations:

  • Must be a Hash

data[relationships][corporate_question][data]
optional

Validations:

  • Must be a Hash

data[relationships][corporate_question][data][type]
optional

`corporate-question`

Validations:

  • Must be a String

data[relationships][corporate_question][data][id]
optional

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.


DELETE /apiv2/corporate-answers/:id
Delete a corporate answer

Params

Param name Description
id
required

corporate answer 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.