POST api/NTMedical/PostInjuryDetail

Request Information

URI Parameters

None.

Body Parameters

InjuryDetailDTO
NameDescriptionTypeAdditional information
Id

integer

None.

MedicalId

integer

None.

InjuryNatureId

integer

None.

InjuryNatureName

string

String length: inclusive between 0 and 100

CauseOfIncidentId

integer

None.

CauseOfIncidentName

string

String length: inclusive between 0 and 50

InjuryDetail_InjuryAreaList

Collection of InjuryDetail_InjuryAreaDTO

None.

CombinedInjuryArea

string

String length: inclusive between 0 and 4000

CombinedInjuryAreaRegion

string

String length: inclusive between 0 and 4000

NCCICode

string

String length: inclusive between 0 and 50

CauseOfIncidentNCCICode

string

String length: inclusive between 0 and 50

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,
  "MedicalId": 1,
  "InjuryNatureId": 1,
  "InjuryNatureName": "sample string 2",
  "CauseOfIncidentId": 1,
  "CauseOfIncidentName": "sample string 3",
  "InjuryDetail_InjuryAreaList": [
    {
      "Id": 1,
      "InjuryDetailId": 1,
      "InjuryAreaId": 1,
      "InjuryAreaName": "sample string 2",
      "InjuryAreaRegionId": 1,
      "InjuryAreaRegionName": "sample string 3",
      "NCCICode": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:35:37.24987-08:00",
      "DateUpdated": "2024-11-21T00:35:37.24987-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "CompanyCode": "sample string 10",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "InjuryDetailId": 1,
      "InjuryAreaId": 1,
      "InjuryAreaName": "sample string 2",
      "InjuryAreaRegionId": 1,
      "InjuryAreaRegionName": "sample string 3",
      "NCCICode": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:35:37.24987-08:00",
      "DateUpdated": "2024-11-21T00:35:37.24987-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "CompanyCode": "sample string 10",
      "IsExcludeDiscount": true
    }
  ],
  "CombinedInjuryArea": "sample string 4",
  "CombinedInjuryAreaRegion": "sample string 5",
  "NCCICode": "sample string 6",
  "CauseOfIncidentNCCICode": "sample string 7",
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:35:37.2655066-08:00",
  "DateUpdated": "2024-11-21T00:35:37.2655066-08:00",
  "UserIDCreated": 11,
  "UserIDUpdated": 12,
  "CompanyCode": "sample string 13",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<InjuryDetailDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 13</CompanyCode>
  <DateCreated>2024-11-21T00:35:37.2655066-08:00</DateCreated>
  <DateUpdated>2024-11-21T00:35:37.2655066-08:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>11</UserIDCreated>
  <UserIDUpdated>12</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <CauseOfIncidentId>1</CauseOfIncidentId>
  <CauseOfIncidentNCCICode>sample string 7</CauseOfIncidentNCCICode>
  <CauseOfIncidentName>sample string 3</CauseOfIncidentName>
  <CombinedInjuryArea>sample string 4</CombinedInjuryArea>
  <CombinedInjuryAreaRegion>sample string 5</CombinedInjuryAreaRegion>
  <Id>1</Id>
  <InjuryDetail_InjuryAreaList>
    <InjuryDetail_InjuryAreaDTO>
      <CompanyCode>sample string 10</CompanyCode>
      <DateCreated>2024-11-21T00:35:37.24987-08:00</DateCreated>
      <DateUpdated>2024-11-21T00:35:37.24987-08:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>8</UserIDCreated>
      <UserIDUpdated>9</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <Id>1</Id>
      <InjuryAreaId>1</InjuryAreaId>
      <InjuryAreaName>sample string 2</InjuryAreaName>
      <InjuryAreaRegionId>1</InjuryAreaRegionId>
      <InjuryAreaRegionName>sample string 3</InjuryAreaRegionName>
      <InjuryDetailId>1</InjuryDetailId>
      <NCCICode>sample string 4</NCCICode>
    </InjuryDetail_InjuryAreaDTO>
    <InjuryDetail_InjuryAreaDTO>
      <CompanyCode>sample string 10</CompanyCode>
      <DateCreated>2024-11-21T00:35:37.24987-08:00</DateCreated>
      <DateUpdated>2024-11-21T00:35:37.24987-08:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>8</UserIDCreated>
      <UserIDUpdated>9</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <Id>1</Id>
      <InjuryAreaId>1</InjuryAreaId>
      <InjuryAreaName>sample string 2</InjuryAreaName>
      <InjuryAreaRegionId>1</InjuryAreaRegionId>
      <InjuryAreaRegionName>sample string 3</InjuryAreaRegionName>
      <InjuryDetailId>1</InjuryDetailId>
      <NCCICode>sample string 4</NCCICode>
    </InjuryDetail_InjuryAreaDTO>
  </InjuryDetail_InjuryAreaList>
  <InjuryNatureId>1</InjuryNatureId>
  <InjuryNatureName>sample string 2</InjuryNatureName>
  <MedicalId>1</MedicalId>
  <NCCICode>sample string 6</NCCICode>
</InjuryDetailDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfInjuryDetailDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

InjuryDetailDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "MedicalId": 1,
    "InjuryNatureId": 1,
    "InjuryNatureName": "sample string 2",
    "CauseOfIncidentId": 1,
    "CauseOfIncidentName": "sample string 3",
    "InjuryDetail_InjuryAreaList": [
      {
        "Id": 1,
        "InjuryDetailId": 1,
        "InjuryAreaId": 1,
        "InjuryAreaName": "sample string 2",
        "InjuryAreaRegionId": 1,
        "InjuryAreaRegionName": "sample string 3",
        "NCCICode": "sample string 4",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:35:37.7605619-08:00",
        "DateUpdated": "2024-11-21T00:35:37.7605619-08:00",
        "UserIDCreated": 8,
        "UserIDUpdated": 9,
        "CompanyCode": "sample string 10",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "InjuryDetailId": 1,
        "InjuryAreaId": 1,
        "InjuryAreaName": "sample string 2",
        "InjuryAreaRegionId": 1,
        "InjuryAreaRegionName": "sample string 3",
        "NCCICode": "sample string 4",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:35:37.7605619-08:00",
        "DateUpdated": "2024-11-21T00:35:37.7605619-08:00",
        "UserIDCreated": 8,
        "UserIDUpdated": 9,
        "CompanyCode": "sample string 10",
        "IsExcludeDiscount": true
      }
    ],
    "CombinedInjuryArea": "sample string 4",
    "CombinedInjuryAreaRegion": "sample string 5",
    "NCCICode": "sample string 6",
    "CauseOfIncidentNCCICode": "sample string 7",
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:35:37.7605619-08:00",
    "DateUpdated": "2024-11-21T00:35:37.7605619-08:00",
    "UserIDCreated": 11,
    "UserIDUpdated": 12,
    "CompanyCode": "sample string 13",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfInjuryDetailDTO3NYuOdgi 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 13</d2p1:CompanyCode>
    <d2p1:DateCreated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>11</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:CauseOfIncidentId>1</d2p1:CauseOfIncidentId>
    <d2p1:CauseOfIncidentNCCICode>sample string 7</d2p1:CauseOfIncidentNCCICode>
    <d2p1:CauseOfIncidentName>sample string 3</d2p1:CauseOfIncidentName>
    <d2p1:CombinedInjuryArea>sample string 4</d2p1:CombinedInjuryArea>
    <d2p1:CombinedInjuryAreaRegion>sample string 5</d2p1:CombinedInjuryAreaRegion>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InjuryDetail_InjuryAreaList>
      <d2p1:InjuryDetail_InjuryAreaDTO>
        <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
        <d2p1:DateCreated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:InjuryAreaId>1</d2p1:InjuryAreaId>
        <d2p1:InjuryAreaName>sample string 2</d2p1:InjuryAreaName>
        <d2p1:InjuryAreaRegionId>1</d2p1:InjuryAreaRegionId>
        <d2p1:InjuryAreaRegionName>sample string 3</d2p1:InjuryAreaRegionName>
        <d2p1:InjuryDetailId>1</d2p1:InjuryDetailId>
        <d2p1:NCCICode>sample string 4</d2p1:NCCICode>
      </d2p1:InjuryDetail_InjuryAreaDTO>
      <d2p1:InjuryDetail_InjuryAreaDTO>
        <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
        <d2p1:DateCreated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2024-11-21T00:35:37.7605619-08:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:InjuryAreaId>1</d2p1:InjuryAreaId>
        <d2p1:InjuryAreaName>sample string 2</d2p1:InjuryAreaName>
        <d2p1:InjuryAreaRegionId>1</d2p1:InjuryAreaRegionId>
        <d2p1:InjuryAreaRegionName>sample string 3</d2p1:InjuryAreaRegionName>
        <d2p1:InjuryDetailId>1</d2p1:InjuryDetailId>
        <d2p1:NCCICode>sample string 4</d2p1:NCCICode>
      </d2p1:InjuryDetail_InjuryAreaDTO>
    </d2p1:InjuryDetail_InjuryAreaList>
    <d2p1:InjuryNatureId>1</d2p1:InjuryNatureId>
    <d2p1:InjuryNatureName>sample string 2</d2p1:InjuryNatureName>
    <d2p1:MedicalId>1</d2p1:MedicalId>
    <d2p1:NCCICode>sample string 6</d2p1:NCCICode>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfInjuryDetailDTO3NYuOdgi>