Read supplier cards
You use this method to read one or more supplier cards.
Request method
GET
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/Supplier?{Key}={KeyValues}[&fields={FieldList}]
Context identification
| Identification | Description |
|---|---|
| DossierId | The unique identifier of the dossier. |
Parameters
| Parameter | Description |
|---|---|
| {Key} | The available keys to seek one or more suppliers: |
| Fields | List of fields, containing property names of the supplier card, of which the value has to be returned in the response body. (optional) |
https://ponte.venice.be/WebConnect/api/Demo/Supplier?NumberPair=2%091&fields=Name,PostalCode,City
Request header
See request header.
Request body
-Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- Suppliers (array)
- Supplier (array item)
- Fields (object)
Examples
{
"Response": {
"Suppliers": {
"Supplier": [
{
"Fields" : {
"Name": "My supplier NV",
"PostalCode": "8200",
"City": "Brugge"
}
}
]
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<Response>
<Suppliers>
<Supplier>
<Fields>
<Name>My supplier NV</Name>
<PostalCode>8200</PostalCode>
<City>Brugge</City>
</Fields>
</Supplier>
</Suppliers>
</Response>