WebMethods
Click here for a complete list of operations.
SaveExpenceApplication
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /WebMethods.asmx HTTP/1.1
Host: paywellws.bphoenix.co.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Paywellws.bphoenix.co.in/SaveExpenceApplication"
<?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>
<SaveExpenceApplication xmlns="http://Paywellws.bphoenix.co.in/">
<Clientcode>string</Clientcode>
<str>string</str>
<gEmpCode>string</gEmpCode>
<gCompanyCode>string</gCompanyCode>
<Mode>string</Mode>
<LeaveYear>string</LeaveYear>
<Fromdate>string</Fromdate>
<Todate>string</Todate>
<DocType>string</DocType>
<Leavetype>string</Leavetype>
<ExpenceTypeId>string</ExpenceTypeId>
<Location>string</Location>
<TravelmodeId>string</TravelmodeId>
<HotelName>string</HotelName>
<NoOfDays>string</NoOfDays>
<NoOfNights>string</NoOfNights>
<AdditionalInfo>string</AdditionalInfo>
<NoOfPerson>string</NoOfPerson>
<NameOfPerson>string</NameOfPerson>
<Amount>string</Amount>
<AdvanceAmtAdjust>string</AdvanceAmtAdjust>
<NetExpenseAmount>string</NetExpenseAmount>
<gUserID>string</gUserID>
<DocExtention>string</DocExtention>
<ActivityId>string</ActivityId>
<ProjectID>string</ProjectID>
<sPhotoBinaryString>string</sPhotoBinaryString>
</SaveExpenceApplication>
</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>
<SaveExpenceApplicationResponse xmlns="http://Paywellws.bphoenix.co.in/">
<SaveExpenceApplicationResult>string</SaveExpenceApplicationResult>
</SaveExpenceApplicationResponse>
</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 /WebMethods.asmx HTTP/1.1
Host: paywellws.bphoenix.co.in
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>
<SaveExpenceApplication xmlns="http://Paywellws.bphoenix.co.in/">
<Clientcode>string</Clientcode>
<str>string</str>
<gEmpCode>string</gEmpCode>
<gCompanyCode>string</gCompanyCode>
<Mode>string</Mode>
<LeaveYear>string</LeaveYear>
<Fromdate>string</Fromdate>
<Todate>string</Todate>
<DocType>string</DocType>
<Leavetype>string</Leavetype>
<ExpenceTypeId>string</ExpenceTypeId>
<Location>string</Location>
<TravelmodeId>string</TravelmodeId>
<HotelName>string</HotelName>
<NoOfDays>string</NoOfDays>
<NoOfNights>string</NoOfNights>
<AdditionalInfo>string</AdditionalInfo>
<NoOfPerson>string</NoOfPerson>
<NameOfPerson>string</NameOfPerson>
<Amount>string</Amount>
<AdvanceAmtAdjust>string</AdvanceAmtAdjust>
<NetExpenseAmount>string</NetExpenseAmount>
<gUserID>string</gUserID>
<DocExtention>string</DocExtention>
<ActivityId>string</ActivityId>
<ProjectID>string</ProjectID>
<sPhotoBinaryString>string</sPhotoBinaryString>
</SaveExpenceApplication>
</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>
<SaveExpenceApplicationResponse xmlns="http://Paywellws.bphoenix.co.in/">
<SaveExpenceApplicationResult>string</SaveExpenceApplicationResult>
</SaveExpenceApplicationResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /WebMethods.asmx/SaveExpenceApplication?Clientcode=string&str=string&gEmpCode=string&gCompanyCode=string&Mode=string&LeaveYear=string&Fromdate=string&Todate=string&DocType=string&Leavetype=string&ExpenceTypeId=string&Location=string&TravelmodeId=string&HotelName=string&NoOfDays=string&NoOfNights=string&AdditionalInfo=string&NoOfPerson=string&NameOfPerson=string&Amount=string&AdvanceAmtAdjust=string&NetExpenseAmount=string&gUserID=string&DocExtention=string&ActivityId=string&ProjectID=string&sPhotoBinaryString=string HTTP/1.1 Host: paywellws.bphoenix.co.in
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://Paywellws.bphoenix.co.in/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /WebMethods.asmx/SaveExpenceApplication HTTP/1.1 Host: paywellws.bphoenix.co.in Content-Type: application/x-www-form-urlencoded Content-Length: length Clientcode=string&str=string&gEmpCode=string&gCompanyCode=string&Mode=string&LeaveYear=string&Fromdate=string&Todate=string&DocType=string&Leavetype=string&ExpenceTypeId=string&Location=string&TravelmodeId=string&HotelName=string&NoOfDays=string&NoOfNights=string&AdditionalInfo=string&NoOfPerson=string&NameOfPerson=string&Amount=string&AdvanceAmtAdjust=string&NetExpenseAmount=string&gUserID=string&DocExtention=string&ActivityId=string&ProjectID=string&sPhotoBinaryString=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://Paywellws.bphoenix.co.in/">string</string>