Skip to main content
Version: 2.2.0

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
Requestweb\wwwroot\ws\java\asset\Import_asset_statusRequestType
Returnweb\wwwroot\ws\java\asset\Import_asset_statusResponseType

Request:

ID #RequiredDescription
IDOBJECTXAsset ID #
FGASSTATUSXAsset status;
1 - Enable;
2 - Disable.
RESERVEXCancel asset reservation(s):
1 - Yes;
2 - No.
DSJUSTIFYXExplanation

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
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred