ReadAttachment

This service retrieves an attachment's data.

URL (general format)

SERVER:PORT/lawson-ios/action/ReadAttachment? <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
attachmentNbr Alphanumeric string The unique key of the attachment

Example URL

SERVER:PORT/lawson-ios/action/ReadAttachment?dataArea=PROD&fileName=EMPLOYEE&indexName=INDEX1&attachmentCategory=C&K1=XX&K2=YY&K3=ZZ&attachmentNbr=KY

Deprecated CGI information

The ReadAttachment service replaces some functionality of: 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 ReadAttachment equivalents
_PDL dataArea
_FN filename
_IN indexName
_ATYP attachmentCategory
Kxx Kxx
_AK attachmentNbr