POST api/CosEccSummary/SaveA_La_CarteComponent
Request Information
URI Parameters
None.
Body Parameters
MEALaCarteComponentDTOName | Description | Type | Additional information |
---|---|---|---|
CaseNo | integer |
None. |
|
ListComponentID | Collection of integer |
None. |
|
CorporationCode | string |
String length: inclusive between 0 and 20 |
|
EmployeeID | string |
String length: inclusive between 0 and 12 |
|
EncounterId | integer |
None. |
|
ServiceId | integer |
None. |
|
EccCaseTypeId | integer |
None. |
|
OrderDrugScreenTypeId | integer |
None. |
|
OrderId | Collection of integer |
None. |
|
OrderIdList | Collection of integer |
None. |
|
PatientCheckinId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CaseNo": 1, "ListComponentID": [ 1, 2 ], "CorporationCode": "sample string 2", "EmployeeID": "sample string 3", "EncounterId": 4, "ServiceId": 5, "EccCaseTypeId": 1, "OrderDrugScreenTypeId": 1, "OrderId": [ 1, 2 ], "OrderIdList": [ 1, 2 ], "PatientCheckinId": 1 }
application/xml, text/xml
Sample:
<MEALaCarteComponentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam"> <CaseNo>1</CaseNo> <CorporationCode>sample string 2</CorporationCode> <EccCaseTypeId>1</EccCaseTypeId> <EmployeeID>sample string 3</EmployeeID> <EncounterId>4</EncounterId> <ListComponentID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ListComponentID> <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> <PatientCheckinId>1</PatientCheckinId> <ServiceId>5</ServiceId> </MEALaCarteComponentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfMEALaCarteComponentDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | MEALaCarteComponentDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": { "CaseNo": 1, "ListComponentID": [ 1, 2 ], "CorporationCode": "sample string 2", "EmployeeID": "sample string 3", "EncounterId": 4, "ServiceId": 5, "EccCaseTypeId": 1, "OrderDrugScreenTypeId": 1, "OrderId": [ 1, 2 ], "OrderIdList": [ 1, 2 ], "PatientCheckinId": 1 }, "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfMEALaCarteComponentDTOzIntITI8 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"> <d2p1:CaseNo>1</d2p1:CaseNo> <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode> <d2p1:EccCaseTypeId>1</d2p1:EccCaseTypeId> <d2p1:EmployeeID>sample string 3</d2p1:EmployeeID> <d2p1:EncounterId>4</d2p1:EncounterId> <d2p1:ListComponentID xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:ListComponentID> <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:PatientCheckinId>1</d2p1:PatientCheckinId> <d2p1:ServiceId>5</d2p1:ServiceId> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfMEALaCarteComponentDTOzIntITI8>