POST api/NTSetting/PostComponent
Request Information
URI Parameters
None.
Body Parameters
MEComponentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| Sequence | integer |
None. |
|
| AuthorizeText | string |
String length: inclusive between 0 and 8000 |
|
| IsExpDateNeeded | boolean |
None. |
|
| IsNeedQuestionnaire | boolean |
None. |
|
| IsQuestionnaireRequired | boolean |
None. |
|
| lstMEComponentResult | Collection of MEComponentResultDTO |
None. |
|
| OrderCategoryId | integer |
None. |
|
| OrderCategoryTypeId | integer |
None. |
|
| ImagingOrderTypeId | integer |
None. |
|
| ImagingBodyPartId | integer |
None. |
|
| ImagingSubTypeId | integer |
None. |
|
| MedicationOrderTypeId | integer |
None. |
|
| MedicationDoseId | integer |
None. |
|
| SupplyOrderTypeId | integer |
None. |
|
| SupplySubTypeId | integer |
None. |
|
| LaboratoryOrderTypeId | integer |
None. |
|
| LaboratoryOrderSpecimenCode | integer |
None. |
|
| ProcedureSubTypeId | integer |
None. |
|
| ProcedureOrderTypeId | integer |
None. |
|
| OrderCategoryName | string |
String length: inclusive between 0 and 100 |
|
| OrderCategorySubTypeId | integer |
None. |
|
| DotNonDotId | integer |
None. |
|
| SpecimenTypeId | integer |
None. |
|
| OrderCategorySubTypeLevel1Id | integer |
None. |
|
| EncounterId | integer |
None. |
|
| EccCaseTypeId | integer |
None. |
|
| OrderDrugScreenTypeId | integer |
None. |
|
| OrderId | Collection of integer |
None. |
|
| OrderIdList | Collection of integer |
None. |
|
| ServiceId | integer |
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,
"AuthorizeText": "sample string 4",
"IsExpDateNeeded": true,
"IsNeedQuestionnaire": true,
"IsQuestionnaireRequired": true,
"lstMEComponentResult": [
{
"Id": 1,
"Name": "sample string 2",
"ComponentId": 3,
"Type": 4,
"FormTypeId": 1,
"TypeName": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.6639914-07:00",
"DateUpdated": "2025-10-30T07:57:50.6639914-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"ComponentId": 3,
"Type": 4,
"FormTypeId": 1,
"TypeName": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.6639914-07:00",
"DateUpdated": "2025-10-30T07:57:50.6639914-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
],
"OrderCategoryId": 8,
"OrderCategoryTypeId": 9,
"ImagingOrderTypeId": 10,
"ImagingBodyPartId": 11,
"ImagingSubTypeId": 12,
"MedicationOrderTypeId": 13,
"MedicationDoseId": 14,
"SupplyOrderTypeId": 15,
"SupplySubTypeId": 16,
"LaboratoryOrderTypeId": 17,
"LaboratoryOrderSpecimenCode": 18,
"ProcedureSubTypeId": 19,
"ProcedureOrderTypeId": 20,
"OrderCategoryName": "sample string 21",
"OrderCategorySubTypeId": 1,
"DotNonDotId": 1,
"SpecimenTypeId": 1,
"OrderCategorySubTypeLevel1Id": 1,
"EncounterId": 22,
"EccCaseTypeId": 1,
"OrderDrugScreenTypeId": 1,
"OrderId": [
1,
2
],
"OrderIdList": [
1,
2
],
"ServiceId": 23,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.679635-07:00",
"DateUpdated": "2025-10-30T07:57:50.679635-07:00",
"UserIDCreated": 27,
"UserIDUpdated": 28,
"CompanyCode": "sample string 29",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<MEComponentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 29</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.679635-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.679635-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">27</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">28</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<AuthorizeText>sample string 4</AuthorizeText>
<DotNonDotId>1</DotNonDotId>
<EccCaseTypeId>1</EccCaseTypeId>
<EncounterId>22</EncounterId>
<Id>1</Id>
<ImagingBodyPartId>11</ImagingBodyPartId>
<ImagingOrderTypeId>10</ImagingOrderTypeId>
<ImagingSubTypeId>12</ImagingSubTypeId>
<IsExpDateNeeded>true</IsExpDateNeeded>
<IsNeedQuestionnaire>true</IsNeedQuestionnaire>
<IsQuestionnaireRequired>true</IsQuestionnaireRequired>
<LaboratoryOrderSpecimenCode>18</LaboratoryOrderSpecimenCode>
<LaboratoryOrderTypeId>17</LaboratoryOrderTypeId>
<MedicationDoseId>14</MedicationDoseId>
<MedicationOrderTypeId>13</MedicationOrderTypeId>
<Name>sample string 2</Name>
<OrderCategoryId>8</OrderCategoryId>
<OrderCategoryName>sample string 21</OrderCategoryName>
<OrderCategorySubTypeId>1</OrderCategorySubTypeId>
<OrderCategorySubTypeLevel1Id>1</OrderCategorySubTypeLevel1Id>
<OrderCategoryTypeId>9</OrderCategoryTypeId>
<OrderDrugScreenTypeId>1</OrderDrugScreenTypeId>
<OrderId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</OrderId>
<OrderIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</OrderIdList>
<ProcedureOrderTypeId>20</ProcedureOrderTypeId>
<ProcedureSubTypeId>19</ProcedureSubTypeId>
<Sequence>3</Sequence>
<ServiceId>23</ServiceId>
<SpecimenTypeId>1</SpecimenTypeId>
<SupplyOrderTypeId>15</SupplyOrderTypeId>
<SupplySubTypeId>16</SupplySubTypeId>
<lstMEComponentResult>
<MEComponentResultDTO>
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 11</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6639914-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6639914-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<ComponentId>3</ComponentId>
<FormTypeId>1</FormTypeId>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>4</Type>
<TypeName>sample string 5</TypeName>
</MEComponentResultDTO>
<MEComponentResultDTO>
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 11</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6639914-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6639914-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<ComponentId>3</ComponentId>
<FormTypeId>1</FormTypeId>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>4</Type>
<TypeName>sample string 5</TypeName>
</MEComponentResultDTO>
</lstMEComponentResult>
</MEComponentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfMEComponentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | MEComponentDTO |
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,
"AuthorizeText": "sample string 4",
"IsExpDateNeeded": true,
"IsNeedQuestionnaire": true,
"IsQuestionnaireRequired": true,
"lstMEComponentResult": [
{
"Id": 1,
"Name": "sample string 2",
"ComponentId": 3,
"Type": 4,
"FormTypeId": 1,
"TypeName": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.6952608-07:00",
"DateUpdated": "2025-10-30T07:57:50.6952608-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"ComponentId": 3,
"Type": 4,
"FormTypeId": 1,
"TypeName": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.6952608-07:00",
"DateUpdated": "2025-10-30T07:57:50.6952608-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
],
"OrderCategoryId": 8,
"OrderCategoryTypeId": 9,
"ImagingOrderTypeId": 10,
"ImagingBodyPartId": 11,
"ImagingSubTypeId": 12,
"MedicationOrderTypeId": 13,
"MedicationDoseId": 14,
"SupplyOrderTypeId": 15,
"SupplySubTypeId": 16,
"LaboratoryOrderTypeId": 17,
"LaboratoryOrderSpecimenCode": 18,
"ProcedureSubTypeId": 19,
"ProcedureOrderTypeId": 20,
"OrderCategoryName": "sample string 21",
"OrderCategorySubTypeId": 1,
"DotNonDotId": 1,
"SpecimenTypeId": 1,
"OrderCategorySubTypeLevel1Id": 1,
"EncounterId": 22,
"EccCaseTypeId": 1,
"OrderDrugScreenTypeId": 1,
"OrderId": [
1,
2
],
"OrderIdList": [
1,
2
],
"ServiceId": 23,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:57:50.6952608-07:00",
"DateUpdated": "2025-10-30T07:57:50.6952608-07:00",
"UserIDCreated": 27,
"UserIDUpdated": 28,
"CompanyCode": "sample string 29",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfMEComponentDTOzIntITI8 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.DTO.MedicalExam">
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 29</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">27</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">28</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<d2p1:AuthorizeText>sample string 4</d2p1:AuthorizeText>
<d2p1:DotNonDotId>1</d2p1:DotNonDotId>
<d2p1:EccCaseTypeId>1</d2p1:EccCaseTypeId>
<d2p1:EncounterId>22</d2p1:EncounterId>
<d2p1:Id>1</d2p1:Id>
<d2p1:ImagingBodyPartId>11</d2p1:ImagingBodyPartId>
<d2p1:ImagingOrderTypeId>10</d2p1:ImagingOrderTypeId>
<d2p1:ImagingSubTypeId>12</d2p1:ImagingSubTypeId>
<d2p1:IsExpDateNeeded>true</d2p1:IsExpDateNeeded>
<d2p1:IsNeedQuestionnaire>true</d2p1:IsNeedQuestionnaire>
<d2p1:IsQuestionnaireRequired>true</d2p1:IsQuestionnaireRequired>
<d2p1:LaboratoryOrderSpecimenCode>18</d2p1:LaboratoryOrderSpecimenCode>
<d2p1:LaboratoryOrderTypeId>17</d2p1:LaboratoryOrderTypeId>
<d2p1:MedicationDoseId>14</d2p1:MedicationDoseId>
<d2p1:MedicationOrderTypeId>13</d2p1:MedicationOrderTypeId>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OrderCategoryId>8</d2p1:OrderCategoryId>
<d2p1:OrderCategoryName>sample string 21</d2p1:OrderCategoryName>
<d2p1:OrderCategorySubTypeId>1</d2p1:OrderCategorySubTypeId>
<d2p1:OrderCategorySubTypeLevel1Id>1</d2p1:OrderCategorySubTypeLevel1Id>
<d2p1:OrderCategoryTypeId>9</d2p1:OrderCategoryTypeId>
<d2p1:OrderDrugScreenTypeId>1</d2p1:OrderDrugScreenTypeId>
<d2p1:OrderId xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</d2p1:OrderId>
<d2p1:OrderIdList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</d2p1:OrderIdList>
<d2p1:ProcedureOrderTypeId>20</d2p1:ProcedureOrderTypeId>
<d2p1:ProcedureSubTypeId>19</d2p1:ProcedureSubTypeId>
<d2p1:Sequence>3</d2p1:Sequence>
<d2p1:ServiceId>23</d2p1:ServiceId>
<d2p1:SpecimenTypeId>1</d2p1:SpecimenTypeId>
<d2p1:SupplyOrderTypeId>15</d2p1:SupplyOrderTypeId>
<d2p1:SupplySubTypeId>16</d2p1:SupplySubTypeId>
<d2p1:lstMEComponentResult>
<d2p1:MEComponentResultDTO>
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 11</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<d2p1:ComponentId>3</d2p1:ComponentId>
<d2p1:FormTypeId>1</d2p1:FormTypeId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Type>4</d2p1:Type>
<d2p1:TypeName>sample string 5</d2p1:TypeName>
</d2p1:MEComponentResultDTO>
<d2p1:MEComponentResultDTO>
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 11</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T07:57:50.6952608-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<d2p1:ComponentId>3</d2p1:ComponentId>
<d2p1:FormTypeId>1</d2p1:FormTypeId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Type>4</d2p1:Type>
<d2p1:TypeName>sample string 5</d2p1:TypeName>
</d2p1:MEComponentResultDTO>
</d2p1:lstMEComponentResult>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfMEComponentDTOzIntITI8>