POST api/POS/EditArticle
Request Information
URI Parameters
None.
Body Parameters
PosArticleEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ArticleId | integer |
None. |
|
| UserId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| InfoText | string |
None. |
|
| Price | decimal number |
None. |
|
| PosArticleTypeId | integer |
None. |
|
| TaxId | integer |
None. |
|
| Qty | string |
None. |
|
| EAN | integer |
None. |
|
| VerificationTypeId | integer |
None. |
|
| PackagingRefundArticleId | integer |
None. |
|
| PosImageId | integer |
None. |
|
| IsGlobalArticle | boolean |
None. |
|
| EANv2 | string |
None. |
|
| ArticleCreateMode | ArticleCreateMode |
None. |
|
| WarningLabelIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArticleId": 1,
"UserId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"InfoText": "sample string 4",
"Price": 1.0,
"PosArticleTypeId": 1,
"TaxId": 1,
"Qty": "sample string 5",
"EAN": 1,
"VerificationTypeId": 1,
"PackagingRefundArticleId": 1,
"PosImageId": 1,
"IsGlobalArticle": true,
"EANv2": "sample string 7",
"ArticleCreateMode": 0,
"WarningLabelIds": [
1,
2
]
}
text/html
Sample:
{"ArticleId":1,"UserId":1,"Name":"sample string 2","Description":"sample string 3","InfoText":"sample string 4","Price":1.0,"PosArticleTypeId":1,"TaxId":1,"Qty":"sample string 5","EAN":1,"VerificationTypeId":1,"PackagingRefundArticleId":1,"PosImageId":1,"IsGlobalArticle":true,"EANv2":"sample string 7","ArticleCreateMode":0,"WarningLabelIds":[1,2]}
application/xml, text/xml
Sample:
<PosArticleEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Msa.Online.OrderbobApi.Models.POSSystem">
<ArticleCreateMode>Global</ArticleCreateMode>
<ArticleId>1</ArticleId>
<Description>sample string 3</Description>
<EAN>1</EAN>
<EANv2>sample string 7</EANv2>
<InfoText>sample string 4</InfoText>
<IsGlobalArticle>true</IsGlobalArticle>
<Name>sample string 2</Name>
<PackagingRefundArticleId>1</PackagingRefundArticleId>
<PosArticleTypeId>1</PosArticleTypeId>
<PosImageId>1</PosImageId>
<Price>1</Price>
<Qty>sample string 5</Qty>
<TaxId>1</TaxId>
<UserId>1</UserId>
<VerificationTypeId>1</VerificationTypeId>
<WarningLabelIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</WarningLabelIds>
</PosArticleEditModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |