Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The customer entity is referencing several other entities.

The schema  is this one for version <= 2.4:

  • Customer

    • Third

      • DefautAddress

      • Addresses (List of OM.Address)

      • Contacts (List of OM.Third_Contact)

      • BankAccounts (List of OM.BankAccount)

The schema  is this one for version >= 2.5:

  • Customer

    • Third

      • DefautAddress

      • Addresses (List of OM.Third_Address)

      • Contacts (List of OM.Third_Contact)

      • BankAccounts (List of OM.BankAccount)


OM

Customer

Type: OM.Accounting.Customer

...

PropertyTypeId fieldFriendly property codeComment

Code

string



Should be the same as the code of the Customer

ThirdCivility

OM.ThirdCivility

ThirdCivility_Id

CivilityCode

Ex: "NV"

VatCountry

OM.Country

VatCountry_Id

VatCountryCode

Ex: "BE"

Language

OM.Language

Language_Id

LanguageCode

Ex: "nl"

Currency

OM.Currency

Currency_Id

CurrencyCode

Ex: "EUR"

DefautAddress

OM.DefaultAddress




Addresses

List of OM.Address
List of OM.Third_Address



for version <= 2.4
for version >= 2.5

Contacts

List of OM.Third_Contact




BankAccountsList of OM.BankAccount


VatNumber

string



Ex: "0000000196" (without formatting)

WebSite

string



Ex: "www.bebop.be"

...

No Format
{
    "$type": "Winbooks.TORM.OM.Address, Winbooks.TORM.OM",
    "TotalLevel": 1,
    "Version": 13,
    "Modified": "/Date(1520504972000)/",
    "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6",
    "Created": "/Date(1520327985000)/",
    "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6",
    "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70",
    "Third_Id": "7fd099fb-1a6e-43c6-b315-a85d0117d790",
    "Country_Id": "4bb898f0-21ba-4ea9-9c35-a74d006cd473",
    "Index": 0,
    "Address1": "Vuchtlaan 76",
    "Address2": "",
    "Town": "Antwerpen  ",
    "Zip": "2000  ",
    "Name": "",
    "Number": "",
    "Box": "",
    "PhoneNo": "+3233215476",
    "FaxNo": "",
    "MemoType": 0,
    "Memo": "",
    "IsDelivering": true,
    "IsDeliveringDefault": true,
    "IsPosting": true,
    "IsPostingDefault": true,
    "IsInvoicing": true,
    "IsInvoicingDefault": true,
    "Id": "56e918d4-0cc0-42db-a040-a89b00aa382d",
    "ResultState": 0,
    "ActionState": 0,
    "CachedCollection": {},
    "IsBinding": false,
    "IsSpecifiedId": false,
    "IsDirty": false,
    "UpdatedEntities": {},
    "Custom": {},
    "UpdatedProperties": [],
    "UpdatedValues": [],
    "FolderCode": "JF_TEST_RESTAPI",
    "ThirdCode": "BEBOP",
    "CountryCode": "BE"
}


Third_Address (version >= 2.5)


Third_Contact

Type: OM.Third_Contact

...