Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


Supported methods

GET /BusinessPartner

 

Get a slit of BusinessPartner objects. Should be filtered to avoid fetching huge amounts of data.

 

Search parameters: See http://confluence.dataloy.com/display/VMSINT/Filtering


GET /BusinessPartner/{key}

Get a single Cargo object


POST /BusinessPartner

Insert a new BusinesspPartner object

Required fields: businessPartner: businessPartnerCode, businessPartnerType, businessPartnerSort

Unique fields: businessPartner: businessPartnerCode, businessPartnerSort


PUT /BusinessPartner

Update an existing BusinessPartner. Unchanged properties can be skipped.


 

Any field that takes a code can take an ID instead.

Code fields:
businessPartner: businessUnit, baselineTerm, payee, paymentTerms, bankAccountNo, businessPartnerType

 

ID fields

businessPartner:  

 

Boolean fields

businessPartner: isInterCompany, isTotalCommissionPayable

 

Fields without quotes, that are not IDs, are numeric values.

Fields with quotes, that are not code fields, are alphanumeric strings.

 

 

Properties

 

PropertyTypeLengthMandatoryDescriptionComments
businessUnit
/BusinessUnit    
baselineTerm
/BaselineTerm    
payee
/BusinessPartner    
paymentTerms
/PaymentTerms    
bankAccount
/BankAccount    
businessPartnerName
String80yes  
businessPartnerCode
String12yes  
businessPartnerName2
String80   
businessPartnerSort
String20yes  
businessPartnerLink/BusinessPartner   new
companyRegistrationNo
String24   
isInterCompany
Boolean    
isTotalCommissionPayable
Boolean    
maxAdvancePaymentPercent
Integer    
vatNumber
String24   
businessPartnerType
/BusinessPartnerType    
companyBankAccount
/BankAccount    
individuals
Array of /Individual    
addresses
Array of /Address    
contactInfoArray of /ContactInfo    
codePropertyString   new
bankAccountsArray of /BankAccount   new


New BusinessPartner example

This example demonstrates how to create a new BusinessPartner object:

POST /BusinessPartner

RequestBody:

{
    "businessUnit": null,
    "baselineTerm": "LOAD",
    "payee": "P200240",
    "paymentTerms": "IMD",
    "bankAccount": null,
    "businessPartnerName": "Spliethoff''s Bevrachtingskantoor B.V.",
    "businessPartnerCode": "123456789-1",
    "businessPartnerName2": "Spliethoff''s Bevrachtingskantoor B.V.",
    "businessPartnerSort": "Spliethoff NL",
    "companyRegistrationNo": "123456789",
    "isInterCompany": false,
    "isTotalCommissionPayable": true,
    "maxAdvancePaymentPercent": 100,
    "vatNumber": "123456879",
    "businessPartnerType": "BB",
    "companyBankAccount": null,
    "individuals": [
        {
            "individualName": "Test Person"
        },
        {
            "individualName": "Test Person2"
        }
    ],
    "remarks": [
        {
            "remarkTitle": "A Remark title",
            "remark": "This is a remark on a Various"
        },
        {
            "remarkTitle": "Another remark title",
            "remark": "This is another remark on a Various.\n\nThis is the line after the blank line."
        }
    ],
    "addresses": [
    {
        "country": "NL",
        "address1": "Street Name 54",
        "address2": "5th floor",
        "address3": "",
        "city": "Amsterdam",
        "postalCode": "1000 AA"
    }
    ],
    "contactInfo": [
        {
            "email": "test@test.com",
            "faxNo": "55555555",
            "mobileNo": "66666666",
            "phoneNo": "77777777",
            "telexNo": "88888888"
        }
    ]
}


 

  • No labels