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": "18a79f14-a308-4d57-ba48-72f72aa457c7",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "5aec1e98-9beb-4cbc-90b8-d520cc431f9e",
"LastModifiedByUser": "63b16b63-118d-44da-9fb9-05fbab54cd25",
"LastModifiedDate": "2026-04-24T15:04:41.2817854",
"CreationDate": "2026-04-24T15:04:41.2817854",
"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-04-24T15:04:41.2817854+01:00</CreationDate> <ExternalUniqueIdentifier>5aec1e98-9beb-4cbc-90b8-d520cc431f9e</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>63b16b63-118d-44da-9fb9-05fbab54cd25</LastModifiedByUser> <LastModifiedDate>2026-04-24T15:04:41.2817854+01:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>18a79f14-a308-4d57-ba48-72f72aa457c7</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. |