Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The removed fields will no longer be included in the response for read, add, update or delete employee record.

If these fields are included in the list of the context value for pcUpdateRequestFieldsList, the response will return an error code 1965, meaning “There are wrong fields in the requested list” following with the problematic fields. For example:

Request

Code Block
...
      <ttContext>
         <contextGroup>PARAM</contextGroup>
         <contextName>pcUpdateRequestFieldsList</contextName>
         <contextValue>cid,bid,eid,emnamel,emnamef,emshort,rstat,emnerev,alertemailid,faxno,phone[2],teltype[2]</contextValue> <!-- ADD ADDITIONAL NAMES OF FIELDS TO BE UPDATED HERE; See documentation for name of fields -->
         <contextOperator />
         <contextType />
      </ttContext>            
   </dsContext>
...

Response

Code Block
...
   <dsContext>
      <ttContext>
         <contextGroup>PARAM</contextGroup>
         <contextName>ExecuteStatus</contextName>
         <contextValue>RUN_ERROR,1965,alertemailid,faxno,phone[2],teltype[2]</contextValue>
         <contextOperator/>
         <contextType/>
      </ttContext>
...

Examples

Login request

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body xmlns:s0="urn:L1340384D62:eTimeWS" 
                 xmlns:s1="http://www.w3.org/2001/XMLSchema">
    <s0:apSrv>
      <dsContext>
        <ttContext>
         <contextGroup>PARAM</contextGroup>
         <contextName>pcUserID</contextName>
         <contextValue>wsdl</contextValue>
         <contextOperator />
         <contextType />
        </ttContext>

        <ttContext>
         <contextGroup>PARAM</contextGroup>
         <contextName>pcPassword</contextName>
         <contextValue>_____PUT_THE_CORRECT_PASSWORD_HERE_____</contextValue>
         <contextOperator />
         <contextType />
        </ttContext>
      </dsContext>
    </s0:apSrv>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

...