Create article card
You use this method to create a new article card.
Request method
POST
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/Article
Context identification
| Identification | Description |
|---|---|
| DossierId | The unique identifier of the dossier. |
https://ponte.venice.be/webconnect/api/Demo/Article
Request header
See request header.
Request body
Structure
Request (object)
- Articles (array)
- Article (limited to one) (array item)
- Fields (object)
- Parts (array)
- Part (array item)
- Fields (object)
Examples
{
"Request": {
"Articles": {
"Article": [
{
"Fields" : {
"Number": "MyArticle",
"DscLng1": "My article description",
"SalesPrice": "1.50",
...
},
"Parts": {
"Part": [
{
"Fields": {
"ArtNumPart": "MyPart",
"Quantity": "1.00",
"PrintMode": "prmWithParts"
...
}
},
...
]
}
}
]
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<Request>
<Articles>
<Article>
<Fields>
<Number>MyArticle</Number>
<DscLng1>My article description</DscLng1>
<SalesPrice>1.50</SalesPrice>
...
</Fields>
<Parts>
<Part>
<Fields>
<ArtNumPart>MyPart</ArtNumPart>
<Quantity>1.00</Quantity>
<PrintMode>prmWithParts</PrintMode>
...
</Fields>
...
</Part>
</Parts>
</Article>
</Articles>
</Request>
Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- System number
Examples
{
"Response": {
"SystemNumber": "5"
}
}
<?xml version="1.0" encoding="utf-8"?> <Response> <SystemNumber>5</SystemNumber> </Response>