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": "01cb6ad5-4237-454b-8a91-9773aca6cd24",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "260a286d-8f63-44fc-a294-ae742c86f3e0",
"LastModifiedByUser": "4206173a-1c5b-4dfc-a94c-f496645414e8",
"LastModifiedDate": "2026-07-22T23:22:21.2642304",
"CreationDate": "2026-07-22T23:22:21.2642304",
"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-07-22T23:22:21.2642304+01:00</CreationDate> <ExternalUniqueIdentifier>260a286d-8f63-44fc-a294-ae742c86f3e0</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>4206173a-1c5b-4dfc-a94c-f496645414e8</LastModifiedByUser> <LastModifiedDate>2026-07-22T23:22:21.2642304+01:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>01cb6ad5-4237-454b-8a91-9773aca6cd24</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. |