GetUsers

This function lets you retrieve information about all users which have been set up in Ongoing WMS.

Tags: GetUsers, GetUsersResponse, GetUsersResult, User

Request XML

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

<?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>
    <GetUsers xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Query />
    </GetUsers>
  </soap:Body>
</soap:Envelope>

Request specification

GetUsers
UserName string(50) Req. Your username
Password string(50) Req. Your password
Query GetUsersQuery Req. The query object

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>
    <GetUsersResponse xmlns="http://ongoingsystems.se/Automation">
      <GetUsersResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <Users>
          <User>
            <UserId>int</UserId>
            <UserName>string</UserName>
            <UserType>string</UserType>
          </User>
          <User>
            <UserId>int</UserId>
            <UserName>string</UserName>
            <UserType>string</UserType>
          </User>
        </Users>
      </GetUsersResult>
    </GetUsersResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetUsersResponse
GetUsersResult GetUsersResult
GetUsersResult
Message string If the call failed, this field contains the error message
Success boolean True if the call succeeded, false otherwise
Users User[] A list of Users
User
UserId int Ongoing WMS' internal id for the user
UserName string(50) The username of the user
UserType string A string describing what type of user it is. Possible values include:

- Administrator
- AutomationUser
- Dashboard
- PrinterServiceUser
- Reseller
- SOAPUserCustomer
- Supplier
- WarehouseUser