GetArticleClasses

This function is used to see which article classes are available for a goods owner.

To add a particular class to an article, use the Classes tag in ProcessArticle.

Tags: GetArticleClasses, GetArticleClassesResult, ArticleClassResult

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

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

Request specification

GetArticleClasses
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>
    <GetArticleClassesResponse xmlns="http://ongoingsystems.se/WSI">
      <GetArticleClassesResult>
        <ArticleClasses>
          <ArticleClassResult>
            <Name>string</Name>
            <Code>string</Code>
            <Comment>string</Comment>
            <Id>int</Id>
          </ArticleClassResult>
          <ArticleClassResult>
            <Name>string</Name>
            <Code>string</Code>
            <Comment>string</Comment>
            <Id>int</Id>
          </ArticleClassResult>
        </ArticleClasses>
      </GetArticleClassesResult>
    </GetArticleClassesResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetArticleClassesResult
ArticleClasses object Containing elements of ArticleClassResult
ArticleClassResult
Name str(50) The name of the class
Code str(50) The code of the class
Comment str(200) A comment for the class
Id int Ongoing's internal id for the class