WebService2
Click here for a complete list of operations.
Get_MenuOnline_Factors
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 /WebService2.asmx HTTP/1.1 Host: services.baransys.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/Get_MenuOnline_Factors" <?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> <Get_MenuOnline_Factors xmlns="http://tempuri.org/"> <PackNumber>string</PackNumber> </Get_MenuOnline_Factors> </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> <Get_MenuOnline_FactorsResponse xmlns="http://tempuri.org/"> <Get_MenuOnline_FactorsResult> <MenuOnline_FactorInfo> <Id>string</Id> <PackNumber>string</PackNumber> <FactorNumber>string</FactorNumber> <CustomerName>string</CustomerName> <CustomerMobile>string</CustomerMobile> <TableId>string</TableId> <PaymentType>string</PaymentType> <PaymentTypeId>string</PaymentTypeId> <Description>string</Description> <ServicePrecent>decimal</ServicePrecent> <ServiceAmount>decimal</ServiceAmount> <DiscountPrecent>decimal</DiscountPrecent> <DiscountAmount>decimal</DiscountAmount> <TaxPrecent>decimal</TaxPrecent> <TaxAmount>decimal</TaxAmount> <SendToBaran>dateTime</SendToBaran> <SaveDate>dateTime</SaveDate> <Items> <MenuOnline_FactorItemInfo xsi:nil="true" /> <MenuOnline_FactorItemInfo xsi:nil="true" /> </Items> <ResMessage>string</ResMessage> <ResId>int</ResId> <TotalAmount>decimal</TotalAmount> <FactorDiscount>decimal</FactorDiscount> <ProductDiscount>decimal</ProductDiscount> <TotalTaxAmount>decimal</TotalTaxAmount> <TotalServiceAmount>decimal</TotalServiceAmount> <FinalAmount>decimal</FinalAmount> <CustomerId>string</CustomerId> </MenuOnline_FactorInfo> <MenuOnline_FactorInfo> <Id>string</Id> <PackNumber>string</PackNumber> <FactorNumber>string</FactorNumber> <CustomerName>string</CustomerName> <CustomerMobile>string</CustomerMobile> <TableId>string</TableId> <PaymentType>string</PaymentType> <PaymentTypeId>string</PaymentTypeId> <Description>string</Description> <ServicePrecent>decimal</ServicePrecent> <ServiceAmount>decimal</ServiceAmount> <DiscountPrecent>decimal</DiscountPrecent> <DiscountAmount>decimal</DiscountAmount> <TaxPrecent>decimal</TaxPrecent> <TaxAmount>decimal</TaxAmount> <SendToBaran>dateTime</SendToBaran> <SaveDate>dateTime</SaveDate> <Items> <MenuOnline_FactorItemInfo xsi:nil="true" /> <MenuOnline_FactorItemInfo xsi:nil="true" /> </Items> <ResMessage>string</ResMessage> <ResId>int</ResId> <TotalAmount>decimal</TotalAmount> <FactorDiscount>decimal</FactorDiscount> <ProductDiscount>decimal</ProductDiscount> <TotalTaxAmount>decimal</TotalTaxAmount> <TotalServiceAmount>decimal</TotalServiceAmount> <FinalAmount>decimal</FinalAmount> <CustomerId>string</CustomerId> </MenuOnline_FactorInfo> </Get_MenuOnline_FactorsResult> </Get_MenuOnline_FactorsResponse> </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 /WebService2.asmx HTTP/1.1 Host: services.baransys.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> <Get_MenuOnline_Factors xmlns="http://tempuri.org/"> <PackNumber>string</PackNumber> </Get_MenuOnline_Factors> </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> <Get_MenuOnline_FactorsResponse xmlns="http://tempuri.org/"> <Get_MenuOnline_FactorsResult> <MenuOnline_FactorInfo> <Id>string</Id> <PackNumber>string</PackNumber> <FactorNumber>string</FactorNumber> <CustomerName>string</CustomerName> <CustomerMobile>string</CustomerMobile> <TableId>string</TableId> <PaymentType>string</PaymentType> <PaymentTypeId>string</PaymentTypeId> <Description>string</Description> <ServicePrecent>decimal</ServicePrecent> <ServiceAmount>decimal</ServiceAmount> <DiscountPrecent>decimal</DiscountPrecent> <DiscountAmount>decimal</DiscountAmount> <TaxPrecent>decimal</TaxPrecent> <TaxAmount>decimal</TaxAmount> <SendToBaran>dateTime</SendToBaran> <SaveDate>dateTime</SaveDate> <Items> <MenuOnline_FactorItemInfo xsi:nil="true" /> <MenuOnline_FactorItemInfo xsi:nil="true" /> </Items> <ResMessage>string</ResMessage> <ResId>int</ResId> <TotalAmount>decimal</TotalAmount> <FactorDiscount>decimal</FactorDiscount> <ProductDiscount>decimal</ProductDiscount> <TotalTaxAmount>decimal</TotalTaxAmount> <TotalServiceAmount>decimal</TotalServiceAmount> <FinalAmount>decimal</FinalAmount> <CustomerId>string</CustomerId> </MenuOnline_FactorInfo> <MenuOnline_FactorInfo> <Id>string</Id> <PackNumber>string</PackNumber> <FactorNumber>string</FactorNumber> <CustomerName>string</CustomerName> <CustomerMobile>string</CustomerMobile> <TableId>string</TableId> <PaymentType>string</PaymentType> <PaymentTypeId>string</PaymentTypeId> <Description>string</Description> <ServicePrecent>decimal</ServicePrecent> <ServiceAmount>decimal</ServiceAmount> <DiscountPrecent>decimal</DiscountPrecent> <DiscountAmount>decimal</DiscountAmount> <TaxPrecent>decimal</TaxPrecent> <TaxAmount>decimal</TaxAmount> <SendToBaran>dateTime</SendToBaran> <SaveDate>dateTime</SaveDate> <Items> <MenuOnline_FactorItemInfo xsi:nil="true" /> <MenuOnline_FactorItemInfo xsi:nil="true" /> </Items> <ResMessage>string</ResMessage> <ResId>int</ResId> <TotalAmount>decimal</TotalAmount> <FactorDiscount>decimal</FactorDiscount> <ProductDiscount>decimal</ProductDiscount> <TotalTaxAmount>decimal</TotalTaxAmount> <TotalServiceAmount>decimal</TotalServiceAmount> <FinalAmount>decimal</FinalAmount> <CustomerId>string</CustomerId> </MenuOnline_FactorInfo> </Get_MenuOnline_FactorsResult> </Get_MenuOnline_FactorsResponse> </soap12:Body> </soap12:Envelope>