InventoryWebService


Click here for a complete list of operations.

UpdateUserAccessRight

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: tciws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UpdateUserAccessRight"

<?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>
    <UpdateUserAccessRight xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <usercode>string</usercode>
      <pageurl>string</pageurl>
      <details>
        <COMPANY_ID>guid</COMPANY_ID>
        <COMPCODE>string</COMPCODE>
        <USERCODE>string</USERCODE>
        <PARENT_NAVIGATION>string</PARENT_NAVIGATION>
        <CHILD_NAVIGATION>string</CHILD_NAVIGATION>
        <PAGE_URL>string</PAGE_URL>
        <PPAGE_ICON>string</PPAGE_ICON>
        <IS_ACTIVE>int</IS_ACTIVE>
        <CSS_ID>string</CSS_ID>
        <SEQ_NO>int</SEQ_NO>
        <IS_DISPLAY_ONLY_CHILD>int</IS_DISPLAY_ONLY_CHILD>
        <IS_REDIRECT_TO_ANOTHER>int</IS_REDIRECT_TO_ANOTHER>
        <REDIRECT_PAGE>string</REDIRECT_PAGE>
        <IS_DISPLAY_IN_MAINMENU>int</IS_DISPLAY_IN_MAINMENU>
        <DISPLAY_NAME>string</DISPLAY_NAME>
        <IS_SUPPORT_PAGE>int</IS_SUPPORT_PAGE>
      </details>
    </UpdateUserAccessRight>
  </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>
    <UpdateUserAccessRightResponse xmlns="http://tempuri.org/">
      <UpdateUserAccessRightResult>boolean</UpdateUserAccessRightResult>
    </UpdateUserAccessRightResponse>
  </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: tciws.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>
    <UpdateUserAccessRight xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <usercode>string</usercode>
      <pageurl>string</pageurl>
      <details>
        <COMPANY_ID>guid</COMPANY_ID>
        <COMPCODE>string</COMPCODE>
        <USERCODE>string</USERCODE>
        <PARENT_NAVIGATION>string</PARENT_NAVIGATION>
        <CHILD_NAVIGATION>string</CHILD_NAVIGATION>
        <PAGE_URL>string</PAGE_URL>
        <PPAGE_ICON>string</PPAGE_ICON>
        <IS_ACTIVE>int</IS_ACTIVE>
        <CSS_ID>string</CSS_ID>
        <SEQ_NO>int</SEQ_NO>
        <IS_DISPLAY_ONLY_CHILD>int</IS_DISPLAY_ONLY_CHILD>
        <IS_REDIRECT_TO_ANOTHER>int</IS_REDIRECT_TO_ANOTHER>
        <REDIRECT_PAGE>string</REDIRECT_PAGE>
        <IS_DISPLAY_IN_MAINMENU>int</IS_DISPLAY_IN_MAINMENU>
        <DISPLAY_NAME>string</DISPLAY_NAME>
        <IS_SUPPORT_PAGE>int</IS_SUPPORT_PAGE>
      </details>
    </UpdateUserAccessRight>
  </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>
    <UpdateUserAccessRightResponse xmlns="http://tempuri.org/">
      <UpdateUserAccessRightResult>boolean</UpdateUserAccessRightResult>
    </UpdateUserAccessRightResponse>
  </soap12:Body>
</soap12:Envelope>