POST api/TablesManagement/CreateInsurerBranch

Request Information

URI Parameters

None.

Body Parameters

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

interface_code

string

None.

old_code

integer

None.

Cities

City

None.

Customers

Collection of Customer

None.

Debits

Collection of Debit

None.

InsurerDistricts

InsurerDistrict

None.

Request 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 '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 '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 '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/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsurerBranch'.

application/bson

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.