newTrainingAttach
This method allows adding:
- An attachment to a training.
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web/wwwroot/ws/java/training/NewTrainingAttachRequestType.java |
Return | web/wwwroot/ws/java/training/NewTrainingAttachResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDTRAIN | X | Training ID # |
NMFILE | X | File name with extension |
FLCONTENT | X | Electronic file binary¹ |
NMATTACHMENT | Name of the attachment | |
DSSUMARY | Summary |
info
X¹ - Content of the electronic file converted to Base64. If you are testing the usage through the web service data source, we suggest converting a small text through a website of your choosing.
::: Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:training">
<soapenv:Header/>
<soapenv:Body>
<urn:newTrainingAttach>
<!--You may enter the following 5 items in any order-->
<urn:IDTRAIN>?</urn:IDTRAIN>
<urn:NMFILE>?</urn:NMFILE>
<urn:FLCONTENT>cid:362363491624</urn:FLCONTENT>
<urn:NMATTACHMENT>?</urn:NMATTACHMENT>
<urn:DSSUMMARY>?</urn:DSSUMMARY>
</urn:newTrainingAttach>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Message detailing the error. |