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": "fbea7fc1-e49d-4e52-9f02-87570c55d6ea",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "f8832feb-f2c4-4f1f-9d6c-907ef24a5eda",
"LastModifiedByUser": "f6942ca0-6b4d-42dd-a660-e545f0b3801d",
"LastModifiedDate": "2025-11-08T12:58:54.8130677",
"CreationDate": "2025-11-08T12:58:54.8130677",
"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>2025-11-08T12:58:54.8130677+00:00</CreationDate> <ExternalUniqueIdentifier>f8832feb-f2c4-4f1f-9d6c-907ef24a5eda</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>f6942ca0-6b4d-42dd-a660-e545f0b3801d</LastModifiedByUser> <LastModifiedDate>2025-11-08T12:58:54.8130677+00:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>fbea7fc1-e49d-4e52-9f02-87570c55d6ea</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. |