POST api/NTCosCompany/PostCorporationInjuryArea

Request Information

URI Parameters

None.

Body Parameters

Collection of CorporationInjuryAreaDTO
NameDescriptionTypeAdditional information
CorporationInjuryAreaId

integer

None.

CorporationCode

string

String length: inclusive between 0 and 20

CorporationValidFlag

boolean

None.

Type

integer

None.

Id

integer

None.

Name

string

String length: inclusive between 0 and 50

Sequence

integer

None.

Description

string

String length: inclusive between 0 and 100

NCCICode

string

String length: inclusive between 0 and 50

MedGateCode

string

String length: inclusive between 0 and 50

Standard

boolean

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:
[
  {
    "CorporationInjuryAreaId": 1,
    "CorporationCode": "sample string 2",
    "CorporationValidFlag": true,
    "Type": 4,
    "Id": 5,
    "Name": "sample string 6",
    "Sequence": 7,
    "Description": "sample string 8",
    "NCCICode": "sample string 9",
    "MedGateCode": "sample string 10",
    "Standard": true,
    "ValidFlag": true,
    "DateCreated": "2025-04-03T19:33:24.6363444-07:00",
    "DateUpdated": "2025-04-03T19:33:24.6363444-07:00",
    "UserIDCreated": 15,
    "UserIDUpdated": 16,
    "CompanyCode": "sample string 17",
    "IsExcludeDiscount": true
  },
  {
    "CorporationInjuryAreaId": 1,
    "CorporationCode": "sample string 2",
    "CorporationValidFlag": true,
    "Type": 4,
    "Id": 5,
    "Name": "sample string 6",
    "Sequence": 7,
    "Description": "sample string 8",
    "NCCICode": "sample string 9",
    "MedGateCode": "sample string 10",
    "Standard": true,
    "ValidFlag": true,
    "DateCreated": "2025-04-03T19:33:24.6363444-07:00",
    "DateUpdated": "2025-04-03T19:33:24.6363444-07:00",
    "UserIDCreated": 15,
    "UserIDUpdated": 16,
    "CompanyCode": "sample string 17",
    "IsExcludeDiscount": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCorporationInjuryAreaDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CorporationInjuryAreaDTO>
    <CompanyCode>sample string 17</CompanyCode>
    <DateCreated>2025-04-03T19:33:24.6363444-07:00</DateCreated>
    <DateUpdated>2025-04-03T19:33:24.6363444-07:00</DateUpdated>
    <IsExcludeDiscount>true</IsExcludeDiscount>
    <UserIDCreated>15</UserIDCreated>
    <UserIDUpdated>16</UserIDUpdated>
    <ValidFlag>true</ValidFlag>
    <Description>sample string 8</Description>
    <Id>5</Id>
    <MedGateCode>sample string 10</MedGateCode>
    <NCCICode>sample string 9</NCCICode>
    <Name>sample string 6</Name>
    <Sequence>7</Sequence>
    <Standard>true</Standard>
    <CorporationCode>sample string 2</CorporationCode>
    <CorporationInjuryAreaId>1</CorporationInjuryAreaId>
    <CorporationValidFlag>true</CorporationValidFlag>
    <Type>4</Type>
  </CorporationInjuryAreaDTO>
  <CorporationInjuryAreaDTO>
    <CompanyCode>sample string 17</CompanyCode>
    <DateCreated>2025-04-03T19:33:24.6363444-07:00</DateCreated>
    <DateUpdated>2025-04-03T19:33:24.6363444-07:00</DateUpdated>
    <IsExcludeDiscount>true</IsExcludeDiscount>
    <UserIDCreated>15</UserIDCreated>
    <UserIDUpdated>16</UserIDUpdated>
    <ValidFlag>true</ValidFlag>
    <Description>sample string 8</Description>
    <Id>5</Id>
    <MedGateCode>sample string 10</MedGateCode>
    <NCCICode>sample string 9</NCCICode>
    <Name>sample string 6</Name>
    <Sequence>7</Sequence>
    <Standard>true</Standard>
    <CorporationCode>sample string 2</CorporationCode>
    <CorporationInjuryAreaId>1</CorporationInjuryAreaId>
    <CorporationValidFlag>true</CorporationValidFlag>
    <Type>4</Type>
  </CorporationInjuryAreaDTO>
</ArrayOfCorporationInjuryAreaDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfListOfCorporationInjuryAreaDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CorporationInjuryAreaDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "CorporationInjuryAreaId": 1,
      "CorporationCode": "sample string 2",
      "CorporationValidFlag": true,
      "Type": 4,
      "Id": 5,
      "Name": "sample string 6",
      "Sequence": 7,
      "Description": "sample string 8",
      "NCCICode": "sample string 9",
      "MedGateCode": "sample string 10",
      "Standard": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:33:24.6363444-07:00",
      "DateUpdated": "2025-04-03T19:33:24.6363444-07:00",
      "UserIDCreated": 15,
      "UserIDUpdated": 16,
      "CompanyCode": "sample string 17",
      "IsExcludeDiscount": true
    },
    {
      "CorporationInjuryAreaId": 1,
      "CorporationCode": "sample string 2",
      "CorporationValidFlag": true,
      "Type": 4,
      "Id": 5,
      "Name": "sample string 6",
      "Sequence": 7,
      "Description": "sample string 8",
      "NCCICode": "sample string 9",
      "MedGateCode": "sample string 10",
      "Standard": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:33:24.6363444-07:00",
      "DateUpdated": "2025-04-03T19:33:24.6363444-07:00",
      "UserIDCreated": 15,
      "UserIDUpdated": 16,
      "CompanyCode": "sample string 17",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfCorporationInjuryAreaDTO3NYuOdgi 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:CorporationInjuryAreaDTO>
      <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
      <d2p1:DateCreated>2025-04-03T19:33:24.6363444-07:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2025-04-03T19:33:24.6363444-07:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 8</d2p1:Description>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:MedGateCode>sample string 10</d2p1:MedGateCode>
      <d2p1:NCCICode>sample string 9</d2p1:NCCICode>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:Sequence>7</d2p1:Sequence>
      <d2p1:Standard>true</d2p1:Standard>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:CorporationInjuryAreaId>1</d2p1:CorporationInjuryAreaId>
      <d2p1:CorporationValidFlag>true</d2p1:CorporationValidFlag>
      <d2p1:Type>4</d2p1:Type>
    </d2p1:CorporationInjuryAreaDTO>
    <d2p1:CorporationInjuryAreaDTO>
      <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
      <d2p1:DateCreated>2025-04-03T19:33:24.6363444-07:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2025-04-03T19:33:24.6363444-07:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 8</d2p1:Description>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:MedGateCode>sample string 10</d2p1:MedGateCode>
      <d2p1:NCCICode>sample string 9</d2p1:NCCICode>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:Sequence>7</d2p1:Sequence>
      <d2p1:Standard>true</d2p1:Standard>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:CorporationInjuryAreaId>1</d2p1:CorporationInjuryAreaId>
      <d2p1:CorporationValidFlag>true</d2p1:CorporationValidFlag>
      <d2p1:Type>4</d2p1:Type>
    </d2p1:CorporationInjuryAreaDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCorporationInjuryAreaDTO3NYuOdgi>