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": "2cea67c6-cbca-46d0-836b-b95e3d4a6ab8",
"order_vehicle_ID": 1,
"ExternalUniqueIdentifier": "98d6c778-bf84-4881-b8df-b64df19b84ad",
"LastModifiedByUser": "50d5b134-2b6c-49f8-9f2b-f8695e81d387",
"LastModifiedDate": "2025-10-27T22:07:48.4447052",
"CreationDate": "2025-10-27T22:07:48.4447052",
"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-10-27T22:07:48.4447052+00:00</CreationDate> <ExternalUniqueIdentifier>98d6c778-bf84-4881-b8df-b64df19b84ad</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>50d5b134-2b6c-49f8-9f2b-f8695e81d387</LastModifiedByUser> <LastModifiedDate>2025-10-27T22:07:48.4447052+00:00</LastModifiedDate> <CruiseID>1</CruiseID> <HookNumber>2</HookNumber> <UniqueID>2cea67c6-cbca-46d0-836b-b95e3d4a6ab8</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. |