The request body contains the data you want to insert or modify.
The response body contains the data you have asked for or an error response when an error occurs.
The data may be formatted in json or xml.
WebConnect expects all data is supplied in one root object 'Request'. This root object always contains an array node which contains just one object.
In case of getting data the response body contains one root object 'Response'. This root object contains an array node which contains one or more objects.
{ "Request": { "Customers": { "Customer": [ { "Fields" : { "Name": "ADRI NV", "VatNum": "BE 0000.000.097", } } ] } } }
<?xml version="1.0" encoding="utf-8" ?> <Request> <Customers> <Customer> <Fields> <Name>ADRI NV</Name> <VatNum>BE 0000.000.097</VatNum> </Fields> </Customer> </Customers> </Request>
The following rules apply:
An object contains the information of a card or document. This information is structured in one of more field lists.
A field can represent different types of information. The formatting needs to be appropriate.
Character | Description |
---|---|
\" | Double quote |
\\ | Backslash caracter |
\/ | Forward slash |
\b | Backspace |
\f | Form feed |
\n | New line |
\r | Carriage return |
\t | Tab |
\udddd | The Unicode character specified with \u and four-hexadecimal-digits |
Character | Description |
---|---|
" | Double quote |
' | Single quote (apostrophe) |
> | Greater than sign |
< | Less than sign |
& | ampersand |
"BrowseVisible": "true", "ExpTerm": "30", "ComDiscount": "5.00", "Name": "ADRI NV", "LastUsed": "2024-04-18", "CreTime": "09:05:17"
<BrowseVisible>true</BrowseVisible> <ExpTerm>30</ExpTerm> <ComDiscount>5.00</ComDiscount> <Name>ADRI NV</Name> <LastUsed>2024-04-18</LastUsed> <CreTime>09:05:17</CreTime>