SalesPurchase
Click here for a complete list of operations.
SalesOrderSearchWithWarehouseCode
For Pernod Richard
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 /SAASWebService/Sales/SalesPurchase.asmx HTTP/1.1
Host: vp.golfdondurma.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SalesOrderSearchWithWarehouseCode"
<?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>
<SalesOrderSearchWithWarehouseCode xmlns="http://tempuri.org/">
<SearchParameter>
<BeginDate>dateTime</BeginDate>
<EndDate>dateTime</EndDate>
<BeginDateTime>dateTime</BeginDateTime>
<EndDateTime>dateTime</EndDateTime>
</SearchParameter>
<AuthorizationKey>string</AuthorizationKey>
<ActiveCompany>string</ActiveCompany>
<ActiveBranch>string</ActiveBranch>
</SalesOrderSearchWithWarehouseCode>
</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>
<SalesOrderSearchWithWarehouseCodeResponse xmlns="http://tempuri.org/">
<SalesOrderSearchWithWarehouseCodeResult>
<OrderParameter>
<Lines>
<OrderLineParameter xsi:nil="true" />
<OrderLineParameter xsi:nil="true" />
</Lines>
<Discounts>
<OrderDiscountParameter xsi:nil="true" />
<OrderDiscountParameter xsi:nil="true" />
</Discounts>
<DiscountItemDetails>
<OrderDiscountItemDetailParameter xsi:nil="true" />
<OrderDiscountItemDetailParameter xsi:nil="true" />
</DiscountItemDetails>
<OrderNumber>string</OrderNumber>
<DocumentNumber>string</DocumentNumber>
<OrderTypeId>string</OrderTypeId>
<OrderGroupId>string</OrderGroupId>
<CustomerId>string</CustomerId>
<DocumentDate>dateTime</DocumentDate>
<DocumentTime>string</DocumentTime>
<RecvLocationId>string</RecvLocationId>
<WarehouseId>string</WarehouseId>
<RepresentativeId>string</RepresentativeId>
<Canceled>short</Canceled>
<Printed>short</Printed>
<PrintCount>decimal</PrintCount>
<TerminalOrPc>string</TerminalOrPc>
<PaymentTypeId>string</PaymentTypeId>
<PaymentPeriodId>string</PaymentPeriodId>
<PriceListId>string</PriceListId>
<CurrencyId>string</CurrencyId>
<TotalUserDiscount>decimal</TotalUserDiscount>
<TotalItemDiscount>decimal</TotalItemDiscount>
<TotalOtherDiscount>decimal</TotalOtherDiscount>
<TotalDiscount>decimal</TotalDiscount>
<TotalVat>decimal</TotalVat>
<GrossTotal>decimal</GrossTotal>
<NetTotal>decimal</NetTotal>
<ReportCurrency1Id>string</ReportCurrency1Id>
<ReportCurrency1Rate>decimal</ReportCurrency1Rate>
<ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
<ReportCurrency2Id>string</ReportCurrency2Id>
<ReportCurrency2Rate>decimal</ReportCurrency2Rate>
<ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
<Genexp1>string</Genexp1>
<Genexp2>string</Genexp2>
<Genexp3>string</Genexp3>
<CancelReasonId>string</CancelReasonId>
<RouteId>string</RouteId>
<CanceledUser>string</CanceledUser>
<CanceledDatetime>dateTime</CanceledDatetime>
<PaymentStatusId>string</PaymentStatusId>
<VehicleId>string</VehicleId>
<DocumentTypeId>string</DocumentTypeId>
<StateId>string</StateId>
<DueDate>dateTime</DueDate>
<DueDateNoCalc>dateTime</DueDateNoCalc>
<DeliveryLocationId>string</DeliveryLocationId>
<StatusId>string</StatusId>
<CustomerFinanceCode>string</CustomerFinanceCode>
<WarehouseFinanceCode>string</WarehouseFinanceCode>
<RepresentativeFinanceCode>string</RepresentativeFinanceCode>
</OrderParameter>
<OrderParameter>
<Lines>
<OrderLineParameter xsi:nil="true" />
<OrderLineParameter xsi:nil="true" />
</Lines>
<Discounts>
<OrderDiscountParameter xsi:nil="true" />
<OrderDiscountParameter xsi:nil="true" />
</Discounts>
<DiscountItemDetails>
<OrderDiscountItemDetailParameter xsi:nil="true" />
<OrderDiscountItemDetailParameter xsi:nil="true" />
</DiscountItemDetails>
<OrderNumber>string</OrderNumber>
<DocumentNumber>string</DocumentNumber>
<OrderTypeId>string</OrderTypeId>
<OrderGroupId>string</OrderGroupId>
<CustomerId>string</CustomerId>
<DocumentDate>dateTime</DocumentDate>
<DocumentTime>string</DocumentTime>
<RecvLocationId>string</RecvLocationId>
<WarehouseId>string</WarehouseId>
<RepresentativeId>string</RepresentativeId>
<Canceled>short</Canceled>
<Printed>short</Printed>
<PrintCount>decimal</PrintCount>
<TerminalOrPc>string</TerminalOrPc>
<PaymentTypeId>string</PaymentTypeId>
<PaymentPeriodId>string</PaymentPeriodId>
<PriceListId>string</PriceListId>
<CurrencyId>string</CurrencyId>
<TotalUserDiscount>decimal</TotalUserDiscount>
<TotalItemDiscount>decimal</TotalItemDiscount>
<TotalOtherDiscount>decimal</TotalOtherDiscount>
<TotalDiscount>decimal</TotalDiscount>
<TotalVat>decimal</TotalVat>
<GrossTotal>decimal</GrossTotal>
<NetTotal>decimal</NetTotal>
<ReportCurrency1Id>string</ReportCurrency1Id>
<ReportCurrency1Rate>decimal</ReportCurrency1Rate>
<ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
<ReportCurrency2Id>string</ReportCurrency2Id>
<ReportCurrency2Rate>decimal</ReportCurrency2Rate>
<ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
<Genexp1>string</Genexp1>
<Genexp2>string</Genexp2>
<Genexp3>string</Genexp3>
<CancelReasonId>string</CancelReasonId>
<RouteId>string</RouteId>
<CanceledUser>string</CanceledUser>
<CanceledDatetime>dateTime</CanceledDatetime>
<PaymentStatusId>string</PaymentStatusId>
<VehicleId>string</VehicleId>
<DocumentTypeId>string</DocumentTypeId>
<StateId>string</StateId>
<DueDate>dateTime</DueDate>
<DueDateNoCalc>dateTime</DueDateNoCalc>
<DeliveryLocationId>string</DeliveryLocationId>
<StatusId>string</StatusId>
<CustomerFinanceCode>string</CustomerFinanceCode>
<WarehouseFinanceCode>string</WarehouseFinanceCode>
<RepresentativeFinanceCode>string</RepresentativeFinanceCode>
</OrderParameter>
</SalesOrderSearchWithWarehouseCodeResult>
</SalesOrderSearchWithWarehouseCodeResponse>
</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 /SAASWebService/Sales/SalesPurchase.asmx HTTP/1.1
Host: vp.golfdondurma.com.tr
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>
<SalesOrderSearchWithWarehouseCode xmlns="http://tempuri.org/">
<SearchParameter>
<BeginDate>dateTime</BeginDate>
<EndDate>dateTime</EndDate>
<BeginDateTime>dateTime</BeginDateTime>
<EndDateTime>dateTime</EndDateTime>
</SearchParameter>
<AuthorizationKey>string</AuthorizationKey>
<ActiveCompany>string</ActiveCompany>
<ActiveBranch>string</ActiveBranch>
</SalesOrderSearchWithWarehouseCode>
</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>
<SalesOrderSearchWithWarehouseCodeResponse xmlns="http://tempuri.org/">
<SalesOrderSearchWithWarehouseCodeResult>
<OrderParameter>
<Lines>
<OrderLineParameter xsi:nil="true" />
<OrderLineParameter xsi:nil="true" />
</Lines>
<Discounts>
<OrderDiscountParameter xsi:nil="true" />
<OrderDiscountParameter xsi:nil="true" />
</Discounts>
<DiscountItemDetails>
<OrderDiscountItemDetailParameter xsi:nil="true" />
<OrderDiscountItemDetailParameter xsi:nil="true" />
</DiscountItemDetails>
<OrderNumber>string</OrderNumber>
<DocumentNumber>string</DocumentNumber>
<OrderTypeId>string</OrderTypeId>
<OrderGroupId>string</OrderGroupId>
<CustomerId>string</CustomerId>
<DocumentDate>dateTime</DocumentDate>
<DocumentTime>string</DocumentTime>
<RecvLocationId>string</RecvLocationId>
<WarehouseId>string</WarehouseId>
<RepresentativeId>string</RepresentativeId>
<Canceled>short</Canceled>
<Printed>short</Printed>
<PrintCount>decimal</PrintCount>
<TerminalOrPc>string</TerminalOrPc>
<PaymentTypeId>string</PaymentTypeId>
<PaymentPeriodId>string</PaymentPeriodId>
<PriceListId>string</PriceListId>
<CurrencyId>string</CurrencyId>
<TotalUserDiscount>decimal</TotalUserDiscount>
<TotalItemDiscount>decimal</TotalItemDiscount>
<TotalOtherDiscount>decimal</TotalOtherDiscount>
<TotalDiscount>decimal</TotalDiscount>
<TotalVat>decimal</TotalVat>
<GrossTotal>decimal</GrossTotal>
<NetTotal>decimal</NetTotal>
<ReportCurrency1Id>string</ReportCurrency1Id>
<ReportCurrency1Rate>decimal</ReportCurrency1Rate>
<ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
<ReportCurrency2Id>string</ReportCurrency2Id>
<ReportCurrency2Rate>decimal</ReportCurrency2Rate>
<ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
<Genexp1>string</Genexp1>
<Genexp2>string</Genexp2>
<Genexp3>string</Genexp3>
<CancelReasonId>string</CancelReasonId>
<RouteId>string</RouteId>
<CanceledUser>string</CanceledUser>
<CanceledDatetime>dateTime</CanceledDatetime>
<PaymentStatusId>string</PaymentStatusId>
<VehicleId>string</VehicleId>
<DocumentTypeId>string</DocumentTypeId>
<StateId>string</StateId>
<DueDate>dateTime</DueDate>
<DueDateNoCalc>dateTime</DueDateNoCalc>
<DeliveryLocationId>string</DeliveryLocationId>
<StatusId>string</StatusId>
<CustomerFinanceCode>string</CustomerFinanceCode>
<WarehouseFinanceCode>string</WarehouseFinanceCode>
<RepresentativeFinanceCode>string</RepresentativeFinanceCode>
</OrderParameter>
<OrderParameter>
<Lines>
<OrderLineParameter xsi:nil="true" />
<OrderLineParameter xsi:nil="true" />
</Lines>
<Discounts>
<OrderDiscountParameter xsi:nil="true" />
<OrderDiscountParameter xsi:nil="true" />
</Discounts>
<DiscountItemDetails>
<OrderDiscountItemDetailParameter xsi:nil="true" />
<OrderDiscountItemDetailParameter xsi:nil="true" />
</DiscountItemDetails>
<OrderNumber>string</OrderNumber>
<DocumentNumber>string</DocumentNumber>
<OrderTypeId>string</OrderTypeId>
<OrderGroupId>string</OrderGroupId>
<CustomerId>string</CustomerId>
<DocumentDate>dateTime</DocumentDate>
<DocumentTime>string</DocumentTime>
<RecvLocationId>string</RecvLocationId>
<WarehouseId>string</WarehouseId>
<RepresentativeId>string</RepresentativeId>
<Canceled>short</Canceled>
<Printed>short</Printed>
<PrintCount>decimal</PrintCount>
<TerminalOrPc>string</TerminalOrPc>
<PaymentTypeId>string</PaymentTypeId>
<PaymentPeriodId>string</PaymentPeriodId>
<PriceListId>string</PriceListId>
<CurrencyId>string</CurrencyId>
<TotalUserDiscount>decimal</TotalUserDiscount>
<TotalItemDiscount>decimal</TotalItemDiscount>
<TotalOtherDiscount>decimal</TotalOtherDiscount>
<TotalDiscount>decimal</TotalDiscount>
<TotalVat>decimal</TotalVat>
<GrossTotal>decimal</GrossTotal>
<NetTotal>decimal</NetTotal>
<ReportCurrency1Id>string</ReportCurrency1Id>
<ReportCurrency1Rate>decimal</ReportCurrency1Rate>
<ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
<ReportCurrency2Id>string</ReportCurrency2Id>
<ReportCurrency2Rate>decimal</ReportCurrency2Rate>
<ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
<Genexp1>string</Genexp1>
<Genexp2>string</Genexp2>
<Genexp3>string</Genexp3>
<CancelReasonId>string</CancelReasonId>
<RouteId>string</RouteId>
<CanceledUser>string</CanceledUser>
<CanceledDatetime>dateTime</CanceledDatetime>
<PaymentStatusId>string</PaymentStatusId>
<VehicleId>string</VehicleId>
<DocumentTypeId>string</DocumentTypeId>
<StateId>string</StateId>
<DueDate>dateTime</DueDate>
<DueDateNoCalc>dateTime</DueDateNoCalc>
<DeliveryLocationId>string</DeliveryLocationId>
<StatusId>string</StatusId>
<CustomerFinanceCode>string</CustomerFinanceCode>
<WarehouseFinanceCode>string</WarehouseFinanceCode>
<RepresentativeFinanceCode>string</RepresentativeFinanceCode>
</OrderParameter>
</SalesOrderSearchWithWarehouseCodeResult>
</SalesOrderSearchWithWarehouseCodeResponse>
</soap12:Body>
</soap12:Envelope>