POST api/insurance_company/group

Request Information

URI Parameters

None.

Body Parameters

InsuranceCompanyGroupModel
NameDescriptionTypeAdditional information
id

integer

None.

name

string

Required

address

AddressModel

None.

permanent_address

AddressModel

None.

insurance_company_ids

Collection of integer

None.

is_update_company_local_address

boolean

None.

is_update_company_permanent_address

boolean

None.

created_by

string

None.

updated_by

string

None.

created_date

date

None.

updated_date

date

None.

is_active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 1",
  "address": {
    "id": 1,
    "address1": "sample string 1",
    "address2": "sample string 2",
    "city": "sample string 3",
    "state": "sample string 4",
    "zip": "sample string 5",
    "phone": "sample string 6",
    "fax": "sample string 7",
    "country": "sample string 8",
    "contact_name": "sample string 9",
    "contact_number": "sample string 10",
    "email": "sample string 11"
  },
  "permanent_address": {
    "id": 1,
    "address1": "sample string 1",
    "address2": "sample string 2",
    "city": "sample string 3",
    "state": "sample string 4",
    "zip": "sample string 5",
    "phone": "sample string 6",
    "fax": "sample string 7",
    "country": "sample string 8",
    "contact_name": "sample string 9",
    "contact_number": "sample string 10",
    "email": "sample string 11"
  },
  "insurance_company_ids": [
    1,
    2
  ],
  "is_update_company_local_address": true,
  "is_update_company_permanent_address": true,
  "created_by": "sample string 4",
  "updated_by": "sample string 5",
  "created_date": "2026-05-01T21:13:41.6854663+00:00",
  "updated_date": "2026-05-01T21:13:41.6854663+00:00",
  "is_active": true
}

text/html

Sample:
{"id":1,"name":"sample string 1","address":{"id":1,"address1":"sample string 1","address2":"sample string 2","city":"sample string 3","state":"sample string 4","zip":"sample string 5","phone":"sample string 6","fax":"sample string 7","country":"sample string 8","contact_name":"sample string 9","contact_number":"sample string 10","email":"sample string 11"},"permanent_address":{"id":1,"address1":"sample string 1","address2":"sample string 2","city":"sample string 3","state":"sample string 4","zip":"sample string 5","phone":"sample string 6","fax":"sample string 7","country":"sample string 8","contact_name":"sample string 9","contact_number":"sample string 10","email":"sample string 11"},"insurance_company_ids":[1,2],"is_update_company_local_address":true,"is_update_company_permanent_address":true,"created_by":"sample string 4","updated_by":"sample string 5","created_date":"2026-05-01T21:13:41.6854663+00:00","updated_date":"2026-05-01T21:13:41.6854663+00:00","is_active":true}

application/xml, text/xml

Sample:
<InsuranceCompanyGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">
  <created_by>sample string 4</created_by>
  <created_date>2026-05-01T21:13:41.6854663+00:00</created_date>
  <is_active>true</is_active>
  <updated_by>sample string 5</updated_by>
  <updated_date>2026-05-01T21:13:41.6854663+00:00</updated_date>
  <address>
    <address1>sample string 1</address1>
    <address2>sample string 2</address2>
    <city>sample string 3</city>
    <contact_name>sample string 9</contact_name>
    <contact_number>sample string 10</contact_number>
    <country>sample string 8</country>
    <email>sample string 11</email>
    <fax>sample string 7</fax>
    <id>1</id>
    <phone>sample string 6</phone>
    <state>sample string 4</state>
    <zip>sample string 5</zip>
  </address>
  <id>1</id>
  <insurance_company_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </insurance_company_ids>
  <is_update_company_local_address>true</is_update_company_local_address>
  <is_update_company_permanent_address>true</is_update_company_permanent_address>
  <name>sample string 1</name>
  <permanent_address>
    <address1>sample string 1</address1>
    <address2>sample string 2</address2>
    <city>sample string 3</city>
    <contact_name>sample string 9</contact_name>
    <contact_number>sample string 10</contact_number>
    <country>sample string 8</country>
    <email>sample string 11</email>
    <fax>sample string 7</fax>
    <id>1</id>
    <phone>sample string 6</phone>
    <state>sample string 4</state>
    <zip>sample string 5</zip>
  </permanent_address>
</InsuranceCompanyGroupModel>

multipart/form-data

Sample:
<InsuranceCompanyGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><created_by>sample string 4</created_by><created_date>2026-05-01T21:13:41.6854663+00:00</created_date><is_active>true</is_active><updated_by>sample string 5</updated_by><updated_date>2026-05-01T21:13:41.6854663+00:00</updated_date><address><address1>sample string 1</address1><address2>sample string 2</address2><city>sample string 3</city><contact_name>sample string 9</contact_name><contact_number>sample string 10</contact_number><country>sample string 8</country><email>sample string 11</email><fax>sample string 7</fax><id>1</id><phone>sample string 6</phone><state>sample string 4</state><zip>sample string 5</zip></address><id>1</id><insurance_company_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:int>1</d2p1:int><d2p1:int>2</d2p1:int></insurance_company_ids><is_update_company_local_address>true</is_update_company_local_address><is_update_company_permanent_address>true</is_update_company_permanent_address><name>sample string 1</name><permanent_address><address1>sample string 1</address1><address2>sample string 2</address2><city>sample string 3</city><contact_name>sample string 9</contact_name><contact_number>sample string 10</contact_number><country>sample string 8</country><email>sample string 11</email><fax>sample string 7</fax><id>1</id><phone>sample string 6</phone><state>sample string 4</state><zip>sample string 5</zip></permanent_address></InsuranceCompanyGroupModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.