addMeasUnity
This method allows adding/editing:
- Measurement unit data
To insert each of these items, it is necessary to follow the standard documented below:
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\admin\AddMeasUnityRequestType.java |
| Return | web\wwwroot\ws\java\admin\AddMeasUnityResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDMEASUNITY | X | Measurement unit ID # |
| NMMEASUNITY | X | Measurement unit name |
| CDISOSYSTEM | Code of the SoftExpert Suite component which it will be associated with (separated by ";" in case there is more than one component to be associated). Example: 109;107. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:addMeasUnity>
<!--You may enter the following 3 items in any order-->
<urn:IDMEASUNITY>?</urn:IDMEASUNITY>
<urn:NMMEASUNITY>?</urn:NMMEASUNITY>
<urn:CDISOSYSTEM>?</urn:CDISOSYSTEM>
</urn:addMeasUnity>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| return | SUCCESS: a measurement unit is created; FAILURE: Message regarding the error that occurred; |