import_asset_status
This method allows enabling/disabling:
- Status of an asset;
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\asset\Import_asset_statusRequestType |
| Return | web\wwwroot\ws\java\asset\Import_asset_statusResponseType |
Request:
| ID # | Required | Description |
|---|---|---|
| IDOBJECT | X | Asset ID # |
| FGASSTATUS | X | Asset status; 1 - Enable; 2 - Disable. |
| RESERVE | X | Cancel asset reservation(s): 1 - Yes; 2 - No. |
| DSJUSTIFY | X | Explanation |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_asset_status>
<!--You may enter the following 4 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:fgasstatus>?</urn:fgasstatus>
<urn:reserve>?</urn:reserve>
<urn:dsjustify>?</urn:dsjustify>
</urn:import_asset_status>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |