POST api/LabOrder/{id}?_url={_url}&key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| _url | string |
Required |
|
| id | globally unique identifier |
Required |
|
| key | string |
Required |
Body Parameters
ECLabOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| primary_patient_name | string |
None. |
|
| primary_patient_number | string |
None. |
|
| patient_details | Collection of PatientDetails |
None. |
|
| payment_type | string |
None. |
|
| address | string |
None. |
|
| encounter_id | string |
None. |
|
| account_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"primary_patient_name": "sample string 1",
"primary_patient_number": "sample string 2",
"patient_details": [
{
"patient_name": "sample string 1",
"patient_phone": "sample string 2",
"age": "sample string 3",
"gender": "sample string 4",
"tests": [
{
"test_id": "sample string 1"
},
{
"test_id": "sample string 1"
}
],
"packages": [
{
"package_id": "sample string 1"
},
{
"package_id": "sample string 1"
}
]
},
{
"patient_name": "sample string 1",
"patient_phone": "sample string 2",
"age": "sample string 3",
"gender": "sample string 4",
"tests": [
{
"test_id": "sample string 1"
},
{
"test_id": "sample string 1"
}
],
"packages": [
{
"package_id": "sample string 1"
},
{
"package_id": "sample string 1"
}
]
}
],
"payment_type": "sample string 3",
"address": "sample string 4",
"encounter_id": "sample string 5",
"account_id": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"