POST api/Hook/Post

Request Information

URI Parameters

None.

Body Parameters

HookDataTransferModel
NameDescriptionTypeAdditional 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": "e9973254-386a-4ca4-a018-d5045b741b2d",
  "order_vehicle_ID": 1,
  "ExternalUniqueIdentifier": "63802b35-aa11-4071-83d1-883d4ba0e37f",
  "LastModifiedByUser": "c3425dbf-0abe-4723-b581-42571ca7fc47",
  "LastModifiedDate": "2025-10-27T22:07:48.1819624",
  "CreationDate": "2025-10-27T22:07:48.1819624",
  "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.1819624+00:00</CreationDate>
  <ExternalUniqueIdentifier>63802b35-aa11-4071-83d1-883d4ba0e37f</ExternalUniqueIdentifier>
  <LastChangeCounter>5</LastChangeCounter>
  <LastModifiedByUser>c3425dbf-0abe-4723-b581-42571ca7fc47</LastModifiedByUser>
  <LastModifiedDate>2025-10-27T22:07:48.1819624+00:00</LastModifiedDate>
  <CruiseID>1</CruiseID>
  <HookNumber>2</HookNumber>
  <UniqueID>e9973254-386a-4ca4-a018-d5045b741b2d</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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.