POST api/TablesManagement/SaveContactInsur

Request Information

URI Parameters

None.

Body Parameters

InsurersContact
NameDescriptionTypeAdditional information
insurersContact_code

integer

None.

active

string

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

String length: inclusive between 0 and 1

insur_code

integer

None.

insur_department_code

integer

None.

insur_district_code

integer

None.

degree

integer

None.

department

integer

None.

occupation

integer

None.

last_name

string

String length: inclusive between 0 and 40

first_name

string

String length: inclusive between 0 and 40

office_phone

string

String length: inclusive between 0 and 12

mobile_phone

string

String length: inclusive between 0 and 12

fax

string

String length: inclusive between 0 and 12

email

string

Max length: 60

city_code

integer

None.

floor

integer

None.

street

string

String length: inclusive between 0 and 33

home

integer

None.

p_o_b

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "insurersContact_code": 1,
  "active": "sample string 2",
  "insur_code": 3,
  "insur_department_code": 1,
  "insur_district_code": 1,
  "degree": 1,
  "department": 1,
  "occupation": 1,
  "last_name": "sample string 4",
  "first_name": "sample string 5",
  "office_phone": "sample string 6",
  "mobile_phone": "sample string 7",
  "fax": "sample string 8",
  "email": "sample string 9",
  "city_code": 1,
  "floor": 1,
  "street": "sample string 10",
  "home": 1,
  "p_o_b": 1
}

application/xml, text/xml

Sample:
<InsurersContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 2</active>
  <city_code>1</city_code>
  <degree>1</degree>
  <department>1</department>
  <email>sample string 9</email>
  <fax>sample string 8</fax>
  <first_name>sample string 5</first_name>
  <floor>1</floor>
  <home>1</home>
  <insur_code>3</insur_code>
  <insur_department_code>1</insur_department_code>
  <insur_district_code>1</insur_district_code>
  <insurersContact_code>1</insurersContact_code>
  <last_name>sample string 4</last_name>
  <mobile_phone>sample string 7</mobile_phone>
  <occupation>1</occupation>
  <office_phone>sample string 6</office_phone>
  <p_o_b>1</p_o_b>
  <street>sample string 10</street>
</InsurersContact>

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 'InsurersContact'.

application/bson

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

Response Information

Resource Description

InsurersContact
NameDescriptionTypeAdditional information
insurersContact_code

integer

None.

active

string

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

String length: inclusive between 0 and 1

insur_code

integer

None.

insur_department_code

integer

None.

insur_district_code

integer

None.

degree

integer

None.

department

integer

None.

occupation

integer

None.

last_name

string

String length: inclusive between 0 and 40

first_name

string

String length: inclusive between 0 and 40

office_phone

string

String length: inclusive between 0 and 12

mobile_phone

string

String length: inclusive between 0 and 12

fax

string

String length: inclusive between 0 and 12

email

string

Max length: 60

city_code

integer

None.

floor

integer

None.

street

string

String length: inclusive between 0 and 33

home

integer

None.

p_o_b

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "insurersContact_code": 1,
  "active": "sample string 2",
  "insur_code": 3,
  "insur_department_code": 1,
  "insur_district_code": 1,
  "degree": 1,
  "department": 1,
  "occupation": 1,
  "last_name": "sample string 4",
  "first_name": "sample string 5",
  "office_phone": "sample string 6",
  "mobile_phone": "sample string 7",
  "fax": "sample string 8",
  "email": "sample string 9",
  "city_code": 1,
  "floor": 1,
  "street": "sample string 10",
  "home": 1,
  "p_o_b": 1
}

application/xml, text/xml

Sample:
<InsurersContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 2</active>
  <city_code>1</city_code>
  <degree>1</degree>
  <department>1</department>
  <email>sample string 9</email>
  <fax>sample string 8</fax>
  <first_name>sample string 5</first_name>
  <floor>1</floor>
  <home>1</home>
  <insur_code>3</insur_code>
  <insur_department_code>1</insur_department_code>
  <insur_district_code>1</insur_district_code>
  <insurersContact_code>1</insurersContact_code>
  <last_name>sample string 4</last_name>
  <mobile_phone>sample string 7</mobile_phone>
  <occupation>1</occupation>
  <office_phone>sample string 6</office_phone>
  <p_o_b>1</p_o_b>
  <street>sample string 10</street>
</InsurersContact>

application/bson

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