GET api/LookUpCust/GetBranchForDistrict/{pCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCode

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of InsurerBranch
NameDescriptionTypeAdditional information
branch_code

integer

None.

branchname

string

Required

String length: inclusive between 0 and 15

district_code

integer

None.

street

string

String length: inclusive between 0 and 33

home

integer

None.

city_code

integer

None.

phone

string

Max length: 12

fax

string

Max length: 12

is_active

string

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

String length: inclusive between 0 and 1

br_num

string

String length: inclusive between 0 and 10

Cities

City

None.

Customers

Collection of Customer

None.

Debits

Collection of Debit

None.

InsurerDistricts

InsurerDistrict

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.BranchGroupKodMahon'. Path '[0].Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

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.BranchGroupKodMahon'. Path '[0].Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

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 'System.Collections.Generic.List`1[[CustDemog.BranchGroupKodMahon, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[CustDemog.BranchGroupKodMahon, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

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