GET {who}/messages/{messageId}/forms?language={language}
Gets all forms related to the given message.
Request Information
Parameters
Name | Description | Additional 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 36" } }, "_embedded": { "sample string 36": [ { "FormId": 1, "Type": "sample string 55", "FormData": "sample string 29", "DataFormatId": "sample string 2", "DataFormatVersion": 5, "ValidationStatus": "sample string 15", "Name": "sample string 15", "SigningLocked": true, "SignedByDefault": true }, { "FormId": 1, "Type": "sample string 55", "FormData": "sample string 29", "DataFormatId": "sample string 2", "DataFormatVersion": 5, "ValidationStatus": "sample string 15", "Name": "sample string 15", "SigningLocked": true, "SignedByDefault": true }, { "FormId": 1, "Type": "sample string 55", "FormData": "sample string 29", "DataFormatId": "sample string 2", "DataFormatVersion": 5, "ValidationStatus": "sample string 15", "Name": "sample string 15", "SigningLocked": true, "SignedByDefault": true } ] } }