POST api/MusterCheck/ConfirmCheckListBerths
Updates a set of check list entries
Request Information
URI Parameters
None.
Body Parameters
CheckListConfirmationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| marinaCode |
Unique code of marina where the check list is begin performed |
string |
None. |
| userNo |
Unique ID of user performing the check |
integer |
None. |
| checkListConfirmationEntries |
List of muster check confirmation entries |
Collection of CheckListEntryConfirmationModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"marinaCode": "HM",
"userNo": 1,
"checkListConfirmationEntries": [
{
"musterCheckBerthId": 97136,
"boatNo": 123,
"checkedDateTime": "2018-04-24T10:43:32",
"processed": false
},
{
"musterCheckBerthId": 97137,
"boatNo": 456,
"checkedDateTime": "2018-04-24T10:44:01",
"processed": false
},
{
"musterCheckBerthId": 97138,
"boatNo": null,
"checkedDateTime": "2018-04-24T10:44:47",
"processed": false
}
]
}
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="marinaCode" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="userNo" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[0].musterCheckBerthId" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[0].boatNo" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[0].checkedDateTime" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[0].processed" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[1].musterCheckBerthId" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[1].boatNo" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[1].checkedDateTime" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="checkListConfirmationEntries[1].processed" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--