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": "6641b311-ce5b-4666-8882-46e555c064fb",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "e7221a13-eaf0-4611-967e-1aa98a4bfda8",
"LastModifiedByUser": "a9809506-60af-4068-b2ef-fa681433cd52",
"LastModifiedDate": "2025-11-08T12:58:54.1495264",
"CreationDate": "2025-11-08T12:58:54.1495264",
"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.1495264+00:00</CreationDate> <ExternalUniqueIdentifier>e7221a13-eaf0-4611-967e-1aa98a4bfda8</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>a9809506-60af-4068-b2ef-fa681433cd52</LastModifiedByUser> <LastModifiedDate>2025-11-08T12:58:54.1495264+00:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>6641b311-ce5b-4666-8882-46e555c064fb</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. |