RegisterClient
Examples
ClientClient client = new ClientClient();
RegisterClientRequest registerClientRequest = new RegisterClientRequest
{
IDNumber = "490709-8299",
FullName = "ClientFullName",
Street = "Streetofcreditor",
City = "Cityofcreditor",
ZipCode = "12345",
CountryCode = "SE",
LanguageCode = "SE",
CurrencyCode = "SEK",
CountryCodeOfOperation = "SE"
};
RegisterClientResult registerClientResult = new RegisterClientResult();
client.RegisterClient(new SessionHeader(), registerClientRequest, out registerClientResult);
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:RegisterClient>
<urn:client>
<urn:City>City</urn:City>
<urn:CountryCode>SV</urn:CountryCode>
<urn:CurrencyCode>SEK</urn:CurrencyCode>
<urn:FullName>ClientName</urn:FullName>
<urn:IDNumber>556655-6659</urn:IDNumber>
<urn:LanguageCode>EN</urn:LanguageCode>
<urn:Street>Street</urn:Street>
<urn:ZipCode>54140</urn:ZipCode>
</urn:client>
</urn:RegisterClient>
</soapenv:Body>
</soapenv:Envelope>Input
-
client Mandatory
Client identification parameters.ObjectRegisterClientRegisterClient class-
RegisterClientRequest
Register client requestObjectRegisterClientRequestGeneral class for representing input of method RegisterClient.-
Bankaccounts
List of creditor bank accounts.ArrayObjectPartyBankAccountParty bank account information-
AccessGroups
AccessGroups value.string -
AccountBalance
Account balance value.decimal -
AccountingCode
Accounting code.string -
AccountingCodeOverpayments
Accounting code, overpayments.string -
AccountingCodeUnspecified
Accounting code, unspecified.string -
AllowDisbursementsFrom Mandatory
Is disbursement allowed from this account.bool -
AllowDisbursementsTo Mandatory
Is disbursement allowed to this account.bool -
AllowPayments Mandatory
Account payment allowance type.EnumBankAccountAllowPaymentsHow bank account will allow payments.-
NoNot at all. -
AllowPaymentsAllow payments. -
AllowNettingsAllow nettings.
-
-
Bank
Bank reference code (dat_party.referencecode (partytypeid = _BANK)).string -
BankAccountClass
Bank account class, corresponding to one of predefined codes (cfg_bankaccountclass.bankaccountclasscode)string -
BankAccountNo Mandatory
Account number.string -
BankAccountOwnerType Mandatory
Account owner type.EnumBankAccountOwnerTypeType of owner for bank account.-
SolicitorSolicitor. -
CreditorCreditor. -
DebtorDebtor.
-
-
BankCode
Account code.string -
BankDescription
Bank description.string -
BIC
BIC.string -
BLZ
BLZ.string -
BusinessAccount Mandatory
Is a business account.bool -
City
City.string -
Condition
Condition value.string -
CountryCode Mandatory
Account country code.string -
CurrencyCode Mandatory
Currency code, e.g. SEK, NOK, EUR etc.string -
Description Mandatory
Account description.string -
IBAN
IBAN.string -
InternalCode Mandatory
Account internal code.string -
OCRDefinition
OCR definition.string -
PowerOfAttourney Mandatory
PowerOfAttourney flag.bool -
SWIFT
SWIFT.string -
ThirdPartyRemittance Mandatory
Third party remitance flag.bool -
ZipCode
Zip code.string
-
-
CellularPhone
Cellular phone.string -
City Mandatory
City.string -
Contract
Creditor contract.ObjectCreditorContractHolds creditor contract details.-
CancelDate
Contract cancel date.DateTime -
ContractCancelReason
Contract cancel reason.string -
ContractLength
Contract duration (month).int -
ContractNumber
Contract number.string -
ContractType
Contract type.EnumCreditorContractTypeType of creditor contract types.-
ContinuousContinuous. -
LimitedLimited.
-
-
CustomerCategory
Customer category id (lookup to cfg_customercategory).int -
EndDate
Contract expiration date.DateTime -
Instructions
Contract instructions.string -
InvoiceDate
Contract invoice date.DateTime -
InvoiceItem
Invoice item number.string -
Note
Contract note.string -
PeriodFee
Contract period fee.decimal -
PeriodLength
Contract period duration (month).int -
StartDate Mandatory
Contract commencement date.DateTime
-
-
CountryCode Mandatory
Country code.string -
CountryCodeOfOperation Mandatory
Country code of operation.string -
CreditorReference
Party reference code.string -
CRMUser
CRM user (usercode from dat_user).string -
CurrencyCode Mandatory
Currency code.string -
DefaultCultureCode
Default culture code.string -
Email
Email.string -
ExtraFields
List of creditor extra fields.ArrayObjectExtraFieldExtra field contains custom data.-
Data
Value of extra field.string -
Name
Name of extra field.string
-
-
FactoringLoan
Factoring loan.ObjectFactoringLoanFactoring loan description.-
Autopercent Mandatory
Auto percent value (a percentage from 0 to 100).decimal -
DecisionDate Mandatory
Decision date.DateTime -
InterestCode Mandatory
Interest code value (cfg_interest).string -
InterestRate Mandatory
Interest rate value.decimal -
Limit Mandatory
Limit value.decimal -
LimitFee
Limit fee amount.decimal -
LimitFeeDate
Limit fee date.DateTime -
LimitFeeInterval
Limit fee interval.int -
LimitFeeInvoiceItem
Limit fee invoice item number.string -
LimitFeePartOfPeriod Mandatory
Limit fee part of period flag.bool -
LimitFeePartOfPeriodAmount Mandatory
Limit fee part of period amount.decimal -
Maxpercent Mandatory
Max percent value (a percentage from 0 to 100).decimal -
Note
Note.string -
OurReference
Our reference value.string -
YourReference
Your reference value.string
-
-
FullName Mandatory
Creditor full name.string -
GLNNumber
GLN number.string -
HouseNumber
House number.string -
HouseNumberExtention
House number extention.string -
IDNumber Mandatory
Creditor ID number.string -
InformalName
Creditor informal name.string -
InternalPhone
Internal phone.string -
InvoiceSenderId
Invoice sender id.string -
JuridicalType
Juridical type of creditorEnumJuridicalTypeType of person, juridically.-
NaturalPersonActual person. -
JuridicalPersonJuridical person, e.g a company.
-
-
LanguageCode Mandatory
Language code.string -
LedgerType
Ledger type.EnumCreditorLedgerTypeType of creditor ledger types.-
LedgerOnCreditorNew ledger on creditor. -
LedgerOnParentCreditorUse ledger on parent creditor. -
LedgerOnSolicitorUse ledger on solicitor.
-
-
LEINumber
LEI number.string -
Logotype
Base64-encoded logo.string -
MunicipalCode
Municipal code.string -
NACECode
NACE code.string -
Parameters
List of creditor parameters.ArrayObjectPartyParameterHolds party parameter value information.-
ParameterCode Mandatory
Parameter code.string -
Value Mandatory
Parameter value.string
-
-
ParentReference
Parent party reference code.string -
StateCode
State code.string -
Street Mandatory
Street name.string -
Telefax
Telefax.string -
TemplateAccountChart
Template account chart (description from dat_ledger).string -
TemplateParameters
Template parameters name (to copy solicitor template).string -
TemplatePricelist
Template pricelist (comma separated list of template names from dat_pricelist) .string -
Users
List of creditor users.ArrayObjectPartyUserParty user information-
CellularPhone
Cellular phonestring -
City
Citystring -
CountryCode Mandatory
Country codestring -
Email
Emailstring -
Fax
Faxstring -
FullName Mandatory
Full namestring -
HomePhone
Home phonestring -
HouseNumber
House numberstring -
HouseNumberExtention
House number extentionstring -
InternalPhone
Internal phonestring -
LanguageCode Mandatory
Language code, e.g. en, sv etc.string -
Password
Password (will be generated automatically if it is not specified).string -
StateCode
State codestring -
Street
Streetstring -
UserName
User namestring -
UserRole
User role (cfg_userrole.rolecode). Will be set to INVOICE by default if it is not specified.string -
WorkPhone
Work phonestring -
ZipCode
Zip codestring
-
-
VATNumber
VAT number.string -
VATType
VAT type code (cfg_vattype).string -
WebLogotype
Base64-encoded weblogo.string -
WorkPhone
Work phone.string -
ZipCode Mandatory
Zip code.string
-
-
Output
Error codes:
- ERROR CODES SHOULD BE SPECIFIED HERE
RegisterClientResponse
-
RegisterClientResult
Results of RegisterClient.ObjectRegisterClientResultGeneral class for representing method output.-
ClientGuid Mandatory
Client unique identifier.string -
Result Mandatory
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-