PUT api/v2/samples/ChainCustodyPortalSolicitation
Update samples with Chain Custody Portal Solicitation data
Request
URI Parameters
Body Parameters
List of samples with chain of custody data
Collection of UpdateChainOfCustodyPortalSolicitation| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | ||
| Identification | string | ||
| CollectDate | string | ||
| CollectionPointId | integer | ||
| Infos | Collection of UpdateChainOfCustodySampleInfoPortalSolicitation |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Identification": "sample string 2",
"CollectDate": "sample string 3",
"CollectionPointId": 1,
"Infos": [
{
"InfoId": 1,
"DisplayValue": "sample string 2",
"InfoTypeId": 3
},
{
"InfoId": 1,
"DisplayValue": "sample string 2",
"InfoTypeId": 3
}
]
},
{
"Id": 1,
"Identification": "sample string 2",
"CollectDate": "sample string 3",
"CollectionPointId": 1,
"Infos": [
{
"InfoId": 1,
"DisplayValue": "sample string 2",
"InfoTypeId": 3
},
{
"InfoId": 1,
"DisplayValue": "sample string 2",
"InfoTypeId": 3
}
]
}
]
text/html
Sample:
[{"Id":1,"Identification":"sample string 2","CollectDate":"sample string 3","CollectionPointId":1,"Infos":[{"InfoId":1,"DisplayValue":"sample string 2","InfoTypeId":3},{"InfoId":1,"DisplayValue":"sample string 2","InfoTypeId":3}]},{"Id":1,"Identification":"sample string 2","CollectDate":"sample string 3","CollectionPointId":1,"Infos":[{"InfoId":1,"DisplayValue":"sample string 2","InfoTypeId":3},{"InfoId":1,"DisplayValue":"sample string 2","InfoTypeId":3}]}]
Response
Update status response
UpdateChainOfCustodyPortalSolicitationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Samples | Collection of UpdateChainOfCustodySampleResult |
Response Format
application/json, text/json
Sample:
{
"Samples": [
{
"Id": 1,
"IsSuccess": true,
"Message": "sample string 3"
},
{
"Id": 1,
"IsSuccess": true,
"Message": "sample string 3"
}
]
}
text/html
Sample:
{"Samples":[{"Id":1,"IsSuccess":true,"Message":"sample string 3"},{"Id":1,"IsSuccess":true,"Message":"sample string 3"}]}