POST api/Hook/Post
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": "615ed2de-79f8-4111-bc8e-5d25602fb3ee",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "a8fdddf3-363c-4ecd-93c6-1cbbbe0fe019",
"LastModifiedByUser": "81cbf879-0fc9-4a84-b34c-69d198a65dbf",
"LastModifiedDate": "2025-12-11T13:57:40.8498757",
"CreationDate": "2025-12-11T13:57:40.8498757",
"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-12-11T13:57:40.8498757+00:00</CreationDate> <ExternalUniqueIdentifier>a8fdddf3-363c-4ecd-93c6-1cbbbe0fe019</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>81cbf879-0fc9-4a84-b34c-69d198a65dbf</LastModifiedByUser> <LastModifiedDate>2025-12-11T13:57:40.8498757+00:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>615ed2de-79f8-4111-bc8e-5d25602fb3ee</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. |