POST Lab/SaveSampleDetails
Request Information
URI Parameters
None.
Body Parameters
Collection of SampleCollectionList| Name | Description | Type | Additional information |
|---|---|---|---|
| SampleID | integer |
None. |
|
| SERVICE_NAME | string |
None. |
|
| SERVICESUBGRP_NAME | string |
None. |
|
| SERVICE_ID | integer |
None. |
|
| SERVICESUBGRP_ID | integer |
None. |
|
| SAMPLE_TYPE | integer |
None. |
|
| SAMPLENO | integer |
None. |
|
| HAS_RESULT | boolean |
None. |
|
| DCID | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SampleID": 1,
"SERVICE_NAME": "sample string 2",
"SERVICESUBGRP_NAME": "sample string 3",
"SERVICE_ID": 4,
"SERVICESUBGRP_ID": 5,
"SAMPLE_TYPE": 6,
"SAMPLENO": 7,
"HAS_RESULT": true,
"DCID": 9,
"CreatedBy": 10
},
{
"SampleID": 1,
"SERVICE_NAME": "sample string 2",
"SERVICESUBGRP_NAME": "sample string 3",
"SERVICE_ID": 4,
"SERVICESUBGRP_ID": 5,
"SAMPLE_TYPE": 6,
"SAMPLENO": 7,
"HAS_RESULT": true,
"DCID": 9,
"CreatedBy": 10
}
]
text/html
Sample:
[{"SampleID":1,"SERVICE_NAME":"sample string 2","SERVICESUBGRP_NAME":"sample string 3","SERVICE_ID":4,"SERVICESUBGRP_ID":5,"SAMPLE_TYPE":6,"SAMPLENO":7,"HAS_RESULT":true,"DCID":9,"CreatedBy":10},{"SampleID":1,"SERVICE_NAME":"sample string 2","SERVICESUBGRP_NAME":"sample string 3","SERVICE_ID":4,"SERVICESUBGRP_ID":5,"SAMPLE_TYPE":6,"SAMPLENO":7,"HAS_RESULT":true,"DCID":9,"CreatedBy":10}]
application/xml, text/xml
Sample:
<ArrayOfSampleCollectionList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models">
<SampleCollectionList>
<CreatedBy>10</CreatedBy>
<DCID>9</DCID>
<HAS_RESULT>true</HAS_RESULT>
<SAMPLENO>7</SAMPLENO>
<SAMPLE_TYPE>6</SAMPLE_TYPE>
<SERVICESUBGRP_ID>5</SERVICESUBGRP_ID>
<SERVICESUBGRP_NAME>sample string 3</SERVICESUBGRP_NAME>
<SERVICE_ID>4</SERVICE_ID>
<SERVICE_NAME>sample string 2</SERVICE_NAME>
<SampleID>1</SampleID>
</SampleCollectionList>
<SampleCollectionList>
<CreatedBy>10</CreatedBy>
<DCID>9</DCID>
<HAS_RESULT>true</HAS_RESULT>
<SAMPLENO>7</SAMPLENO>
<SAMPLE_TYPE>6</SAMPLE_TYPE>
<SERVICESUBGRP_ID>5</SERVICESUBGRP_ID>
<SERVICESUBGRP_NAME>sample string 3</SERVICESUBGRP_NAME>
<SERVICE_ID>4</SERVICE_ID>
<SERVICE_NAME>sample string 2</SERVICE_NAME>
<SampleID>1</SampleID>
</SampleCollectionList>
</ArrayOfSampleCollectionList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>