POST api/PatientSpecimen
Request Information
URI Parameters
None.
Body Parameters
PatientSpecimenEditModelName | Description | Type | Additional information |
---|---|---|---|
patientSpecimenId | globally unique identifier |
None. |
|
orderId | globally unique identifier |
None. |
|
submissionTypeId | integer |
None. |
|
specimenNumber | string |
Max length: 20 |
|
fedExNumber | string |
Max length: 25 |
|
accessionDate | date |
None. |
|
collectionDate | date |
None. |
|
collectionTime | string |
Max length: 5 |
Request Formats
application/json, text/json
Sample:
{ "patientSpecimenId": "7b836edc-355e-4875-8163-2e9cbbabc9cd", "orderId": "89daa425-7d50-4355-9afa-1f22bb6ffa73", "submissionTypeId": 3, "specimenNumber": "sample string 4", "fedExNumber": "sample string 5", "accessionDate": "2021-03-02T01:59:31.1577947-08:00", "collectionDate": "2021-03-02T01:59:31.1577947-08:00", "collectionTime": "sample string 8" }
application/xml, text/xml
Sample:
<PatientSpecimenEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models"> <accessionDate>2021-03-02T01:59:31.1577947-08:00</accessionDate> <collectionDate>2021-03-02T01:59:31.1577947-08:00</collectionDate> <collectionTime>sample string 8</collectionTime> <fedExNumber>sample string 5</fedExNumber> <orderId>89daa425-7d50-4355-9afa-1f22bb6ffa73</orderId> <patientSpecimenId>7b836edc-355e-4875-8163-2e9cbbabc9cd</patientSpecimenId> <specimenNumber>sample string 4</specimenNumber> <submissionTypeId>3</submissionTypeId> </PatientSpecimenEditModel>
application/x-www-form-urlencoded
Sample:
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. |