POST api/Articles
Request Information
URI Parameters
None.
Body Parameters
Article| Name | Description | Type | Additional information |
|---|---|---|---|
| TwiProductId | string |
None. |
|
| ArticleId | string |
None. |
|
| ArticleIdExtension | string |
None. |
|
| Description | string |
None. |
|
| EanCode | string |
None. |
|
| Weight | integer |
None. |
|
| Unit | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| InStock | integer |
None. |
|
| OnOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TwiProductId": "sample string 1",
"ArticleId": "sample string 2",
"ArticleIdExtension": "sample string 3",
"Description": "sample string 4",
"EanCode": "sample string 5",
"Weight": 1,
"Unit": "sample string 6",
"UnitPrice": 1.0,
"InStock": 7,
"OnOrder": 8
}
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="www.twi.nl"> <TwiProductId>sample string 1</TwiProductId> <ArticleId>sample string 2</ArticleId> <ArticleIdExtension>sample string 3</ArticleIdExtension> <Description>sample string 4</Description> <EanCode>sample string 5</EanCode> <Weight>1</Weight> <Unit>sample string 6</Unit> <UnitPrice>1</UnitPrice> <InStock>7</InStock> <OnOrder>8</OnOrder> </Article>
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. |