POST api/NTCosCompany/PostCorporationInjuryAreaRegion

Request Information

URI Parameters

None.

Body Parameters

Collection of CorporationInjuryAreaRegionDTO
NameDescriptionTypeAdditional information
CorporationInjuryAreaRegionId

integer

None.

CorporationCode

string

String length: inclusive between 0 and 20

CorporationValidFlag

boolean

None.

Type

integer

None.

Id

integer

None.

Sequence

integer

None.

Name

string

String length: inclusive between 0 and 50

MedGateCode

string

String length: inclusive between 0 and 50

Description

string

String length: inclusive between 0 and 100

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfListOfCorporationInjuryAreaRegionDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CorporationInjuryAreaRegionDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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