POST api/NTNonInjury/SaveCPWCovidTest
Request Information
URI Parameters
None.
Body Parameters
CovidTestDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CaseNo | integer |
None. |
|
DateOfTest | date |
None. |
|
TestTypeId | integer |
None. |
|
TestResult | integer |
None. |
|
TestResultReceived | date |
None. |
|
FacilityName | string |
String length: inclusive between 0 and 100 |
|
FacilityAddress1 | string |
String length: inclusive between 0 and 60 |
|
FacilityAddress2 | string |
String length: inclusive between 0 and 60 |
|
FacilityCity | string |
String length: inclusive between 0 and 30 |
|
FacilityState | string |
String length: inclusive between 0 and 20 |
|
FacilityZipCode | string |
String length: inclusive between 0 and 10 |
|
FacilityCountry | string |
String length: inclusive between 0 and 20 |
|
TestTypeName | string |
String length: inclusive between 0 and 100 |
|
FullAddress | string |
String length: inclusive between 0 and 8000 |
|
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, "CaseNo": 2, "DateOfTest": "2025-04-03T19:25:24.1321071-07:00", "TestTypeId": 1, "TestResult": 1, "TestResultReceived": "2025-04-03T19:25:24.1321071-07:00", "FacilityName": "sample string 3", "FacilityAddress1": "sample string 4", "FacilityAddress2": "sample string 5", "FacilityCity": "sample string 6", "FacilityState": "sample string 7", "FacilityZipCode": "sample string 8", "FacilityCountry": "sample string 9", "TestTypeName": "sample string 10", "FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9", "ValidFlag": true, "DateCreated": "2025-04-03T19:25:24.1321071-07:00", "DateUpdated": "2025-04-03T19:25:24.1321071-07:00", "UserIDCreated": 14, "UserIDUpdated": 15, "CompanyCode": "sample string 16", "IsExcludeDiscount": true }
application/xml, text/xml
Sample:
<CovidTestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.NurseTriage.NonInjury"> <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 16</CompanyCode> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:25:24.1321071-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:25:24.1321071-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">14</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">15</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <CaseNo>2</CaseNo> <DateOfTest>2025-04-03T19:25:24.1321071-07:00</DateOfTest> <FacilityAddress1>sample string 4</FacilityAddress1> <FacilityAddress2>sample string 5</FacilityAddress2> <FacilityCity>sample string 6</FacilityCity> <FacilityCountry>sample string 9</FacilityCountry> <FacilityName>sample string 3</FacilityName> <FacilityState>sample string 7</FacilityState> <FacilityZipCode>sample string 8</FacilityZipCode> <Id>1</Id> <TestResult>1</TestResult> <TestResultReceived>2025-04-03T19:25:24.1321071-07:00</TestResultReceived> <TestTypeId>1</TestTypeId> <TestTypeName>sample string 10</TestTypeName> </CovidTestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCovidTestDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | CovidTestDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": { "Id": 1, "CaseNo": 2, "DateOfTest": "2025-04-03T19:25:24.1477356-07:00", "TestTypeId": 1, "TestResult": 1, "TestResultReceived": "2025-04-03T19:25:24.1477356-07:00", "FacilityName": "sample string 3", "FacilityAddress1": "sample string 4", "FacilityAddress2": "sample string 5", "FacilityCity": "sample string 6", "FacilityState": "sample string 7", "FacilityZipCode": "sample string 8", "FacilityCountry": "sample string 9", "TestTypeName": "sample string 10", "FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9", "ValidFlag": true, "DateCreated": "2025-04-03T19:25:24.1477356-07:00", "DateUpdated": "2025-04-03T19:25:24.1477356-07:00", "UserIDCreated": 14, "UserIDUpdated": 15, "CompanyCode": "sample string 16", "IsExcludeDiscount": true }, "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfCovidTestDTOmhANR0_Pp 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.NurseTriage.NonInjury"> <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 16</CompanyCode> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:25:24.1477356-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:25:24.1477356-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">14</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">15</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:CaseNo>2</d2p1:CaseNo> <d2p1:DateOfTest>2025-04-03T19:25:24.1477356-07:00</d2p1:DateOfTest> <d2p1:FacilityAddress1>sample string 4</d2p1:FacilityAddress1> <d2p1:FacilityAddress2>sample string 5</d2p1:FacilityAddress2> <d2p1:FacilityCity>sample string 6</d2p1:FacilityCity> <d2p1:FacilityCountry>sample string 9</d2p1:FacilityCountry> <d2p1:FacilityName>sample string 3</d2p1:FacilityName> <d2p1:FacilityState>sample string 7</d2p1:FacilityState> <d2p1:FacilityZipCode>sample string 8</d2p1:FacilityZipCode> <d2p1:Id>1</d2p1:Id> <d2p1:TestResult>1</d2p1:TestResult> <d2p1:TestResultReceived>2025-04-03T19:25:24.1477356-07:00</d2p1:TestResultReceived> <d2p1:TestTypeId>1</d2p1:TestTypeId> <d2p1:TestTypeName>sample string 10</d2p1:TestTypeName> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfCovidTestDTOmhANR0_Pp>