POST api/NTSetting/PostInjuryArea

Request Information

URI Parameters

None.

Body Parameters

InjuryAreaDTO
NameDescriptionTypeAdditional information
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:
{
  "Id": 1,
  "Name": "sample string 2",
  "Sequence": 3,
  "Description": "sample string 4",
  "NCCICode": "sample string 5",
  "MedGateCode": "sample string 6",
  "Standard": true,
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:36:13.4471968-08:00",
  "DateUpdated": "2024-11-21T00:36:13.4471968-08:00",
  "UserIDCreated": 11,
  "UserIDUpdated": 12,
  "CompanyCode": "sample string 13",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<InjuryAreaDTO 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:36:13.4471968-08:00</DateCreated>
  <DateUpdated>2024-11-21T00:36:13.4471968-08:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>11</UserIDCreated>
  <UserIDUpdated>12</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <MedGateCode>sample string 6</MedGateCode>
  <NCCICode>sample string 5</NCCICode>
  <Name>sample string 2</Name>
  <Sequence>3</Sequence>
  <Standard>true</Standard>
</InjuryAreaDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfInjuryAreaDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

InjuryAreaDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "Name": "sample string 2",
    "Sequence": 3,
    "Description": "sample string 4",
    "NCCICode": "sample string 5",
    "MedGateCode": "sample string 6",
    "Standard": true,
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:36:13.4635717-08:00",
    "DateUpdated": "2024-11-21T00:36:13.4635717-08:00",
    "UserIDCreated": 11,
    "UserIDUpdated": 12,
    "CompanyCode": "sample string 13",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfInjuryAreaDTO3NYuOdgi 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:36:13.4635717-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:36:13.4635717-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:Description>sample string 4</d2p1:Description>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:MedGateCode>sample string 6</d2p1:MedGateCode>
    <d2p1:NCCICode>sample string 5</d2p1:NCCICode>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:Sequence>3</d2p1:Sequence>
    <d2p1:Standard>true</d2p1:Standard>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfInjuryAreaDTO3NYuOdgi>