GET api/Accounts/GetAccountsByTypeForEdit?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Account
NameDescriptionTypeAdditional information
account_num

integer

None.

account_type

integer

Required

parent_record_num

integer

None.

last_name

string

Required

String length: inclusive between 0 and 40

first_name

string

String length: inclusive between 0 and 40

beneficiary_name

string

String length: inclusive between 0 and 40

bank_account_num

string

String length: inclusive between 0 and 40

bank_num

string

None.

bank_branch_num

integer

None.

payment_methods

integer

None.

id_num

string

String length: inclusive between 0 and 16

accounting_key

string

String length: inclusive between 0 and 16

contactperson

string

String length: inclusive between 0 and 40

country_code

integer

None.

city_code

integer

None.

street

string

String length: inclusive between 0 and 33

home

integer

None.

entrance

string

String length: inclusive between 0 and 2

apartment_num

string

String length: inclusive between 0 and 4

p_o_b

integer

None.

zip

string

String length: inclusive between 0 and 7

phone1

string

String length: inclusive between 0 and 12

phone2

string

String length: inclusive between 0 and 12

phone3

string

Max length: 12

escort_phone

string

Max length: 12

mobilephone

string

String length: inclusive between 0 and 12

fax

string

Max length: 12

email

string

Max length: 60

website

string

Max length: 256

creation_date

date

None.

remark

string

String length: inclusive between 0 and 254

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

palestinian

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

occasional

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

creditdays

integer

None.

currentcredit

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

mainregister

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

defmainregister

integer

None.

discountinform

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

withholdingtaxuntil

date

None.

clearwitholdingtaxpercent

decimal number

None.

nochecks

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

nocredits

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

discountpercent

decimal number

None.

discountform

decimal number

None.

discountline

decimal number

None.

detail_account

integer

None.

linewithvat

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

parent_business_branch_account

integer

None.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

customers

Collection of Customer

None.

insurers

Collection of Insurer

None.

businessbranches

Collection of BusinessBranch

None.

FullName

string

None.

FullAddress

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CustDemog.Customer'. Path '[0].customers[0].Countries.Customers'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CustDemog.Customer'. Path '[0].customers[0].Countries.Customers'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'CustDemog.BranchGroupKodMahon' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'CustDemog.BranchGroupKodMahon' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.