PUT api/Debtor

Updates a creditor or debtor: CustomerType = 'S' for a creditor (supplier). CustomerType = 'C' for a debtor (customer). Attention: The ID is a manditory field.

Request Information

URI Parameters

None.

Body Parameters

Crediteur of Debiteur

Account
NameDescriptionTypeAdditional information
AccountCode

string

None.

AccountName

string

None.

AccountManagerID

integer

None.

AccountStatus

string

None.

AllowPartialDelivery

boolean

None.

AllowBackorder

boolean

None.

AutoAllocate

boolean

None.

BankAccount

string

None.

BankAccountType

string

None.

BICCode

string

None.

Blocked

boolean

None.

ChamberofCommerceNumber

string

None.

ClassificationID

string

None.

CodeatSupplier

string

None.

CollectionInvoice

boolean

None.

CompanyCode

string

None.

CompanySize

string

None.

CreditLine

decimal number

None.

CreditorCode

string

None.

CreditorNumber

string

None.

CurrencyCode

string

None.

CustomerType

string

None.

CustomerStatus

string

None.

DateFreeField1

date

None.

DateFreeField2

date

None.

DateFreeField3

date

None.

DateFreeField4

date

None.

DateFreeField5

date

None.

DateLastReminder

date

None.

DebtorCode

string

None.

DebtorNumber

string

None.

DefaultSelCode

string

None.

DeliveryAddressline1

string

None.

DeliveryAddressline2

string

None.

DeliveryAddressline3

string

None.

DeliveryCity

string

None.

DeliveryCountry

string

None.

DeliveryCounty

string

None.

DeliveryMethod

string

None.

DeliveryPostCode

string

None.

Discount

decimal number

None.

EmailAddress

string

None.

FaxNumber

string

None.

GuidFreeField1

globally unique identifier

None.

GuidFreeField2

globally unique identifier

None.

GuidFreeField3

globally unique identifier

None.

GuidFreeField4

globally unique identifier

None.

GuidFreeField5

globally unique identifier

None.

IBAN

string

None.

ID

string

None.

IntegerFreeField1

integer

None.

IntegerFreeField2

integer

None.

IntegerFreeField3

integer

None.

IntegerFreeField4

integer

None.

IntegerFreeField5

integer

None.

InvoiceAddress

string

None.

InvoiceAddress2

string

None.

InvoiceAddress3

string

None.

InvoiceAddressPostCode

string

None.

InvoiceCity

string

None.

InvoiceCopies

integer

None.

InvoiceCountry

string

None.

InvoiceCounty

string

None.

InvoiceDebtor

string

None.

JournalCode

string

None.

MailingAddress1

string

None.

MailingAddress2

string

None.

MailingAddress3

string

None.

MailingCity

string

None.

MailingCountry

string

None.

MailingCounty

string

None.

MailingPostcode

string

None.

ModifiedDate

date

None.

Modifier

integer

None.

NumberFreeField1

decimal number

None.

NumberFreeField2

decimal number

None.

NumberFreeField3

decimal number

None.

NumberFreeField4

decimal number

None.

NumberFreeField5

decimal number

None.

OffsetLedgerAccount

string

None.

Parent

globally unique identifier

None.

PaymentCondition

string

None.

PhoneExtension

string

None.

PhoneNumber

string

None.

PostalAddressLine1

string

None.

PostalAddressLine2

string

None.

PostalAddressLine3

string

None.

PostalCity

string

None.

PostalCountry

string

None.

PostalCounty

string

None.

PostalPostCode

string

None.

PriceList

string

None.

PurchaseOrderConfirmation

boolean

None.

Rating

string

None.

Reminder

boolean

None.

ResellerID

globally unique identifier

None.

SectorCode

string

None.

SignDate

date

None.

Source

string

None.

SubSector

string

None.

SupplierID

globally unique identifier

None.

TextFreeField1

string

None.

TextFreeField2

string

None.

TextFreeField3

string

None.

TextFreeField4

string

None.

TextFreeField5

string

None.

TextFreeField6

string

None.

TextFreeField7

string

None.

TextFreeField8

string

None.

TextFreeField9

string

None.

TextFreeField10

string

None.

TextFreeField11

string

None.

TextFreeField12

string

None.

TextFreeField13

string

None.

TextFreeField14

string

None.

TextFreeField15

string

None.

TextFreeField16

string

None.

TextFreeField17

string

None.

TextFreeField18

string

None.

TextFreeField19

string

None.

TextFreeField20

string

None.

TextFreeField21

string

None.

TextFreeField22

string

None.

TextFreeField23

string

None.

TextFreeField24

string

None.

TextFreeField25

string

None.

TextFreeField26

string

None.

TextFreeField27

string

None.

TextFreeField28

string

None.

TextFreeField29

string

None.

TextFreeField30

string

None.

VatCode

string

None.

VATLiability

string

None.

VATNumber

string

None.

WebAddress

string

None.

YesNoFreeField1

boolean

None.

YesNoFreeField2

boolean

None.

YesNoFreeField3

boolean

None.

YesNoFreeField4

boolean

None.

YesNoFreeField5

boolean

None.

ContactEmail

string

None.

ContactFaxNumber

string

None.

ContactFirstName

string

None.

ContactGender

string

None.

ContactID

string

None.

ContactInitials

string

None.

ContactLanguage

string

None.

ContactLastName

string

None.

ContactMiddleName

string

None.

ContactMobileNumber

string

None.

ContactModified

date

None.

ContactNumberField1

string

None.

ContactNumberField2

string

None.

ContactNumberField3

string

None.

ContactNumberField4

string

None.

ContactNumberField5

string

None.

ContactPhoneNumber

string

None.

ContactSuffix

string

None.

ContactTitle

string

None.

JobDescription

string

None.

JobTitle

string

None.

TransactionKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountCode": "sample string 1",
  "AccountName": "sample string 2",
  "AccountManagerID": 1,
  "AccountStatus": "sample string 3",
  "AllowPartialDelivery": true,
  "AllowBackorder": true,
  "AutoAllocate": true,
  "BankAccount": "sample string 4",
  "BankAccountType": "sample string 5",
  "BICCode": "sample string 6",
  "Blocked": true,
  "ChamberofCommerceNumber": "sample string 7",
  "ClassificationID": "sample string 8",
  "CodeatSupplier": "sample string 9",
  "CollectionInvoice": true,
  "CompanyCode": "sample string 10",
  "CompanySize": "sample string 11",
  "CreditLine": 1.1,
  "CreditorCode": "sample string 12",
  "CreditorNumber": "sample string 13",
  "CurrencyCode": "sample string 14",
  "CustomerType": "sample string 15",
  "CustomerStatus": "sample string 16",
  "DateFreeField1": "2019-04-20T22:13:51.2961607+02:00",
  "DateFreeField2": "2019-04-20T22:13:51.2961607+02:00",
  "DateFreeField3": "2019-04-20T22:13:51.2961607+02:00",
  "DateFreeField4": "2019-04-20T22:13:51.2961607+02:00",
  "DateFreeField5": "2019-04-20T22:13:51.2961607+02:00",
  "DateLastReminder": "2019-04-20T22:13:51.2961607+02:00",
  "DebtorCode": "sample string 17",
  "DebtorNumber": "sample string 18",
  "DefaultSelCode": "sample string 19",
  "DeliveryAddressline1": "sample string 20",
  "DeliveryAddressline2": "sample string 21",
  "DeliveryAddressline3": "sample string 22",
  "DeliveryCity": "sample string 23",
  "DeliveryCountry": "sample string 24",
  "DeliveryCounty": "sample string 25",
  "DeliveryMethod": "sample string 26",
  "DeliveryPostCode": "sample string 27",
  "Discount": 1.1,
  "EmailAddress": "sample string 28",
  "FaxNumber": "sample string 29",
  "GuidFreeField1": "fd7fbfb4-a1ad-4702-9c97-c0c79f4e38ff",
  "GuidFreeField2": "7be44273-a84f-4e6b-8269-81255ffd6168",
  "GuidFreeField3": "666614d0-ad1f-4b4f-858d-1a07a42071d4",
  "GuidFreeField4": "380c3db0-c36c-46ae-8316-02a9b4f760bc",
  "GuidFreeField5": "22f55789-f8eb-4173-a5cc-8069fa9f1823",
  "IBAN": "sample string 30",
  "ID": "sample string 31",
  "IntegerFreeField1": 1,
  "IntegerFreeField2": 1,
  "IntegerFreeField3": 1,
  "IntegerFreeField4": 1,
  "IntegerFreeField5": 1,
  "InvoiceAddress": "sample string 32",
  "InvoiceAddress2": "sample string 33",
  "InvoiceAddress3": "sample string 34",
  "InvoiceAddressPostCode": "sample string 35",
  "InvoiceCity": "sample string 36",
  "InvoiceCopies": 1,
  "InvoiceCountry": "sample string 37",
  "InvoiceCounty": "sample string 38",
  "InvoiceDebtor": "sample string 39",
  "JournalCode": "sample string 40",
  "MailingAddress1": "sample string 41",
  "MailingAddress2": "sample string 42",
  "MailingAddress3": "sample string 43",
  "MailingCity": "sample string 44",
  "MailingCountry": "sample string 45",
  "MailingCounty": "sample string 46",
  "MailingPostcode": "sample string 47",
  "ModifiedDate": "2019-04-20T22:13:51.2961607+02:00",
  "Modifier": 1,
  "NumberFreeField1": 1.1,
  "NumberFreeField2": 1.1,
  "NumberFreeField3": 1.1,
  "NumberFreeField4": 1.1,
  "NumberFreeField5": 1.1,
  "OffsetLedgerAccount": "sample string 48",
  "Parent": "23630787-a7de-4a7d-a001-1ca4f7707531",
  "PaymentCondition": "sample string 49",
  "PhoneExtension": "sample string 50",
  "PhoneNumber": "sample string 51",
  "PostalAddressLine1": "sample string 52",
  "PostalAddressLine2": "sample string 53",
  "PostalAddressLine3": "sample string 54",
  "PostalCity": "sample string 55",
  "PostalCountry": "sample string 56",
  "PostalCounty": "sample string 57",
  "PostalPostCode": "sample string 58",
  "PriceList": "sample string 59",
  "PurchaseOrderConfirmation": true,
  "Rating": "sample string 60",
  "Reminder": true,
  "ResellerID": "d2753d83-4224-49d0-a7f8-adbf99c9d276",
  "SectorCode": "sample string 61",
  "SignDate": "2019-04-20T22:13:51.2961607+02:00",
  "Source": "sample string 62",
  "SubSector": "sample string 63",
  "SupplierID": "e88aeff0-bf72-4468-b8ec-c8ab08f88199",
  "TextFreeField1": "sample string 64",
  "TextFreeField2": "sample string 65",
  "TextFreeField3": "sample string 66",
  "TextFreeField4": "sample string 67",
  "TextFreeField5": "sample string 68",
  "TextFreeField6": "sample string 69",
  "TextFreeField7": "sample string 70",
  "TextFreeField8": "sample string 71",
  "TextFreeField9": "sample string 72",
  "TextFreeField10": "sample string 73",
  "TextFreeField11": "sample string 74",
  "TextFreeField12": "sample string 75",
  "TextFreeField13": "sample string 76",
  "TextFreeField14": "sample string 77",
  "TextFreeField15": "sample string 78",
  "TextFreeField16": "sample string 79",
  "TextFreeField17": "sample string 80",
  "TextFreeField18": "sample string 81",
  "TextFreeField19": "sample string 82",
  "TextFreeField20": "sample string 83",
  "TextFreeField21": "sample string 84",
  "TextFreeField22": "sample string 85",
  "TextFreeField23": "sample string 86",
  "TextFreeField24": "sample string 87",
  "TextFreeField25": "sample string 88",
  "TextFreeField26": "sample string 89",
  "TextFreeField27": "sample string 90",
  "TextFreeField28": "sample string 91",
  "TextFreeField29": "sample string 92",
  "TextFreeField30": "sample string 93",
  "VatCode": "sample string 94",
  "VATLiability": "sample string 95",
  "VATNumber": "sample string 96",
  "WebAddress": "sample string 97",
  "YesNoFreeField1": true,
  "YesNoFreeField2": true,
  "YesNoFreeField3": true,
  "YesNoFreeField4": true,
  "YesNoFreeField5": true,
  "ContactEmail": "sample string 98",
  "ContactFaxNumber": "sample string 99",
  "ContactFirstName": "sample string 100",
  "ContactGender": "sample string 101",
  "ContactID": "sample string 102",
  "ContactInitials": "sample string 103",
  "ContactLanguage": "sample string 104",
  "ContactLastName": "sample string 105",
  "ContactMiddleName": "sample string 106",
  "ContactMobileNumber": "sample string 107",
  "ContactModified": "2019-04-20T22:13:51.2961607+02:00",
  "ContactNumberField1": "sample string 108",
  "ContactNumberField2": "sample string 109",
  "ContactNumberField3": "sample string 110",
  "ContactNumberField4": "sample string 111",
  "ContactNumberField5": "sample string 112",
  "ContactPhoneNumber": "sample string 113",
  "ContactSuffix": "sample string 114",
  "ContactTitle": "sample string 115",
  "JobDescription": "sample string 116",
  "JobTitle": "sample string 117",
  "TransactionKey": "sample string 118"
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Time.Common.Exact.Models">
  <TransactionKey>sample string 118</TransactionKey>
  <AccountCode>sample string 1</AccountCode>
  <AccountManagerID>1</AccountManagerID>
  <AccountName>sample string 2</AccountName>
  <AccountStatus>sample string 3</AccountStatus>
  <AllowBackorder>true</AllowBackorder>
  <AllowPartialDelivery>true</AllowPartialDelivery>
  <AutoAllocate>true</AutoAllocate>
  <BICCode>sample string 6</BICCode>
  <BankAccount>sample string 4</BankAccount>
  <BankAccountType>sample string 5</BankAccountType>
  <Blocked>true</Blocked>
  <ChamberofCommerceNumber>sample string 7</ChamberofCommerceNumber>
  <ClassificationID>sample string 8</ClassificationID>
  <CodeatSupplier>sample string 9</CodeatSupplier>
  <CollectionInvoice>true</CollectionInvoice>
  <CompanyCode>sample string 10</CompanyCode>
  <CompanySize>sample string 11</CompanySize>
  <ContactEmail>sample string 98</ContactEmail>
  <ContactFaxNumber>sample string 99</ContactFaxNumber>
  <ContactFirstName>sample string 100</ContactFirstName>
  <ContactGender>sample string 101</ContactGender>
  <ContactID>sample string 102</ContactID>
  <ContactInitials>sample string 103</ContactInitials>
  <ContactLanguage>sample string 104</ContactLanguage>
  <ContactLastName>sample string 105</ContactLastName>
  <ContactMiddleName>sample string 106</ContactMiddleName>
  <ContactMobileNumber>sample string 107</ContactMobileNumber>
  <ContactModified>2019-04-20T22:13:51.2961607+02:00</ContactModified>
  <ContactNumberField1>sample string 108</ContactNumberField1>
  <ContactNumberField2>sample string 109</ContactNumberField2>
  <ContactNumberField3>sample string 110</ContactNumberField3>
  <ContactNumberField4>sample string 111</ContactNumberField4>
  <ContactNumberField5>sample string 112</ContactNumberField5>
  <ContactPhoneNumber>sample string 113</ContactPhoneNumber>
  <ContactSuffix>sample string 114</ContactSuffix>
  <ContactTitle>sample string 115</ContactTitle>
  <CreditLine>1.1</CreditLine>
  <CreditorCode>sample string 12</CreditorCode>
  <CreditorNumber>sample string 13</CreditorNumber>
  <CurrencyCode>sample string 14</CurrencyCode>
  <CustomerStatus>sample string 16</CustomerStatus>
  <CustomerType>sample string 15</CustomerType>
  <DateFreeField1>2019-04-20T22:13:51.2961607+02:00</DateFreeField1>
  <DateFreeField2>2019-04-20T22:13:51.2961607+02:00</DateFreeField2>
  <DateFreeField3>2019-04-20T22:13:51.2961607+02:00</DateFreeField3>
  <DateFreeField4>2019-04-20T22:13:51.2961607+02:00</DateFreeField4>
  <DateFreeField5>2019-04-20T22:13:51.2961607+02:00</DateFreeField5>
  <DateLastReminder>2019-04-20T22:13:51.2961607+02:00</DateLastReminder>
  <DebtorCode>sample string 17</DebtorCode>
  <DebtorNumber>sample string 18</DebtorNumber>
  <DefaultSelCode>sample string 19</DefaultSelCode>
  <DeliveryAddressline1>sample string 20</DeliveryAddressline1>
  <DeliveryAddressline2>sample string 21</DeliveryAddressline2>
  <DeliveryAddressline3>sample string 22</DeliveryAddressline3>
  <DeliveryCity>sample string 23</DeliveryCity>
  <DeliveryCountry>sample string 24</DeliveryCountry>
  <DeliveryCounty>sample string 25</DeliveryCounty>
  <DeliveryMethod>sample string 26</DeliveryMethod>
  <DeliveryPostCode>sample string 27</DeliveryPostCode>
  <Discount>1.1</Discount>
  <EmailAddress>sample string 28</EmailAddress>
  <FaxNumber>sample string 29</FaxNumber>
  <GuidFreeField1>fd7fbfb4-a1ad-4702-9c97-c0c79f4e38ff</GuidFreeField1>
  <GuidFreeField2>7be44273-a84f-4e6b-8269-81255ffd6168</GuidFreeField2>
  <GuidFreeField3>666614d0-ad1f-4b4f-858d-1a07a42071d4</GuidFreeField3>
  <GuidFreeField4>380c3db0-c36c-46ae-8316-02a9b4f760bc</GuidFreeField4>
  <GuidFreeField5>22f55789-f8eb-4173-a5cc-8069fa9f1823</GuidFreeField5>
  <IBAN>sample string 30</IBAN>
  <ID>sample string 31</ID>
  <IntegerFreeField1>1</IntegerFreeField1>
  <IntegerFreeField2>1</IntegerFreeField2>
  <IntegerFreeField3>1</IntegerFreeField3>
  <IntegerFreeField4>1</IntegerFreeField4>
  <IntegerFreeField5>1</IntegerFreeField5>
  <InvoiceAddress>sample string 32</InvoiceAddress>
  <InvoiceAddress2>sample string 33</InvoiceAddress2>
  <InvoiceAddress3>sample string 34</InvoiceAddress3>
  <InvoiceAddressPostCode>sample string 35</InvoiceAddressPostCode>
  <InvoiceCity>sample string 36</InvoiceCity>
  <InvoiceCopies>1</InvoiceCopies>
  <InvoiceCountry>sample string 37</InvoiceCountry>
  <InvoiceCounty>sample string 38</InvoiceCounty>
  <InvoiceDebtor>sample string 39</InvoiceDebtor>
  <JobDescription>sample string 116</JobDescription>
  <JobTitle>sample string 117</JobTitle>
  <JournalCode>sample string 40</JournalCode>
  <MailingAddress1>sample string 41</MailingAddress1>
  <MailingAddress2>sample string 42</MailingAddress2>
  <MailingAddress3>sample string 43</MailingAddress3>
  <MailingCity>sample string 44</MailingCity>
  <MailingCountry>sample string 45</MailingCountry>
  <MailingCounty>sample string 46</MailingCounty>
  <MailingPostcode>sample string 47</MailingPostcode>
  <ModifiedDate>2019-04-20T22:13:51.2961607+02:00</ModifiedDate>
  <Modifier>1</Modifier>
  <NumberFreeField1>1.1</NumberFreeField1>
  <NumberFreeField2>1.1</NumberFreeField2>
  <NumberFreeField3>1.1</NumberFreeField3>
  <NumberFreeField4>1.1</NumberFreeField4>
  <NumberFreeField5>1.1</NumberFreeField5>
  <OffsetLedgerAccount>sample string 48</OffsetLedgerAccount>
  <Parent>23630787-a7de-4a7d-a001-1ca4f7707531</Parent>
  <PaymentCondition>sample string 49</PaymentCondition>
  <PhoneExtension>sample string 50</PhoneExtension>
  <PhoneNumber>sample string 51</PhoneNumber>
  <PostalAddressLine1>sample string 52</PostalAddressLine1>
  <PostalAddressLine2>sample string 53</PostalAddressLine2>
  <PostalAddressLine3>sample string 54</PostalAddressLine3>
  <PostalCity>sample string 55</PostalCity>
  <PostalCountry>sample string 56</PostalCountry>
  <PostalCounty>sample string 57</PostalCounty>
  <PostalPostCode>sample string 58</PostalPostCode>
  <PriceList>sample string 59</PriceList>
  <PurchaseOrderConfirmation>true</PurchaseOrderConfirmation>
  <Rating>sample string 60</Rating>
  <Reminder>true</Reminder>
  <ResellerID>d2753d83-4224-49d0-a7f8-adbf99c9d276</ResellerID>
  <SectorCode>sample string 61</SectorCode>
  <SignDate>2019-04-20T22:13:51.2961607+02:00</SignDate>
  <Source>sample string 62</Source>
  <SubSector>sample string 63</SubSector>
  <SupplierID>e88aeff0-bf72-4468-b8ec-c8ab08f88199</SupplierID>
  <TextFreeField1>sample string 64</TextFreeField1>
  <TextFreeField10>sample string 73</TextFreeField10>
  <TextFreeField11>sample string 74</TextFreeField11>
  <TextFreeField12>sample string 75</TextFreeField12>
  <TextFreeField13>sample string 76</TextFreeField13>
  <TextFreeField14>sample string 77</TextFreeField14>
  <TextFreeField15>sample string 78</TextFreeField15>
  <TextFreeField16>sample string 79</TextFreeField16>
  <TextFreeField17>sample string 80</TextFreeField17>
  <TextFreeField18>sample string 81</TextFreeField18>
  <TextFreeField19>sample string 82</TextFreeField19>
  <TextFreeField2>sample string 65</TextFreeField2>
  <TextFreeField20>sample string 83</TextFreeField20>
  <TextFreeField21>sample string 84</TextFreeField21>
  <TextFreeField22>sample string 85</TextFreeField22>
  <TextFreeField23>sample string 86</TextFreeField23>
  <TextFreeField24>sample string 87</TextFreeField24>
  <TextFreeField25>sample string 88</TextFreeField25>
  <TextFreeField26>sample string 89</TextFreeField26>
  <TextFreeField27>sample string 90</TextFreeField27>
  <TextFreeField28>sample string 91</TextFreeField28>
  <TextFreeField29>sample string 92</TextFreeField29>
  <TextFreeField3>sample string 66</TextFreeField3>
  <TextFreeField30>sample string 93</TextFreeField30>
  <TextFreeField4>sample string 67</TextFreeField4>
  <TextFreeField5>sample string 68</TextFreeField5>
  <TextFreeField6>sample string 69</TextFreeField6>
  <TextFreeField7>sample string 70</TextFreeField7>
  <TextFreeField8>sample string 71</TextFreeField8>
  <TextFreeField9>sample string 72</TextFreeField9>
  <VATLiability>sample string 95</VATLiability>
  <VATNumber>sample string 96</VATNumber>
  <VatCode>sample string 94</VatCode>
  <WebAddress>sample string 97</WebAddress>
  <YesNoFreeField1>true</YesNoFreeField1>
  <YesNoFreeField2>true</YesNoFreeField2>
  <YesNoFreeField3>true</YesNoFreeField3>
  <YesNoFreeField4>true</YesNoFreeField4>
  <YesNoFreeField5>true</YesNoFreeField5>
</Account>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Account'.

Response Information

Resource Description

true als het is gelukt

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>