Loading...
 
Comment

Table of contents



A comment can be attached to many entities of B-Fabric (see parentclass below).

Attributes

  • Id: set id of comment for an update
  • attachment: base64 and name of an optional attachment
  • Internal: if set to TRUE the comment is internal
  • Parentclassname: see discriminator
  • parentid: id of parententity (see parentclassname)
  • Discriminator:
discriminator parentclassname remark
ANNOTATION_COMMENT
CONSUMABLE_NOTE
CONTRACT_NOTE
DATASET_COMMENT
INSTRUMENT_NOTE
INSTRUMENT_RESERVATION_NOTE
OFFER_COMMENT
ORDER_COMMENT
ORDER_NOTE
ORDER_RESULT
PLATE_COMMENT
PROJECT_COMMENT
PURCHASE_NOTE
RUN_COMMENT
SAMPLE_COMMENT
SAMPLE_PREPARATION
PROTOCOL_NOTE
SERVICE_NOTE
SERVICEAREA_NOTE
SERVICETYPE_NOTE
WORKFLOW_STEP_COMMENT
WORKUNIT_COMMENT

  • sendmail: set to TRUE to send a notification depending on discriminator usually to container members if comment is in a container
  • subject: subject of comment
  • text: text for comment
  • customattributes: currently not used

Soap XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.server.webservice.bfabric.org/"> <soapenv:Header/> <soapenv:Body> <end:save> <parameters> <login>?</login> <password>?</password> <!--Zero or more repetitions:--> <comment> <!--Zero or more repetitions:--> <customattribute> <name>?</name> <!--Optional:--> <type>?</type> <value>?</value> </customattribute> <!--Optional:--> <id>?</id> <!--Zero or more repetitions:--> <attachment> <base64>?</base64> <name>?</name> </attachment> <discriminator>?</discriminator> <internal>?</internal> <parentclassname>?</parentclassname> <parentid>?</parentid> <sendmail>?</sendmail> <!--Optional:--> <subject>?</subject> <!--Optional:--> <text>?</text> </comment> </parameters> </end:save> </soapenv:Body> </soapenv:Envelope>


Created by schmidt. Last Modification: Friday February 2, 2024 13:32:30 CET by tuerker.