Service1
Click here for a complete list of operations.
OrderGetInfo
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 /Service1.asmx HTTP/1.1 Host: api.vsmidnight.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://vsmidnight.com/OrderGetInfo" <?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:Header> <ValidationSoapHeader xmlns="http://vsmidnight.com/"> <DevToken>string</DevToken> </ValidationSoapHeader> </soap:Header> <soap:Body> <OrderGetInfo xmlns="http://vsmidnight.com/"> <oguGet> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </oguGet> </OrderGetInfo> </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> <OrderGetInfoResponse xmlns="http://vsmidnight.com/"> <OrderGetInfoResult> <OrderGetUpdate> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </OrderGetUpdate> <OrderGetUpdate> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </OrderGetUpdate> </OrderGetInfoResult> </OrderGetInfoResponse> </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 /Service1.asmx HTTP/1.1 Host: api.vsmidnight.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:Header> <ValidationSoapHeader xmlns="http://vsmidnight.com/"> <DevToken>string</DevToken> </ValidationSoapHeader> </soap12:Header> <soap12:Body> <OrderGetInfo xmlns="http://vsmidnight.com/"> <oguGet> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </oguGet> </OrderGetInfo> </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> <OrderGetInfoResponse xmlns="http://vsmidnight.com/"> <OrderGetInfoResult> <OrderGetUpdate> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </OrderGetUpdate> <OrderGetUpdate> <OrderID>int</OrderID> <VersionID>int</VersionID> <VersionName>string</VersionName> <OrderDate>dateTime</OrderDate> <CustomerID>int</CustomerID> <CustomerName>string</CustomerName> <EmailAddress>string</EmailAddress> <UserName>string</UserName> <ProjectName>string</ProjectName> <DropDate>dateTime</DropDate> <ActualDrop>dateTime</ActualDrop> <OrderCloseDate>dateTime</OrderCloseDate> <InvoiceDate>dateTime</InvoiceDate> <PurchaseOrderNumber>string</PurchaseOrderNumber> <OrderShipAddress>string</OrderShipAddress> <OrderShipCSZ>string</OrderShipCSZ> <OrderComment>string</OrderComment> <ShippingComment>string</ShippingComment> <JobProgressCode>string</JobProgressCode> <JobPriorityID>int</JobPriorityID> <OrderJobTypeID>int</OrderJobTypeID> <VersionJobType>int</VersionJobType> <VersionSubTotal>double</VersionSubTotal> <OrderHeaderSubTota>double</OrderHeaderSubTota> <CSRInti>string</CSRInti> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <City>string</City> <StateCode>string</StateCode> <ZipCode>string</ZipCode> <OrderNumber>string</OrderNumber> <ContactName>int</ContactName> <SalesRepInit>int</SalesRepInit> <OrderStatus>int</OrderStatus> <ShipToContact>int</ShipToContact> <ShipToName>string</ShipToName> <ShipToCountry>string</ShipToCountry> <ShipVia>int</ShipVia> <ExpectedQty>int</ExpectedQty> <OrderAmount>double</OrderAmount> <ShippingFee>string</ShippingFee> <OrderPaidYN>string</OrderPaidYN> <Discount>string</Discount> </OrderGetUpdate> </OrderGetInfoResult> </OrderGetInfoResponse> </soap12:Body> </soap12:Envelope>