Ongoing Warehouse logo

Ongoing Warehouse Developer

GetUsers

This function lets list files in Ongoing WMS. Files can be filtered by goods owner, article and order.

Tags: GetFileList, FileSearchValues, GetFileListResponse, FileInfo

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/GetFileList"

<?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>
        <GetFileList xmlns="http://ongoingsystems.se/Automation">
            <UserName>string</UserName>
            <Password>string</Password>
            <FileSearchValues>
                <GoodsOwnerId>int</GoodsOwnerId>
                <GoodsOwnerCode>string</GoodsOwnerCode>
                <ArticleNo>string</ArticleNo>
                <ArticleName>string</ArticleName>
                <OrderNumber>string</OrderNumber>
                <OrderId>int</OrderId>
                <ArticleSystemId>int</ArticleSystemId>
            </FileSearchValues>
        </GetFileList>
    </soap:Body>
</soap:Envelope>
+

Request specification

GetFileList
UserName str(50) Req. Your username.
Password str(50) Req. Your password.
FileSearchValues object Req. A FileSearchValues object
FileSearchValues
GoodsOwnerId int Optional Filter by goods owner id. Get files connected to goods owner.
GoodsOwnerCode str(400) Optional Filter by goods owner code/name. Get files connected to goods owner.
ArticleNo str(100) Optional Filter by article number. Get files connected to article.
ArticleName str(200) Optional Filter by article name. Get files connected to article
OrderNumber str(50) Optional Filter by order number. Get files connected to order.
OrderId int Optional Filter by order id. Get files connected to order.
ArticleSystemId int Optional Filter by article system id. Get files connected to article.

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>
        <GetFileListResponse xmlns="http://ongoingsystems.se/Automation">
            <GetFileListResult>
                <FilesInfoList>
                    <FileInfo>
                        <FileId>int</FileId>
                        <FileName>string</FileName>
                        <MimeType>string</MimeType>
                        <GoodsOwnerId>int</GoodsOwnerId>
                        <GoodsOwnerCode>string</GoodsOwnerCode>
                        <ArticleNo>string</ArticleNo>
                        <ArticleName>string</ArticleName>
                        <OrderNumber>string</OrderNumber>
                        <OrderId>int</OrderId>
                        <ArticleSystemId>int</ArticleSystemId>
                    </FileInfo>
                    <FileInfo>
                        <FileId>int</FileId>
                        <FileName>string</FileName>
                        <MimeType>string</MimeType>
                        <GoodsOwnerId>int</GoodsOwnerId>
                        <GoodsOwnerCode>string</GoodsOwnerCode>
                        <ArticleNo>string</ArticleNo>
                        <ArticleName>string</ArticleName>
                        <OrderNumber>string</OrderNumber>
                        <OrderId>int</OrderId>
                        <ArticleSystemId>int</ArticleSystemId>
                    </FileInfo>
                </FilesInfoList>
            </GetFileListResult>
        </GetFileListResponse>
    </soap:Body>
</soap:Envelope>
+

Response specification

GetFileListResult
FilesInfoList object A list of FileInfo objects
FileInfo
FileId int The internal id of the file.
FileName string The name of the file.
MimeType string The MIME type of the file.
GoodsOwnerId int The goods owner id of the connected goods owner if the file is connected to a goods owner.
GoodsOwnerCode string The goods owner code of the connected goods owner if the file is connected to a goods owner.
ArticleNo string The article number of the connected article if the file is connected to an article.
ArticleName string The article name of the connected article if the file is connected to an article.
OrderNumber string The order number of the connected order if the file is connected to an order.
OrderId int The order id of the connected order if the file is connected to an order.
ArticleSystemId int The article id of the connected article if the file is connected to an article.