ListAttachments
This service lists all attachments associated with a record.
URL (general format)
SERVER:PORT/lawson-ios/action/ListAttachments?
<parameter=key>
Required Parameters
Parameter Key | Value Type | Parameter Description |
---|---|---|
dataArea | Alphanumeric string | The data area where the attachment is stored. |
filename | Alphanumeric string | The file name where the attachment is stored. |
indexName | Alphanumeric string | The index used to find the attachment. |
attachmentCategory | C or U only (comment or URL) | The category of the attachment. |
Kxx | Alphanumeric string | The keys of the attachment. Individually specify using increasing numbers, K1=XX K2=YY K3=ZZ |
Optional Parameters
Parameter Key | Value Type | Parameter Description |
---|---|---|
attachmentType | Alphanumeric string | User defined attachment type. |
attachmentCategory | C or U only (comment or URL) | The category of the attachment. |
maxRecordCount | Integer | Maximum number of attachments to be listed. Minimum length of strings is 1, maximum length of strings is 500. Default value is 500.String to filter jobs. Minimum length for strings is 0 and the maximum is 39. |
enableAddNode | Boolean | If TRUE, the ADDATTACHMENT node will be included to the response. This node contains information, for example, required parameters, that can be used when a new attachment is added. Default value is FALSE. |
objName | Alphanumeric string | Title of the comment area. |
Example URL
SERVER:PORT/lawson-ios/action/ReadAttachment?dataArea=PROD&fileName=EMPLOYEE&indexName=INDEX1&attachmentCategory=C&K1=XX&K2=YY&K3=ZZ
Deprecated CGI information
ListAttachments replaces some functionality of the CGI: getattachrec.exe
CGI URL: SERVER:PORT/cgi-lawson/getattachrec.exe?_PDL=PROD&_FN=EMPLOYEE&_IN=INDEX1&_ATYP=C&K1=XX&K2=YY&K3=ZZ&_KS=KY
CGI parameters | ListAttachments equivalents |
---|---|
_PDL | dataArea |
_FN | filename |
_IN | indexName |
_ATYP | attachmentCategory |
Kxx | Kxx |