Ongoing Warehouse logo

Ongoing Warehouse Developer

GetOrderStatuses

This function can be used to retrieve the available order statuses of the Ongoing system.

Tags: GetOrderStatuses, GetOrderStatusesResult, OrderStatus

Request XML

POST /xxx/service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetOrderStatuses"

<?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>
      <GetOrderStatuses xmlns="http://ongoingsystems.se/WSI">
         <UserName>string</UserName>
         <Password>string</Password>
         <GoodsOwnerCode>string</GoodsOwnerCode>
      </GetOrderStatuses>
   </soap:Body>
</soap:Envelope>
+

Request specification

GetOrderStatuses
UserName str(50) Req. Your username
Password str(50) Req. Your password
GoodsOwnerCode str(400) Req. The name/code of your client

Response XML

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>
      <GetOrderStatusesResponse xmlns="http://ongoingsystems.se/WSI">
         <GetOrderStatusesResult>
            <OrderStatuses>
               <OrderStatus>
                  <OrderStatusId>int</OrderStatusId>
                  <OrderStatusName>string</OrderStatusName>
               </OrderStatus>
               <OrderStatus>
                  <OrderStatusId>int</OrderStatusId>
                  <OrderStatusName>string</OrderStatusName>
               </OrderStatus>
            </OrderStatuses>
         </GetOrderStatusesResult>
      </GetOrderStatusesResponse>
   </soap:Body>
</soap:Envelope>
+

Response specification

GetOrderStatusesResult
OrderStatuses object Contains elements of OrderStatus
OrderStatus
OrderStatusId int The id/code of the order status
OrderStatusName str(50) The name/description of the order status