http://ee.econt.com/services/Profile

Data types:

ClientProfile (Class)

Information about the client profile (corporate or private)
Name Type Multiplicity Description
id int [0..1]
name string [0..1]
Name
nameEn string [0..1]
International name
phones string [0..n]
Phone numbers (only digits and optional "+" in the beginning)
email string [0..1]
E-mail addresses
skypeAccounts string [0..n]
Skype accounts
clientNumber string [0..1]
Client number
clientNumberEn string [0..1]
Client number (en)
juridicalEntity boolean [0..1]
The client is a company
personalIDType string [0..1]
Personal identification type (EGN, PIN, PK, PASSPORT)
personalIDNumber string [0..1]
Personal ID number (EGN)
companyType string [0..1]
Company type (registration of the company)
ein string [0..1]
Registration number
ddsEinPrefix string [0..1]
VAT registration prefix (two-letter code)
ddsEin string [0..1]
VAT registration
registrationAddress string [0..1]
Company's registration address
molName string [0..1]
Name of the company's representative
molEGN string [0..1]
Unique citizenship number (EGN) of the company's representative
molIDNum string [0..1]
ID cart of the company's representative

CDPayOptions (Class)

Payment options for "cash on delivery" service
Name Type Multiplicity Description
num string [0..1]
Shipment number
client ClientProfile [0..1]
Client
moneyTransfer boolean [0..1]
Payment with money transfer
express boolean [0..1]
Express
method string [0..1]
"Office", "door" or "bank"
address Address [0..1]
Address
officeCode string [0..1]
Office code
IBAN string [0..1]
International Bank Account Number
BIC string [0..1]
Bank Identifier Code
bankCurrency string [0..1]
Currency of the bank account
payDays int [0..n]
Only for method=bank, either payDays or payWeekdays
payWeekdays Weekday [0..n]
Only for method=bank, either payDays or payWeekdays
additionalInstructions string [0..1]
Additional instructions
departamentNum int [1..1]

ProfilesResponseElement (Class)

Information about the client's addresses, "cash on delivery" payment options and templates with instructions
Name Type Multiplicity Description
client ClientProfile [0..1]
Client information
addresses Address [0..n]
Addresses
cdPayOptions CDPayOptions [0..n]
"Cash on delivery" payment options
instructionTemplates Instruction [0..n]
Templates with instructions

Services:

ProfileService (Interface)

endpoints: soap json

getClientProfiles (Method)

Requests information about the client profiles (requires authorization) (see SOAP example Request, Response) (see JSON example Request, Response)
Parameters
Name Type Multiplicity Description
Result
Name Type Multiplicity Description
profiles ProfilesResponseElement [0..n]
Information about the client profiles
Faults
Type Description
Error
Generic error
endpoints: soap json

createCDAgreement (Method)

Creates a CD agreement for payment options (requires authorization) (see SOAP example Request) (see JSON example Request)
Parameters
Name Type Multiplicity Description
cdPayOptions CDPayOptions [1..1]
Result
Name Type Multiplicity Description
cdPayOptions CDPayOptions [1..1]
Faults
Type Description
Error
Generic error