POST api/NTCosCompany/DeleteInsurance

Request Information

URI Parameters

None.

Body Parameters

InsuranceDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyName

string

String length: inclusive between 0 and 60

Name

string

String length: inclusive between 0 and 50

Address

string

String length: inclusive between 0 and 60

Suite

string

String length: inclusive between 0 and 50

City

string

String length: inclusive between 0 and 30

State

string

String length: inclusive between 0 and 10

Zip

string

String length: inclusive between 0 and 10

Phone

string

String length: inclusive between 0 and 20

Fax

string

String length: inclusive between 0 and 20

Sequence

integer

None.

Email

string

String length: inclusive between 0 and 100

StateName

string

String length: inclusive between 0 and 30

lstInsuranceCorporation

Collection of InsuranceCorporationDTO

None.

IsWorkLocation

boolean

None.

InsuranceTypeId

Collection of integer

None.

Policyid

string

String length: inclusive between 0 and 50

PayorExternalId

string

String length: inclusive between 0 and 50

Expirationdate

date

None.

PayorTypeid

integer

None.

TPAid

integer

None.

TPA

string

String length: inclusive between 0 and 100

EntityId

string

String length: inclusive between 0 and 20

EntityTypeId

integer

None.

PayorMappingTypeNameList

Collection of PayorMappingTypeDTO

None.

CheckPayorMapFlag

boolean

None.

IsCustomized

boolean

None.

PayorId

integer

None.

EffectiveStartDate

date

None.

EffectiveEndDate

date

None.

ValidFlag

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UserIDCreated

integer

None.

UserIDUpdated

integer

None.

CompanyCode

string

String length: inclusive between 0 and 20

IsExcludeDiscount

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyName": "sample string 2",
  "Name": "sample string 3",
  "Address": "sample string 4",
  "Suite": "sample string 5",
  "City": "sample string 6",
  "State": "sample string 7",
  "Zip": "sample string 8",
  "Phone": "sample string 9",
  "Fax": "sample string 10",
  "Sequence": 1,
  "Email": "sample string 11",
  "StateName": "sample string 12",
  "lstInsuranceCorporation": [
    {
      "Id": 1,
      "InsuranceId": 2,
      "CorporationCode": "sample string 3",
      "BranchCode": "sample string 4",
      "DivisionCode": "sample string 5",
      "WorkLocationCode": "sample string 6",
      "Type": 7,
      "Level1": "sample string 8",
      "Level2": "sample string 9",
      "Level3": "sample string 10",
      "Level4": "sample string 11",
      "Level5": "sample string 12",
      "ValidFlag": true,
      "DateCreated": "2025-04-04T05:52:20.5049479-07:00",
      "DateUpdated": "2025-04-04T05:52:20.5049479-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "InsuranceId": 2,
      "CorporationCode": "sample string 3",
      "BranchCode": "sample string 4",
      "DivisionCode": "sample string 5",
      "WorkLocationCode": "sample string 6",
      "Type": 7,
      "Level1": "sample string 8",
      "Level2": "sample string 9",
      "Level3": "sample string 10",
      "Level4": "sample string 11",
      "Level5": "sample string 12",
      "ValidFlag": true,
      "DateCreated": "2025-04-04T05:52:20.5049479-07:00",
      "DateUpdated": "2025-04-04T05:52:20.5049479-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    }
  ],
  "IsWorkLocation": true,
  "InsuranceTypeId": [
    1,
    2
  ],
  "Policyid": "sample string 14",
  "PayorExternalId": "sample string 15",
  "Expirationdate": "2025-04-04T05:52:20.5049479-07:00",
  "PayorTypeid": 1,
  "TPAid": 1,
  "TPA": "sample string 16",
  "EntityId": "sample string 17",
  "EntityTypeId": 1,
  "PayorMappingTypeNameList": [
    {
      "OrderName": "sample string 1",
      "ComponentName": "sample string 2"
    },
    {
      "OrderName": "sample string 1",
      "ComponentName": "sample string 2"
    }
  ],
  "CheckPayorMapFlag": true,
  "IsCustomized": true,
  "PayorId": 1,
  "EffectiveStartDate": "2025-04-04T05:52:20.5049479-07:00",
  "EffectiveEndDate": "2025-04-04T05:52:20.5049479-07:00",
  "ValidFlag": true,
  "DateCreated": "2025-04-04T05:52:20.5049479-07:00",
  "DateUpdated": "2025-04-04T05:52:20.5049479-07:00",
  "UserIDCreated": 22,
  "UserIDUpdated": 23,
  "CompanyCode": "sample string 24",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<InsuranceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 24</CompanyCode>
  <DateCreated>2025-04-04T05:52:20.5049479-07:00</DateCreated>
  <DateUpdated>2025-04-04T05:52:20.5049479-07:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>22</UserIDCreated>
  <UserIDUpdated>23</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <Address>sample string 4</Address>
  <CheckPayorMapFlag>true</CheckPayorMapFlag>
  <City>sample string 6</City>
  <CompanyName>sample string 2</CompanyName>
  <EffectiveEndDate>2025-04-04T05:52:20.5049479-07:00</EffectiveEndDate>
  <EffectiveStartDate>2025-04-04T05:52:20.5049479-07:00</EffectiveStartDate>
  <Email>sample string 11</Email>
  <EntityId>sample string 17</EntityId>
  <EntityTypeId>1</EntityTypeId>
  <Expirationdate>2025-04-04T05:52:20.5049479-07:00</Expirationdate>
  <Fax>sample string 10</Fax>
  <Id>1</Id>
  <InsuranceTypeId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InsuranceTypeId>
  <IsCustomized>true</IsCustomized>
  <IsWorkLocation>true</IsWorkLocation>
  <Name>sample string 3</Name>
  <PayorExternalId>sample string 15</PayorExternalId>
  <PayorId>1</PayorId>
  <PayorMappingTypeNameList>
    <PayorMappingTypeDTO>
      <ComponentName>sample string 2</ComponentName>
      <OrderName>sample string 1</OrderName>
    </PayorMappingTypeDTO>
    <PayorMappingTypeDTO>
      <ComponentName>sample string 2</ComponentName>
      <OrderName>sample string 1</OrderName>
    </PayorMappingTypeDTO>
  </PayorMappingTypeNameList>
  <PayorTypeid>1</PayorTypeid>
  <Phone>sample string 9</Phone>
  <Policyid>sample string 14</Policyid>
  <Sequence>1</Sequence>
  <State>sample string 7</State>
  <StateName>sample string 12</StateName>
  <Suite>sample string 5</Suite>
  <TPA>sample string 16</TPA>
  <TPAid>1</TPAid>
  <Zip>sample string 8</Zip>
  <lstInsuranceCorporation>
    <InsuranceCorporationDTO>
      <CompanyCode>sample string 18</CompanyCode>
      <DateCreated>2025-04-04T05:52:20.5049479-07:00</DateCreated>
      <DateUpdated>2025-04-04T05:52:20.5049479-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>16</UserIDCreated>
      <UserIDUpdated>17</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <BranchCode>sample string 4</BranchCode>
      <CorporationCode>sample string 3</CorporationCode>
      <DivisionCode>sample string 5</DivisionCode>
      <Id>1</Id>
      <InsuranceId>2</InsuranceId>
      <Level1>sample string 8</Level1>
      <Level2>sample string 9</Level2>
      <Level3>sample string 10</Level3>
      <Level4>sample string 11</Level4>
      <Level5>sample string 12</Level5>
      <Type>7</Type>
      <WorkLocationCode>sample string 6</WorkLocationCode>
    </InsuranceCorporationDTO>
    <InsuranceCorporationDTO>
      <CompanyCode>sample string 18</CompanyCode>
      <DateCreated>2025-04-04T05:52:20.5049479-07:00</DateCreated>
      <DateUpdated>2025-04-04T05:52:20.5049479-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>16</UserIDCreated>
      <UserIDUpdated>17</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <BranchCode>sample string 4</BranchCode>
      <CorporationCode>sample string 3</CorporationCode>
      <DivisionCode>sample string 5</DivisionCode>
      <Id>1</Id>
      <InsuranceId>2</InsuranceId>
      <Level1>sample string 8</Level1>
      <Level2>sample string 9</Level2>
      <Level3>sample string 10</Level3>
      <Level4>sample string 11</Level4>
      <Level5>sample string 12</Level5>
      <Type>7</Type>
      <WorkLocationCode>sample string 6</WorkLocationCode>
    </InsuranceCorporationDTO>
  </lstInsuranceCorporation>
</InsuranceDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfInsuranceDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

InsuranceDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "CompanyName": "sample string 2",
    "Name": "sample string 3",
    "Address": "sample string 4",
    "Suite": "sample string 5",
    "City": "sample string 6",
    "State": "sample string 7",
    "Zip": "sample string 8",
    "Phone": "sample string 9",
    "Fax": "sample string 10",
    "Sequence": 1,
    "Email": "sample string 11",
    "StateName": "sample string 12",
    "lstInsuranceCorporation": [
      {
        "Id": 1,
        "InsuranceId": 2,
        "CorporationCode": "sample string 3",
        "BranchCode": "sample string 4",
        "DivisionCode": "sample string 5",
        "WorkLocationCode": "sample string 6",
        "Type": 7,
        "Level1": "sample string 8",
        "Level2": "sample string 9",
        "Level3": "sample string 10",
        "Level4": "sample string 11",
        "Level5": "sample string 12",
        "ValidFlag": true,
        "DateCreated": "2025-04-04T05:52:20.5449242-07:00",
        "DateUpdated": "2025-04-04T05:52:20.5449242-07:00",
        "UserIDCreated": 16,
        "UserIDUpdated": 17,
        "CompanyCode": "sample string 18",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "InsuranceId": 2,
        "CorporationCode": "sample string 3",
        "BranchCode": "sample string 4",
        "DivisionCode": "sample string 5",
        "WorkLocationCode": "sample string 6",
        "Type": 7,
        "Level1": "sample string 8",
        "Level2": "sample string 9",
        "Level3": "sample string 10",
        "Level4": "sample string 11",
        "Level5": "sample string 12",
        "ValidFlag": true,
        "DateCreated": "2025-04-04T05:52:20.5449242-07:00",
        "DateUpdated": "2025-04-04T05:52:20.5449242-07:00",
        "UserIDCreated": 16,
        "UserIDUpdated": 17,
        "CompanyCode": "sample string 18",
        "IsExcludeDiscount": true
      }
    ],
    "IsWorkLocation": true,
    "InsuranceTypeId": [
      1,
      2
    ],
    "Policyid": "sample string 14",
    "PayorExternalId": "sample string 15",
    "Expirationdate": "2025-04-04T05:52:20.5449242-07:00",
    "PayorTypeid": 1,
    "TPAid": 1,
    "TPA": "sample string 16",
    "EntityId": "sample string 17",
    "EntityTypeId": 1,
    "PayorMappingTypeNameList": [
      {
        "OrderName": "sample string 1",
        "ComponentName": "sample string 2"
      },
      {
        "OrderName": "sample string 1",
        "ComponentName": "sample string 2"
      }
    ],
    "CheckPayorMapFlag": true,
    "IsCustomized": true,
    "PayorId": 1,
    "EffectiveStartDate": "2025-04-04T05:52:20.5449242-07:00",
    "EffectiveEndDate": "2025-04-04T05:52:20.5449242-07:00",
    "ValidFlag": true,
    "DateCreated": "2025-04-04T05:52:20.5449242-07:00",
    "DateUpdated": "2025-04-04T05:52:20.5449242-07:00",
    "UserIDCreated": 22,
    "UserIDUpdated": 23,
    "CompanyCode": "sample string 24",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfInsuranceDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CompanyCode>sample string 24</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>22</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>23</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:Address>sample string 4</d2p1:Address>
    <d2p1:CheckPayorMapFlag>true</d2p1:CheckPayorMapFlag>
    <d2p1:City>sample string 6</d2p1:City>
    <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
    <d2p1:EffectiveEndDate>2025-04-04T05:52:20.5449242-07:00</d2p1:EffectiveEndDate>
    <d2p1:EffectiveStartDate>2025-04-04T05:52:20.5449242-07:00</d2p1:EffectiveStartDate>
    <d2p1:Email>sample string 11</d2p1:Email>
    <d2p1:EntityId>sample string 17</d2p1:EntityId>
    <d2p1:EntityTypeId>1</d2p1:EntityTypeId>
    <d2p1:Expirationdate>2025-04-04T05:52:20.5449242-07:00</d2p1:Expirationdate>
    <d2p1:Fax>sample string 10</d2p1:Fax>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InsuranceTypeId xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:InsuranceTypeId>
    <d2p1:IsCustomized>true</d2p1:IsCustomized>
    <d2p1:IsWorkLocation>true</d2p1:IsWorkLocation>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:PayorExternalId>sample string 15</d2p1:PayorExternalId>
    <d2p1:PayorId>1</d2p1:PayorId>
    <d2p1:PayorMappingTypeNameList>
      <d2p1:PayorMappingTypeDTO>
        <d2p1:ComponentName>sample string 2</d2p1:ComponentName>
        <d2p1:OrderName>sample string 1</d2p1:OrderName>
      </d2p1:PayorMappingTypeDTO>
      <d2p1:PayorMappingTypeDTO>
        <d2p1:ComponentName>sample string 2</d2p1:ComponentName>
        <d2p1:OrderName>sample string 1</d2p1:OrderName>
      </d2p1:PayorMappingTypeDTO>
    </d2p1:PayorMappingTypeNameList>
    <d2p1:PayorTypeid>1</d2p1:PayorTypeid>
    <d2p1:Phone>sample string 9</d2p1:Phone>
    <d2p1:Policyid>sample string 14</d2p1:Policyid>
    <d2p1:Sequence>1</d2p1:Sequence>
    <d2p1:State>sample string 7</d2p1:State>
    <d2p1:StateName>sample string 12</d2p1:StateName>
    <d2p1:Suite>sample string 5</d2p1:Suite>
    <d2p1:TPA>sample string 16</d2p1:TPA>
    <d2p1:TPAid>1</d2p1:TPAid>
    <d2p1:Zip>sample string 8</d2p1:Zip>
    <d2p1:lstInsuranceCorporation>
      <d2p1:InsuranceCorporationDTO>
        <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:BranchCode>sample string 4</d2p1:BranchCode>
        <d2p1:CorporationCode>sample string 3</d2p1:CorporationCode>
        <d2p1:DivisionCode>sample string 5</d2p1:DivisionCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:InsuranceId>2</d2p1:InsuranceId>
        <d2p1:Level1>sample string 8</d2p1:Level1>
        <d2p1:Level2>sample string 9</d2p1:Level2>
        <d2p1:Level3>sample string 10</d2p1:Level3>
        <d2p1:Level4>sample string 11</d2p1:Level4>
        <d2p1:Level5>sample string 12</d2p1:Level5>
        <d2p1:Type>7</d2p1:Type>
        <d2p1:WorkLocationCode>sample string 6</d2p1:WorkLocationCode>
      </d2p1:InsuranceCorporationDTO>
      <d2p1:InsuranceCorporationDTO>
        <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-04T05:52:20.5449242-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:BranchCode>sample string 4</d2p1:BranchCode>
        <d2p1:CorporationCode>sample string 3</d2p1:CorporationCode>
        <d2p1:DivisionCode>sample string 5</d2p1:DivisionCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:InsuranceId>2</d2p1:InsuranceId>
        <d2p1:Level1>sample string 8</d2p1:Level1>
        <d2p1:Level2>sample string 9</d2p1:Level2>
        <d2p1:Level3>sample string 10</d2p1:Level3>
        <d2p1:Level4>sample string 11</d2p1:Level4>
        <d2p1:Level5>sample string 12</d2p1:Level5>
        <d2p1:Type>7</d2p1:Type>
        <d2p1:WorkLocationCode>sample string 6</d2p1:WorkLocationCode>
      </d2p1:InsuranceCorporationDTO>
    </d2p1:lstInsuranceCorporation>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfInsuranceDTO3NYuOdgi>