WebService_Fin_PO


Click here for a complete list of operations.

SavePO

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
po_id:
po_date:
CreditDueDate:
supplier_id:
InternalPONo:
Status:
TotalItemCost:
Other1Title:
Other1Amount:
Other2Title:
Other2Amount:
Currency:
TotalCost:
CommercialTaxPercent:
CommercialTax:
VoucherPayAmount:
CreditPaidAmount:
Balance:
PaymentStatus:
remark:
approve_by:
RequestID:

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 /Modules/EMR/WebServices/WebService_Fin_PO.asmx HTTP/1.1
Host: 10.20.1.42
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SavePO"

<?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>
    <SavePO xmlns="http://tempuri.org/">
      <po_id>string</po_id>
      <po_date>string</po_date>
      <CreditDueDate>string</CreditDueDate>
      <supplier_id>string</supplier_id>
      <InternalPONo>string</InternalPONo>
      <Status>string</Status>
      <TotalItemCost>string</TotalItemCost>
      <Other1Title>string</Other1Title>
      <Other1Amount>string</Other1Amount>
      <Other2Title>string</Other2Title>
      <Other2Amount>string</Other2Amount>
      <Currency>string</Currency>
      <TotalCost>string</TotalCost>
      <CommercialTaxPercent>string</CommercialTaxPercent>
      <CommercialTax>string</CommercialTax>
      <VoucherPayAmount>string</VoucherPayAmount>
      <CreditPaidAmount>string</CreditPaidAmount>
      <Balance>string</Balance>
      <PaymentStatus>string</PaymentStatus>
      <remark>string</remark>
      <approve_by>string</approve_by>
      <RequestID>string</RequestID>
    </SavePO>
  </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>
    <SavePOResponse xmlns="http://tempuri.org/">
      <SavePOResult>string</SavePOResult>
    </SavePOResponse>
  </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 /Modules/EMR/WebServices/WebService_Fin_PO.asmx HTTP/1.1
Host: 10.20.1.42
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>
    <SavePO xmlns="http://tempuri.org/">
      <po_id>string</po_id>
      <po_date>string</po_date>
      <CreditDueDate>string</CreditDueDate>
      <supplier_id>string</supplier_id>
      <InternalPONo>string</InternalPONo>
      <Status>string</Status>
      <TotalItemCost>string</TotalItemCost>
      <Other1Title>string</Other1Title>
      <Other1Amount>string</Other1Amount>
      <Other2Title>string</Other2Title>
      <Other2Amount>string</Other2Amount>
      <Currency>string</Currency>
      <TotalCost>string</TotalCost>
      <CommercialTaxPercent>string</CommercialTaxPercent>
      <CommercialTax>string</CommercialTax>
      <VoucherPayAmount>string</VoucherPayAmount>
      <CreditPaidAmount>string</CreditPaidAmount>
      <Balance>string</Balance>
      <PaymentStatus>string</PaymentStatus>
      <remark>string</remark>
      <approve_by>string</approve_by>
      <RequestID>string</RequestID>
    </SavePO>
  </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>
    <SavePOResponse xmlns="http://tempuri.org/">
      <SavePOResult>string</SavePOResult>
    </SavePOResponse>
  </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 /Modules/EMR/WebServices/WebService_Fin_PO.asmx/SavePO?po_id=string&po_date=string&CreditDueDate=string&supplier_id=string&InternalPONo=string&Status=string&TotalItemCost=string&Other1Title=string&Other1Amount=string&Other2Title=string&Other2Amount=string&Currency=string&TotalCost=string&CommercialTaxPercent=string&CommercialTax=string&VoucherPayAmount=string&CreditPaidAmount=string&Balance=string&PaymentStatus=string&remark=string&approve_by=string&RequestID=string HTTP/1.1
Host: 10.20.1.42
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://tempuri.org/">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 /Modules/EMR/WebServices/WebService_Fin_PO.asmx/SavePO HTTP/1.1
Host: 10.20.1.42
Content-Type: application/x-www-form-urlencoded
Content-Length: length

po_id=string&po_date=string&CreditDueDate=string&supplier_id=string&InternalPONo=string&Status=string&TotalItemCost=string&Other1Title=string&Other1Amount=string&Other2Title=string&Other2Amount=string&Currency=string&TotalCost=string&CommercialTaxPercent=string&CommercialTax=string&VoucherPayAmount=string&CreditPaidAmount=string&Balance=string&PaymentStatus=string&remark=string&approve_by=string&RequestID=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://tempuri.org/">string</string>