InventoryWebService


Click here for a complete list of operations.

UpdateRestrictionByCompany

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UpdateRestrictionByCompany"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UpdateRestrictionByCompany xmlns="http://tempuri.org/">
      <user>
        <FullName>string</FullName>
        <Address>string</Address>
        <NIC>string</NIC>
        <Birthday>dateTime</Birthday>
        <Password>string</Password>
        <USERCODE>string</USERCODE>
        <UserLevel>string</UserLevel>
        <RightCodes>string</RightCodes>
        <DepartmentCode>string</DepartmentCode>
        <DesignationCode>string</DesignationCode>
        <COMPCODE>string</COMPCODE>
        <AllowedLocations>string</AllowedLocations>
        <COMPANY_NAME>string</COMPANY_NAME>
        <USER_IMAGE>base64Binary</USER_IMAGE>
        <USER_MOBILENO>string</USER_MOBILENO>
        <USER_EMAIL>string</USER_EMAIL>
        <SIGN_USER_NAME>string</SIGN_USER_NAME>
        <SIGN_USER_DESIG01>string</SIGN_USER_DESIG01>
        <SIGN_USER_DESIG02>string</SIGN_USER_DESIG02>
        <SIGN_USER_DESIG03>string</SIGN_USER_DESIG03>
        <SIGN_USER_DESIG04>string</SIGN_USER_DESIG04>
        <SIGN_USER_DESIG05>string</SIGN_USER_DESIG05>
        <RightCodes_portal>string</RightCodes_portal>
        <RightCodes_LastFY>string</RightCodes_LastFY>
        <IS_NOTIFICATIONS_AVAILABLE>int</IS_NOTIFICATIONS_AVAILABLE>
        <USERLEVEL_INDEX>int</USERLEVEL_INDEX>
        <GLOBAL_COMPANY_ID>guid</GLOBAL_COMPANY_ID>
        <WEBSERVICE_URL>string</WEBSERVICE_URL>
        <START_DATE>dateTime</START_DATE>
        <END_DATE>dateTime</END_DATE>
        <GLOBAL_LINK_LOGING>string</GLOBAL_LINK_LOGING>
        <GLOBAL_LINK_LOGING_EXPIRE>dateTime</GLOBAL_LINK_LOGING_EXPIRE>
        <IS_WEB_DARK_MODE>int</IS_WEB_DARK_MODE>
        <WEB_USER_AVATAR>string</WEB_USER_AVATAR>
        <IS_USER_TRACK>int</IS_USER_TRACK>
        <IS_PWD_RESET_REQUIRED>int</IS_PWD_RESET_REQUIRED>
        <IS_ACTIVE>int</IS_ACTIVE>
        <IS_LOCKED>int</IS_LOCKED>
      </user>
      <restrict>string</restrict>
      <compcode>string</compcode>
    </UpdateRestrictionByCompany>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UpdateRestrictionByCompanyResponse xmlns="http://tempuri.org/">
      <UpdateRestrictionByCompanyResult>boolean</UpdateRestrictionByCompanyResult>
    </UpdateRestrictionByCompanyResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateRestrictionByCompany xmlns="http://tempuri.org/">
      <user>
        <FullName>string</FullName>
        <Address>string</Address>
        <NIC>string</NIC>
        <Birthday>dateTime</Birthday>
        <Password>string</Password>
        <USERCODE>string</USERCODE>
        <UserLevel>string</UserLevel>
        <RightCodes>string</RightCodes>
        <DepartmentCode>string</DepartmentCode>
        <DesignationCode>string</DesignationCode>
        <COMPCODE>string</COMPCODE>
        <AllowedLocations>string</AllowedLocations>
        <COMPANY_NAME>string</COMPANY_NAME>
        <USER_IMAGE>base64Binary</USER_IMAGE>
        <USER_MOBILENO>string</USER_MOBILENO>
        <USER_EMAIL>string</USER_EMAIL>
        <SIGN_USER_NAME>string</SIGN_USER_NAME>
        <SIGN_USER_DESIG01>string</SIGN_USER_DESIG01>
        <SIGN_USER_DESIG02>string</SIGN_USER_DESIG02>
        <SIGN_USER_DESIG03>string</SIGN_USER_DESIG03>
        <SIGN_USER_DESIG04>string</SIGN_USER_DESIG04>
        <SIGN_USER_DESIG05>string</SIGN_USER_DESIG05>
        <RightCodes_portal>string</RightCodes_portal>
        <RightCodes_LastFY>string</RightCodes_LastFY>
        <IS_NOTIFICATIONS_AVAILABLE>int</IS_NOTIFICATIONS_AVAILABLE>
        <USERLEVEL_INDEX>int</USERLEVEL_INDEX>
        <GLOBAL_COMPANY_ID>guid</GLOBAL_COMPANY_ID>
        <WEBSERVICE_URL>string</WEBSERVICE_URL>
        <START_DATE>dateTime</START_DATE>
        <END_DATE>dateTime</END_DATE>
        <GLOBAL_LINK_LOGING>string</GLOBAL_LINK_LOGING>
        <GLOBAL_LINK_LOGING_EXPIRE>dateTime</GLOBAL_LINK_LOGING_EXPIRE>
        <IS_WEB_DARK_MODE>int</IS_WEB_DARK_MODE>
        <WEB_USER_AVATAR>string</WEB_USER_AVATAR>
        <IS_USER_TRACK>int</IS_USER_TRACK>
        <IS_PWD_RESET_REQUIRED>int</IS_PWD_RESET_REQUIRED>
        <IS_ACTIVE>int</IS_ACTIVE>
        <IS_LOCKED>int</IS_LOCKED>
      </user>
      <restrict>string</restrict>
      <compcode>string</compcode>
    </UpdateRestrictionByCompany>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateRestrictionByCompanyResponse xmlns="http://tempuri.org/">
      <UpdateRestrictionByCompanyResult>boolean</UpdateRestrictionByCompanyResult>
    </UpdateRestrictionByCompanyResponse>
  </soap12:Body>
</soap12:Envelope>