POST api/DepotOnline/PutOFFHireRequest
Request Information
URI Parameters
None.
Body Parameters
OffHireRequestInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| OFH_ID | integer |
None. |
|
| OFH_REF | string |
None. |
|
| OFH_CP_ID | integer |
None. |
|
| OFH_CONT_NUM | integer |
None. |
|
| OFH_PT_ID | integer |
None. |
|
| OFH_DP_ID | integer |
None. |
|
| OFH_VALID_TILL | date |
None. |
|
| OFH_VALID_FROM | date |
None. |
|
| OFH_STATUS | string |
None. |
|
| OFH_NOTES | string |
None. |
|
| OFH_PORT_ID | integer |
None. |
|
| OFH_CREATED_BY | integer |
None. |
|
| OFH_PROGRAM_ID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OFH_ID": 1,
"OFH_REF": "sample string 1",
"OFH_CP_ID": 1,
"OFH_CONT_NUM": 1,
"OFH_PT_ID": 1,
"OFH_DP_ID": 1,
"OFH_VALID_TILL": "2025-12-06T04:26:34.90683+00:00",
"OFH_VALID_FROM": "2025-12-06T04:26:34.90683+00:00",
"OFH_STATUS": "sample string 2",
"OFH_NOTES": "sample string 3",
"OFH_PORT_ID": 1,
"OFH_CREATED_BY": 1,
"OFH_PROGRAM_ID": "sample string 4"
}
application/xml, text/xml
Sample:
<OffHireRequestInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <OFH_CONT_NUM>1</OFH_CONT_NUM> <OFH_CP_ID>1</OFH_CP_ID> <OFH_CREATED_BY>1</OFH_CREATED_BY> <OFH_DP_ID>1</OFH_DP_ID> <OFH_ID>1</OFH_ID> <OFH_NOTES>sample string 3</OFH_NOTES> <OFH_PORT_ID>1</OFH_PORT_ID> <OFH_PROGRAM_ID>sample string 4</OFH_PROGRAM_ID> <OFH_PT_ID>1</OFH_PT_ID> <OFH_REF>sample string 1</OFH_REF> <OFH_STATUS>sample string 2</OFH_STATUS> <OFH_VALID_FROM>2025-12-06T04:26:34.90683+00:00</OFH_VALID_FROM> <OFH_VALID_TILL>2025-12-06T04:26:34.90683+00:00</OFH_VALID_TILL> </OffHireRequestInputs>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |