POST api/Hook
Request Information
URI Parameters
None.
Body Parameters
HookDataTransferModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CruiseID | integer |
None. |
|
| HookNumber | integer |
None. |
|
| UniqueID | globally unique identifier |
None. |
|
| order_vehicle_ID | integer |
None. |
|
| ExternalUniqueIdentifier | globally unique identifier |
None. |
|
| LastModifiedByUser | globally unique identifier |
None. |
|
| LastModifiedDate | date |
None. |
|
| CreationDate | date |
None. |
|
| LastChangeCounter | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CruiseID": 1,
"HookNumber": 2,
"UniqueID": "9a587b33-11ec-4a8c-9145-8b91f7a74c0e",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "f8347491-4cb2-48b0-93d2-055244cde7c4",
"LastModifiedByUser": "b025c36b-38cb-4d42-9678-73204e8585c7",
"LastModifiedDate": "2026-01-26T19:57:42.5409483",
"CreationDate": "2026-01-26T19:57:42.5409483",
"LastChangeCounter": 5
}
application/xml, text/xml
Sample:
<HookDataTransferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HandsetWebService.DataTransferModels"> <CreationDate>2026-01-26T19:57:42.5409483+00:00</CreationDate> <ExternalUniqueIdentifier>f8347491-4cb2-48b0-93d2-055244cde7c4</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>b025c36b-38cb-4d42-9678-73204e8585c7</LastModifiedByUser> <LastModifiedDate>2026-01-26T19:57:42.5409483+00:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>9a587b33-11ec-4a8c-9145-8b91f7a74c0e</UniqueID> <order_vehicle_ID>1</order_vehicle_ID> </HookDataTransferModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |