Details
-
Type:
Bug
-
Status:
Closed
(View Workflow)
-
Priority:
Normal
-
Resolution: Fixed
-
Component/s: NEP
-
Customer:OMAN-Tel
Description
the 2 requests:
1. Update Site meta info.
2. Update Site Status
the response of these request are coming without error code and error message even if its success we don't see the word success in the response as shown below :
Please support to add the error codes and error messages for these 2 requests
wsdl: http://10.164.144.180:8184/NEP_API/services/siteinventoryservice?wsdl
Update Site Status:
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.nep.mobinets.com/">
<soapenv:Header/>
<soapenv:Body>
<api:updateSiteStatus>
<!-Optional:->
<siteStatusParams>
<!-Optional:->
<id>test1234</id>
<!-Optional:->
<statusName>Not Discovered</statusName>
</siteStatusParams>
<!-Optional:->
<session>
<!-Optional:->
<sessionId>?</sessionId>
<!-Optional:->
<username>global-admin</username>
<!-Optional:->
<version>Actual Network</version>
</session>
</api:updateSiteStatus>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-bc5a2aa1-e47a-4ef8-b745-0a014db087e2">
<wsse:Username>nep-api-key</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mobinets@2017</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<soap:Body>
<ns3:updateSiteStatusResponse xmlns:co="http://model.api.nep.mobinets.com" xmlns:ns3="http://api.nep.mobinets.com/"/>
</soap:Body>
</soap:Envelope>
Dear @Salem Dannawi,
The requested enhancements have been made as shown below:
1. Update Site Status API
2. Update Site Meta Info API
Please note that I have attached the WSDL file and request, response examples. and ping me on teams if you have any questions.
Patch is needed: 3.7.0.1289
Regards,
Mustapha