Clients

 Kundregister innehållande samtliga kunder, privatpersoner såväl som företag.

 

Field

 

In response

 

POST

 

PUT

 

Validation POST/PUT

 

Filter

 

Numeric

<,>,between

Sort

 

 id

X

 

 

 

X

X

clienttype (clickable link)

  • id
  • name

x

clienttype_id
required
         

 status

X

X

X

  • optional

 

prospect (prospekt)
active (aktiv)
inactive (inaktiv)
deleted (borttagen)

 

Note that the status deleted (i.e. status = borttagen within the system interface) is not the same as representing deleted customers. Borttagen is a status on a existing customer, a deleted customer does no longer exist within the application.

X

 

X

 title

X

X

X

  • optional

  • string

  • max:255

 

 

X

 number

X

X

X

  • optional

  • string

  • max:32

X

X

 deleted

X

 

 

 

X

 

X

 phone

X

X

X

  • optional

  • string

  • max:45

 

 

X

 mobile

X

X

X

  • optional

  • string

  • max:45

 

 

X

 paymentterms

X

X

X

  • optional

  • string

  • max:4

 

 

X

 email

X

X

X

  • optional

  • email

  • max:245

X

 

X

 clientnbr

X

 

 

 

 

 

X

 employee_id

X

X

X

  • optional

  • integer

  • exists in employees

 

 

X

 paymenttype

X

X

payment_type

X

payment_type

  • optional

  • integer

1 print (utskrift)
2 email
3 autogiro
4 e-print
7 e-invoice (e-faktura via bank)
8 EDI
9 Kivra

 

 

X

 hourpot

X

X

X

  • optional

  • numeric

  • min:0

 

 

X

 fax

X

X

X

  • optional

  • string

  • max:128

 

 

X

 vat

 

X

X

  • optional

  • string

  • max:45

 

 

 

 workphone

X

X

X

  • optional

  • string

  • max:45

 

 

X

 has_hourpot

X

X

X

  • optional

  • boolean

 

 

X

 secondary_email
 (Billing email address)

X

 x

 x

  • Billing email address (faktura e-post)
  • Mandatory if payment_type = 2 (email)

  • max:245 characters

 

 

X

 www

X

X

X

  • optional

  • string

  • max:255

  • url

 

 

X

 invoicetemplate_id

X

X

X

  • optional

  • integer

  • exists in invoicetemplates

 

 

X

 first_name

X

X

X

  • optional

  • string

  • max:64

 

 

X

 last_name

X

X

X

  • optional

  • string

  • max:64

 

 

X

 company_name

X

X

X

  • optional

  • string

  • max:128

 

 

X

 personal_number

X

X

X

  • optional

  • string

  • max:45

X

 

X

 invoice_fee_id

X

X

X

  • optional

  • integer

 

 

X

 bank

  • id

  • bid

  • enar

  • name

X

 

 

 

 

 

 

 addresses

  • id

  • client_id

  • address

  • co_address

  • city

  • deleted

  • is_delivery

  • is_invoice

  • postal_code

  • port_code

  • alarm_code

  • housing_association

  • workarea

    • id

    • name

  • address_type

X

 

 

 

 

 

 

 contacts

  • id

  • firstname

  • lastname

  • title
  • phone

  • mobile

  • email

  • fax

  • workphone

  • taxreduction_percentage

  • full_reduction_pot
  • personal_number

  • clienttype

    • id

    • name

X

 

 

 

 

 

 

 address

  • postal_code

  • city

  • address

  • workarea_id

 

X

 

  • optional

 

 

 

 delivery_address

  • postal_code

  • city

  • address

  • workarea_id

 

X

 

  • optional

 

 

 

 invoice_address

  • postal_code

  • city

  • address

  • workarea_id

 

X

 

  • optional

 

 

 

 bank_id

 

X

X

  • optional

  • integer

  • exists in banks

 

 

 

 clienttype_id

 

X

X

  • optional

  • integer

  • exists in clienttypes

 

 

 

 full_reduction_pot

X

X

X

  • optional

  • integer

  • min:0

    beskrivning
0 Ja Ja, finns kvar
1 Nej, slut Nej, allt använt för detta år
2 Nej, aldrig Nej, kund ska inte ha rut/rot

 

 

 

 taxreduction_percentage

 

X

 

  • optional

  • numeric

  • min:0

 

 

 

 reference_name

 

X

X

  • optional

  • string

 

 

 

 references

x

X

X

  • optional (post = name required and should not provide id, put = id & name required)

  • array with id (int), name (string) and description (string)

  • Name max length 64
  • Description max length 255

 

 

 

 comment

 

X

X

  • optional

  • string

  • max:255

 

Postman

© TimeWave AB