Resource: contactperson.nv
HTTP-method: POST
The resource can be used to import contact persons to the customer card.
The data to import is sent with the query as an XML with the following structure (POST-data):
| Level | Element | Type | Occurs | Description | Example |
| Root | root | Aggregate | 1 | ||
| 1 | contactperson |
Aggregate | 1 | ||
| 2 | method |
method | 1 | add|edit|delete | |
| 2 | customeridentifier |
Numeric | 1 | Customer's netvisorkey |
12 |
| Attr. |
type | String | 1 |
netvisor |
netvisor |
| 2 | contactpersonidentifier |
String | 0...1 | Contact person's netvisorkey, if editing or deleting contact person |
1 |
| Attr. |
type | String | 1 |
netvisor | netvisor |
| 2 | isdefault |
String | 0...1 |
True, sets contact person as default, not possible to remove default | true |
| 2 |
firstname |
String, max. 100 | 1 | First name | |
| 2 |
lastname |
String, max. 100 | 1 | Last name |
|
| 2 |
language |
String | 1 | FI|EN|SE | |
| Attr. | type | String | 1 | Always ISO-3166 |
|
| 2 | phonenumber | Numeric, max. 80 |
0...1 | Phone number |
|
| 2 | String, max. 200 | 0...1 | Email address | ||
| 2 |
title | String, max. 200 | 0...1 | ||
| 2 | officeidentifier |
String | 0...1 | Contact person's office netvisorkey, reset with value 0 |
|
| Attr. |
type | String | 1 | netvisor | |
| 2 |
positionidentifier |
String | 0...1 | Contact person's position netvisorkey, reset with value 0 | |
| Attr. |
type | String |
1 | netvisor | |
| 2 | contactpersonaddress | Aggregate | 1 | ||
| 3 | streetaddress | String, max. 80 | 0...1 | Address | |
| 3 | postnumber |
Numeric, max. 50 | 0...1 | Post number | |
| 3 | city |
String, max. 80 | 0...1 | City | |
| 3 | country | String | 0...1 | Country | |
| Attr. | type |
String | 1 | Always ISO-3166 |
Did you find it helpful? Yes No
Send feedback