WebServiceDB


Click here for a complete list of operations.

PDA_Invoce

Adding new Invoice from PDA Mobile application

Test

The test form is only available for methods with primitive types as parameters.

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 /WebServiceDB.asmx HTTP/1.1
Host: webservice.alamer-market.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://alamerwebservices.com/PDA_Invoce"

<?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>
    <PDA_Invoce xmlns="http://alamerwebservices.com/">
      <InvoiceID>string</InvoiceID>
      <BranchID>int</BranchID>
      <InvoiceNo>int</InvoiceNo>
      <POSID>int</POSID>
      <EmployeeID>int</EmployeeID>
      <username>string</username>
      <InvoiceSubTotal>float</InvoiceSubTotal>
      <TaxAmountTotal>float</TaxAmountTotal>
      <NetTotal>float</NetTotal>
      <PaymentMothod_ID>string</PaymentMothod_ID>
      <InvoiceDate>string</InvoiceDate>
      <BarCode>
        <string>string</string>
        <string>string</string>
      </BarCode>
      <ItemID>
        <int>int</int>
        <int>int</int>
      </ItemID>
      <ItemName>
        <string>string</string>
        <string>string</string>
      </ItemName>
      <EnglishName>
        <string>string</string>
        <string>string</string>
      </EnglishName>
      <UnitName>
        <string>string</string>
        <string>string</string>
      </UnitName>
      <Quantity>
        <float>float</float>
        <float>float</float>
      </Quantity>
      <SellPrice>
        <float>float</float>
        <float>float</float>
      </SellPrice>
      <NetSellPrice>
        <float>float</float>
        <float>float</float>
      </NetSellPrice>
      <Total>
        <float>float</float>
        <float>float</float>
      </Total>
    </PDA_Invoce>
  </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>
    <PDA_InvoceResponse xmlns="http://alamerwebservices.com/">
      <PDA_InvoceResult>
        <Name>string</Name>
        <En_Name>string</En_Name>
        <Price>string</Price>
        <NetPrice>string</NetPrice>
        <Unit>string</Unit>
        <UnitDescreption>string</UnitDescreption>
        <barcode>string</barcode>
        <Message>string</Message>
        <FromDate>string</FromDate>
        <ToDate>string</ToDate>
        <SpecialPrice>string</SpecialPrice>
        <UseSpecialPrice>int</UseSpecialPrice>
        <ItemID>string</ItemID>
        <QuantityPerUnit>float</QuantityPerUnit>
        <Tax>float</Tax>
        <ctnPrice>string</ctnPrice>
        <ctnDisc>string</ctnDisc>
        <totalRow>string</totalRow>
        <username>string</username>
        <UserID>int</UserID>
        <IsAdded>int</IsAdded>
        <Company_Id>int</Company_Id>
        <Location>string</Location>
        <Note>string</Note>
        <Description>string</Description>
        <Path_Id>int</Path_Id>
        <Section_Id>int</Section_Id>
        <Location_Id>int</Location_Id>
        <dataSet>
          <xsd:schema>schema</xsd:schema>xml</dataSet>
        <dataTable>xmlxml</dataTable>
        <IsCustomer>boolean</IsCustomer>
      </PDA_InvoceResult>
    </PDA_InvoceResponse>
  </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 /WebServiceDB.asmx HTTP/1.1
Host: webservice.alamer-market.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>
    <PDA_Invoce xmlns="http://alamerwebservices.com/">
      <InvoiceID>string</InvoiceID>
      <BranchID>int</BranchID>
      <InvoiceNo>int</InvoiceNo>
      <POSID>int</POSID>
      <EmployeeID>int</EmployeeID>
      <username>string</username>
      <InvoiceSubTotal>float</InvoiceSubTotal>
      <TaxAmountTotal>float</TaxAmountTotal>
      <NetTotal>float</NetTotal>
      <PaymentMothod_ID>string</PaymentMothod_ID>
      <InvoiceDate>string</InvoiceDate>
      <BarCode>
        <string>string</string>
        <string>string</string>
      </BarCode>
      <ItemID>
        <int>int</int>
        <int>int</int>
      </ItemID>
      <ItemName>
        <string>string</string>
        <string>string</string>
      </ItemName>
      <EnglishName>
        <string>string</string>
        <string>string</string>
      </EnglishName>
      <UnitName>
        <string>string</string>
        <string>string</string>
      </UnitName>
      <Quantity>
        <float>float</float>
        <float>float</float>
      </Quantity>
      <SellPrice>
        <float>float</float>
        <float>float</float>
      </SellPrice>
      <NetSellPrice>
        <float>float</float>
        <float>float</float>
      </NetSellPrice>
      <Total>
        <float>float</float>
        <float>float</float>
      </Total>
    </PDA_Invoce>
  </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>
    <PDA_InvoceResponse xmlns="http://alamerwebservices.com/">
      <PDA_InvoceResult>
        <Name>string</Name>
        <En_Name>string</En_Name>
        <Price>string</Price>
        <NetPrice>string</NetPrice>
        <Unit>string</Unit>
        <UnitDescreption>string</UnitDescreption>
        <barcode>string</barcode>
        <Message>string</Message>
        <FromDate>string</FromDate>
        <ToDate>string</ToDate>
        <SpecialPrice>string</SpecialPrice>
        <UseSpecialPrice>int</UseSpecialPrice>
        <ItemID>string</ItemID>
        <QuantityPerUnit>float</QuantityPerUnit>
        <Tax>float</Tax>
        <ctnPrice>string</ctnPrice>
        <ctnDisc>string</ctnDisc>
        <totalRow>string</totalRow>
        <username>string</username>
        <UserID>int</UserID>
        <IsAdded>int</IsAdded>
        <Company_Id>int</Company_Id>
        <Location>string</Location>
        <Note>string</Note>
        <Description>string</Description>
        <Path_Id>int</Path_Id>
        <Section_Id>int</Section_Id>
        <Location_Id>int</Location_Id>
        <dataSet>
          <xsd:schema>schema</xsd:schema>xml</dataSet>
        <dataTable>xmlxml</dataTable>
        <IsCustomer>boolean</IsCustomer>
      </PDA_InvoceResult>
    </PDA_InvoceResponse>
  </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 /WebServiceDB.asmx/PDA_Invoce?InvoiceID=string&BranchID=string&InvoiceNo=string&POSID=string&EmployeeID=string&username=string&InvoiceSubTotal=string&TaxAmountTotal=string&NetTotal=string&PaymentMothod_ID=string&InvoiceDate=string&BarCode=string&BarCode=string&ItemID=string&ItemID=string&ItemName=string&ItemName=string&EnglishName=string&EnglishName=string&UnitName=string&UnitName=string&Quantity=string&Quantity=string&SellPrice=string&SellPrice=string&NetSellPrice=string&NetSellPrice=string&Total=string&Total=string HTTP/1.1
Host: webservice.alamer-market.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ReturnData xmlns="http://alamerwebservices.com/">
  <Name>string</Name>
  <En_Name>string</En_Name>
  <Price>string</Price>
  <NetPrice>string</NetPrice>
  <Unit>string</Unit>
  <UnitDescreption>string</UnitDescreption>
  <barcode>string</barcode>
  <Message>string</Message>
  <FromDate>string</FromDate>
  <ToDate>string</ToDate>
  <SpecialPrice>string</SpecialPrice>
  <UseSpecialPrice>int</UseSpecialPrice>
  <ItemID>string</ItemID>
  <QuantityPerUnit>float</QuantityPerUnit>
  <Tax>float</Tax>
  <ctnPrice>string</ctnPrice>
  <ctnDisc>string</ctnDisc>
  <totalRow>string</totalRow>
  <username>string</username>
  <UserID>int</UserID>
  <IsAdded>int</IsAdded>
  <Company_Id>int</Company_Id>
  <Location>string</Location>
  <Note>string</Note>
  <Description>string</Description>
  <Path_Id>int</Path_Id>
  <Section_Id>int</Section_Id>
  <Location_Id>int</Location_Id>
  <dataSet>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</dataSet>
  <dataTable>xmlxml</dataTable>
  <IsCustomer>boolean</IsCustomer>
</ReturnData>

HTTP POST

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

POST /WebServiceDB.asmx/PDA_Invoce HTTP/1.1
Host: webservice.alamer-market.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

InvoiceID=string&BranchID=string&InvoiceNo=string&POSID=string&EmployeeID=string&username=string&InvoiceSubTotal=string&TaxAmountTotal=string&NetTotal=string&PaymentMothod_ID=string&InvoiceDate=string&BarCode=string&BarCode=string&ItemID=string&ItemID=string&ItemName=string&ItemName=string&EnglishName=string&EnglishName=string&UnitName=string&UnitName=string&Quantity=string&Quantity=string&SellPrice=string&SellPrice=string&NetSellPrice=string&NetSellPrice=string&Total=string&Total=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ReturnData xmlns="http://alamerwebservices.com/">
  <Name>string</Name>
  <En_Name>string</En_Name>
  <Price>string</Price>
  <NetPrice>string</NetPrice>
  <Unit>string</Unit>
  <UnitDescreption>string</UnitDescreption>
  <barcode>string</barcode>
  <Message>string</Message>
  <FromDate>string</FromDate>
  <ToDate>string</ToDate>
  <SpecialPrice>string</SpecialPrice>
  <UseSpecialPrice>int</UseSpecialPrice>
  <ItemID>string</ItemID>
  <QuantityPerUnit>float</QuantityPerUnit>
  <Tax>float</Tax>
  <ctnPrice>string</ctnPrice>
  <ctnDisc>string</ctnDisc>
  <totalRow>string</totalRow>
  <username>string</username>
  <UserID>int</UserID>
  <IsAdded>int</IsAdded>
  <Company_Id>int</Company_Id>
  <Location>string</Location>
  <Note>string</Note>
  <Description>string</Description>
  <Path_Id>int</Path_Id>
  <Section_Id>int</Section_Id>
  <Location_Id>int</Location_Id>
  <dataSet>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</dataSet>
  <dataTable>xmlxml</dataTable>
  <IsCustomer>boolean</IsCustomer>
</ReturnData>