POST Offsite/GetCollections?OrderId={OrderId}
Collection Details
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CollectionModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Collection Id |
integer |
None. |
First |
Patient First Name |
string |
None. |
Last |
Patient Last Name |
string |
None. |
Birthdate |
Patient Birthday |
date |
None. |
Gender |
Patient Gender |
string |
None. |
Panels |
Services / Panels |
Collection of PanelModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "First": "sample string 2", "Last": "sample string 3", "Birthdate": "2024-11-14T15:20:51.9591251+00:00", "Gender": "sample string 4", "Panels": [ { "Id": 1, "OffsiteOrderId": 1, "CollectionType": "sample string 2", "Status": "sample string 3", "CollectionId": 1, "Barcode": "sample string 4", "Result": "sample string 5", "Reason": "sample string 6", "IsCustomPanel": true, "ShippingLabel": "sample string 8", "First": "sample string 9", "Last": "sample string 10" }, { "Id": 1, "OffsiteOrderId": 1, "CollectionType": "sample string 2", "Status": "sample string 3", "CollectionId": 1, "Barcode": "sample string 4", "Result": "sample string 5", "Reason": "sample string 6", "IsCustomPanel": true, "ShippingLabel": "sample string 8", "First": "sample string 9", "Last": "sample string 10" } ] }, { "Id": 1, "First": "sample string 2", "Last": "sample string 3", "Birthdate": "2024-11-14T15:20:51.9591251+00:00", "Gender": "sample string 4", "Panels": [ { "Id": 1, "OffsiteOrderId": 1, "CollectionType": "sample string 2", "Status": "sample string 3", "CollectionId": 1, "Barcode": "sample string 4", "Result": "sample string 5", "Reason": "sample string 6", "IsCustomPanel": true, "ShippingLabel": "sample string 8", "First": "sample string 9", "Last": "sample string 10" }, { "Id": 1, "OffsiteOrderId": 1, "CollectionType": "sample string 2", "Status": "sample string 3", "CollectionId": 1, "Barcode": "sample string 4", "Result": "sample string 5", "Reason": "sample string 6", "IsCustomPanel": true, "ShippingLabel": "sample string 8", "First": "sample string 9", "Last": "sample string 10" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfCollectionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avertest.Aversys.DataLayer.Offsite"> <CollectionModel> <Birthdate>2024-11-14T15:20:51.9591251+00:00</Birthdate> <First>sample string 2</First> <Gender>sample string 4</Gender> <Id>1</Id> <Last>sample string 3</Last> <Panels> <PanelModel> <Barcode>sample string 4</Barcode> <CollectionId>1</CollectionId> <CollectionType>sample string 2</CollectionType> <First>sample string 9</First> <Id>1</Id> <IsCustomPanel>true</IsCustomPanel> <Last>sample string 10</Last> <OffsiteOrderId>1</OffsiteOrderId> <Reason>sample string 6</Reason> <Result>sample string 5</Result> <ShippingLabel>sample string 8</ShippingLabel> <Status>sample string 3</Status> </PanelModel> <PanelModel> <Barcode>sample string 4</Barcode> <CollectionId>1</CollectionId> <CollectionType>sample string 2</CollectionType> <First>sample string 9</First> <Id>1</Id> <IsCustomPanel>true</IsCustomPanel> <Last>sample string 10</Last> <OffsiteOrderId>1</OffsiteOrderId> <Reason>sample string 6</Reason> <Result>sample string 5</Result> <ShippingLabel>sample string 8</ShippingLabel> <Status>sample string 3</Status> </PanelModel> </Panels> </CollectionModel> <CollectionModel> <Birthdate>2024-11-14T15:20:51.9591251+00:00</Birthdate> <First>sample string 2</First> <Gender>sample string 4</Gender> <Id>1</Id> <Last>sample string 3</Last> <Panels> <PanelModel> <Barcode>sample string 4</Barcode> <CollectionId>1</CollectionId> <CollectionType>sample string 2</CollectionType> <First>sample string 9</First> <Id>1</Id> <IsCustomPanel>true</IsCustomPanel> <Last>sample string 10</Last> <OffsiteOrderId>1</OffsiteOrderId> <Reason>sample string 6</Reason> <Result>sample string 5</Result> <ShippingLabel>sample string 8</ShippingLabel> <Status>sample string 3</Status> </PanelModel> <PanelModel> <Barcode>sample string 4</Barcode> <CollectionId>1</CollectionId> <CollectionType>sample string 2</CollectionType> <First>sample string 9</First> <Id>1</Id> <IsCustomPanel>true</IsCustomPanel> <Last>sample string 10</Last> <OffsiteOrderId>1</OffsiteOrderId> <Reason>sample string 6</Reason> <Result>sample string 5</Result> <ShippingLabel>sample string 8</ShippingLabel> <Status>sample string 3</Status> </PanelModel> </Panels> </CollectionModel> </ArrayOfCollectionModel>