GetOrderStatuses

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

Tags: GetOrderStatuses, GetOrderStatusesResponse, 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 string(50) Req. Your username
Password string(50) Req. Your password
GoodsOwnerCode string(400) Req. The name/code of your client

Response XML

<?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

GetOrderStatusesResponse
GetOrderStatusesResult GetOrderStatusesResult
GetOrderStatusesResult
OrderStatuses OrderStatus[] Contains elements of OrderStatus
OrderStatus
OrderStatusId int The id/code of the order status
OrderStatusName string(50) The name/description of the order status