POST api/Sample_data
Request Information
URI Parameters
None.
Body Parameters
SAMPLEDATAName | Description | Type | Additional information |
---|---|---|---|
RegTID | string |
None. |
|
SampNo | integer |
None. |
|
Status | integer |
None. |
|
NoRRep | integer |
None. |
|
RType | integer |
None. |
|
SmComments | string |
None. |
|
BinaryData | Collection of byte |
None. |
|
SmMemo | string |
None. |
|
BASESAMPNO | integer |
None. |
|
SAMPLE_CLASS | integer |
None. |
|
RESULTTYPE | integer |
None. |
|
REF_SAMPLE_ID | integer |
None. |
|
SAMPLEDATA_ID | integer |
None. |
|
VERSIONSTAMP | Collection of byte |
None. |
|
SAMPLEDATE | date |
None. |
|
SAMPLECOMMENTS | string |
None. |
|
SAMPLECOMMENTS2 | string |
None. |
|
APPROVED | string |
None. |
|
APPROVALDATE | date |
None. |
|
ACTIONED | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "RegTID": "sample string 1", "SampNo": 2, "Status": 1, "NoRRep": 1, "RType": 1, "SmComments": "sample string 3", "BinaryData": "QEA=", "SmMemo": "sample string 4", "BASESAMPNO": 1, "SAMPLE_CLASS": 1, "RESULTTYPE": 1, "REF_SAMPLE_ID": 1, "SAMPLEDATA_ID": 5, "VERSIONSTAMP": "QEA=", "SAMPLEDATE": "2024-10-10T19:14:55.1924973+11:00", "SAMPLECOMMENTS": "sample string 6", "SAMPLECOMMENTS2": "sample string 7", "APPROVED": "sample string 8", "APPROVALDATE": "2024-10-10T19:14:55.1924973+11:00", "ACTIONED": "sample string 9" }
application/xml, text/xml
Sample:
<SAMPLEDATA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LimsOminiApi.Models"> <ACTIONED>sample string 9</ACTIONED> <APPROVALDATE>2024-10-10T19:14:55.1924973+11:00</APPROVALDATE> <APPROVED>sample string 8</APPROVED> <BASESAMPNO>1</BASESAMPNO> <BinaryData>QEA=</BinaryData> <NoRRep>1</NoRRep> <REF_SAMPLE_ID>1</REF_SAMPLE_ID> <RESULTTYPE>1</RESULTTYPE> <RType>1</RType> <RegTID>sample string 1</RegTID> <SAMPLECOMMENTS>sample string 6</SAMPLECOMMENTS> <SAMPLECOMMENTS2>sample string 7</SAMPLECOMMENTS2> <SAMPLEDATA_ID>5</SAMPLEDATA_ID> <SAMPLEDATE>2024-10-10T19:14:55.1924973+11:00</SAMPLEDATE> <SAMPLE_CLASS>1</SAMPLE_CLASS> <SampNo>2</SampNo> <SmComments>sample string 3</SmComments> <SmMemo>sample string 4</SmMemo> <Status>1</Status> <VERSIONSTAMP>QEA=</VERSIONSTAMP> </SAMPLEDATA>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |