GET {who}/messages/{messageId}/forms?language={language}

Gets all forms related to the given message.

Request Information

Parameters

NameDescriptionAdditional information
who The id of the reportee for which the message belongs. Valid values are "my", or an organization number of an organization the user can represent, or "r"<Reportee.ReporteeId>, where the identified reportee may be a person or organization.

Define this parameter in the request URI.

messageId Id of the message for which forms should be retrieved.

Define this parameter in the request URI.

language Translation of forms retrieved, valid values are: 1033 (EN), 1044 (NB) and 2068 (NN) This is an optional parameter, defaults to the user preset language.

Define this parameter in the request URI.

Response Information

Forms associated with the given message.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 40"
    }
  },
  "_embedded": {
    "sample string 32": [
      {
        "FormId": 1,
        "Type": "sample string 39",
        "FormData": "sample string 89",
        "DataFormatId": "sample string 36",
        "DataFormatVersion": 5,
        "ValidationStatus": "sample string 73",
        "Name": "sample string 1",
        "SigningLocked": true,
        "SignedByDefault": true,
        "_links": {
          "self": {
            "href": "sample string 49"
          }
        }
      },
      {
        "FormId": 1,
        "Type": "sample string 39",
        "FormData": "sample string 89",
        "DataFormatId": "sample string 36",
        "DataFormatVersion": 5,
        "ValidationStatus": "sample string 73",
        "Name": "sample string 1",
        "SigningLocked": true,
        "SignedByDefault": true,
        "_links": {
          "self": {
            "href": "sample string 49"
          }
        }
      },
      {
        "FormId": 1,
        "Type": "sample string 39",
        "FormData": "sample string 89",
        "DataFormatId": "sample string 36",
        "DataFormatVersion": 5,
        "ValidationStatus": "sample string 73",
        "Name": "sample string 1",
        "SigningLocked": true,
        "SignedByDefault": true,
        "_links": {
          "self": {
            "href": "sample string 49"
          }
        }
      }
    ]
  }
}