import_assetConfSite
This method allows adding and editing:
- Data of a storage place;
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\asset\Import_assetConfSiteRequestType.java |
Return | web\wwwroot\ws\java\asset\Import_assetConfSiteResponseType.java |
Request:
Request | ||
---|---|---|
ID # | Required | Description |
IDSITE | X | Storage place ID # |
NMSITE | X | Storage place name |
FGENABLED | X | 1 - Enabled 2 - Disabled |
IDSITEOWNER | Upper level storage place |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_assetConfSite>
<!--You may enter the following 12 items in any order-->
<urn:idsite>?</urn:idsite>
<urn:nmsite>?</urn:nmsite>
<urn:fgenabled>?</urn:fgenabled>
<urn:idsiteowner>?</urn:idsiteowner>
<urn:iddepartment>?</urn:iddepartment>
<urn:nmcountry>?</urn:nmcountry>
<urn:nmstate>?</urn:nmstate>
<urn:nmcity>?</urn:nmcity>
<urn:dsaddress>?</urn:dsaddress>
<urn:nmpostalcode>?</urn:nmpostalcode>
<urn:nmcoord>?</urn:nmcoord>
<urn:dssite>?</urn:dssite>
</urn:import_assetConfSite>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |