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, GetArticleClassesResponse, 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 |
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>
<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
GetArticleClassesResponse |
GetArticleClassesResult |
GetArticleClassesResult |
|
GetArticleClassesResult |
ArticleClasses |
ArticleClassResult[] |
Containing elements of ArticleClassResult |
ArticleClassResult |
Name |
string(50) |
The name of the class |
Code |
string(50) |
The code of the class |
Comment |
string(200) |
A comment for the class |
Id |
int |
Ongoing's internal id for the class |