Returns a list of forms from the repository.
If the name or object ID of a printer is specified, only the forms used by the printer are listed.
If the object ID of the printer is specified, the parameter PrinterName is ignored.
Syntax
Rep_GetForms(string sessionId,string systemName, string usedByPrinterId,string usedByPrinterName, string printerType,out string xmlResult)
Parameter | Description |
---|---|
sessionId | Valid session identifier (SessionId) |
systemName | SystemOId of the system |
usedByPrinterID | Optional: PrinterOID |
usedByPrinterName | Optional: PrinterName is only used, when PrinterOID is not set |
printerType | Optional: required if usedByPrinterID is set. Possible values are "OEP" for email printer, "OP" for online printer Possible values are "OEP" for email printer, "OP" for online printer |
xmlResult | Forms list serialized as MwsFolderContent XML, or MwsError in the event of an error |
Return Value
Value | Description |
---|---|
0 | OK |
<>0 |
Error See Error Codes. |