GetArticlesPackageTypes
This function lets you retrieve information about different package types available for specified articles.
Tags: GetArticlesPackageTypes, GetArticlesPackageTypesQuery, GetArticlesPackageTypesResponse, GetArticlesPackageTypesResult, ArticlePackageTypes, ArticlePackage, PackageType
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/GetArticlesPackageTypes"
<?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>
<GetArticlesPackageTypes xmlns="http://ongoingsystems.se/Automation">
<UserName>string</UserName>
<Password>string</Password>
<Query>
<ArticleDefIds>
<int>int</int>
<int>int</int>
</ArticleDefIds>
</Query>
</GetArticlesPackageTypes>
</soap:Body>
</soap:Envelope>
Request specification
GetArticlesPackageTypes |
UserName |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
Query |
GetArticlesPackageTypesQuery |
Req. |
The query object |
GetArticlesPackageTypesQuery |
ArticleDefIds |
int[] |
Req. |
The article def ids which you want to retrieve package types for |
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>
<GetArticlesPackageTypesResponse xmlns="http://ongoingsystems.se/Automation">
<GetArticlesPackageTypesResult>
<Message>string</Message>
<Success>boolean</Success>
<ArticlePackageTypes>
<ArticlePackageTypes>
<ArticleDefId>int</ArticleDefId>
<PackageTypes>
<ArticlePackage>
<MaxQuantityPerPalletType>decimal</MaxQuantityPerPalletType>
<PackageType>
<Name>string</Name>
<Code>string</Code>
<Id>int</Id>
</PackageType>
</ArticlePackage>
<ArticlePackage>
<MaxQuantityPerPalletType>decimal</MaxQuantityPerPalletType>
<PackageType>
<Name>string</Name>
<Code>string</Code>
<Id>int</Id>
</PackageType>
</ArticlePackage>
</PackageTypes>
</ArticlePackageTypes>
<ArticlePackageTypes>
<ArticleDefId>int</ArticleDefId>
<PackageTypes>
<ArticlePackage>
<MaxQuantityPerPalletType>decimal</MaxQuantityPerPalletType>
<PackageType>
<Name>string</Name>
<Code>string</Code>
<Id>int</Id>
</PackageType>
</ArticlePackage>
<ArticlePackage>
<MaxQuantityPerPalletType>decimal</MaxQuantityPerPalletType>
<PackageType>
<Name>string</Name>
<Code>string</Code>
<Id>int</Id>
</PackageType>
</ArticlePackage>
</PackageTypes>
</ArticlePackageTypes>
</ArticlePackageTypes>
</GetArticlesPackageTypesResult>
</GetArticlesPackageTypesResponse>
</soap:Body>
</soap:Envelope>
Response specification
GetArticlesPackageTypesResponse |
GetArticlesPackageTypesResult |
GetArticlesPackageTypesResult |
|
GetArticlesPackageTypesResult |
Message |
string |
If the call failed, this field contains the error message |
Success |
boolean |
True if the call succeeded, false otherwise |
ArticlePackageTypes |
ArticlePackageTypes[] |
A list of ArticlePackageTypes objects |
ArticlePackageTypes |
ArticleDefId |
int |
The article def id of the article |
PackageTypes |
ArticlePackage[] |
A list of available ArticlePackage objects for this article def |
ArticlePackage |
MaxQuantityPerPalletType |
decimal |
The maximum quantity for this package type |
PackageType |
PackageType |
An PackageType object |
PackageType |
Name |
string |
The package type name |
Code |
string |
The package type code |
Id |
int |
The package type id |