POST api/v{version}/Contacts/UpdateInvoiceContact?key={key}
Modifies or creates a contact, who also gets modified/created as an invoice contact
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
The API key |
string |
Required |
version | string |
None. |
Body Parameters
The contact to modify/create
InvoiceContactInDTOName | Description | Type | Additional information |
---|---|---|---|
Active | boolean |
None. |
|
AutomaticUbl | boolean |
None. |
|
City | string |
None. |
|
Code | integer |
None. |
|
Country | string |
None. |
|
ExternalID | string |
None. |
|
FunctionalType | string |
None. |
|
GermanCustomerCode | integer |
None. |
|
Header1 | string |
None. |
|
Header2 | string |
None. |
|
Header3 | string |
None. |
|
InvoiceCity | string |
None. |
|
InvoiceCountry | string |
None. |
|
InvoiceProvince | string |
None. |
|
InvoiceStreet | string |
None. |
|
InvoiceZip | string |
None. |
|
ISOCountryCode | string |
None. |
|
ISOCurrencyCode | string |
None. |
|
LanguageID | integer |
None. |
|
Name | string |
None. |
|
ParentID | string |
None. |
|
PaymentConditionCode | string |
None. |
|
Province | string |
None. |
|
Street | string |
None. |
|
TelephoneNumber | string |
None. |
|
TrueType | string |
None. |
|
VATCode | string |
None. |
|
VATNumber | string |
None. |
|
Zip | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Active": true, "AutomaticUbl": true, "City": "sample string 2", "Code": 3, "Country": "sample string 4", "ExternalID": "sample string 5", "FunctionalType": "sample string 6", "GermanCustomerCode": 1, "Header1": "sample string 7", "Header2": "sample string 8", "Header3": "sample string 9", "InvoiceCity": "sample string 10", "InvoiceCountry": "sample string 11", "InvoiceProvince": "sample string 12", "InvoiceStreet": "sample string 13", "InvoiceZip": "sample string 14", "ISOCountryCode": "sample string 15", "ISOCurrencyCode": "sample string 16", "LanguageID": 17, "Name": "sample string 18", "ParentID": "sample string 19", "PaymentConditionCode": "sample string 20", "Province": "sample string 21", "Street": "sample string 22", "TelephoneNumber": "sample string 23", "TrueType": "sample string 24", "VATCode": "sample string 25", "VATNumber": "sample string 26", "Zip": "sample string 27" }
Response Information
Resource Description
Collection of imp_InsertInvoiceContact_ResultName | Description | Type | Additional information |
---|---|---|---|
ColumnName | string |
None. |
|
ErrorText | string |
None. |
|
LineNumber | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ColumnName": "sample string 1", "ErrorText": "sample string 2", "LineNumber": 1 }, { "ColumnName": "sample string 1", "ErrorText": "sample string 2", "LineNumber": 1 } ]