POST api/DepotOnline/UploadOFFHireRequest

Request Information

URI Parameters

None.

Body Parameters

UploadOFFHireReqInputs
NameDescriptionTypeAdditional information
OFH_ID

integer

None.

OFH_REF

string

None.

OFH_PT_CODE

string

None.

OFH_DP_CODE

string

None.

OFH_STATUS_CODE

string

None.

OFH_PORT_CODE

string

None.

OFH_CONT_NUMBER

string

None.

OFH_NOTES

string

None.

OFH_VALID_FROM

date

None.

OFH_VALID_TILL

date

None.

OFH_CP_ID

integer

None.

OFH_PROGRAM_ID

string

None.

OFH_CREATED_BY

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OFH_ID": 1,
  "OFH_REF": "sample string 1",
  "OFH_PT_CODE": "sample string 2",
  "OFH_DP_CODE": "sample string 3",
  "OFH_STATUS_CODE": "sample string 4",
  "OFH_PORT_CODE": "sample string 5",
  "OFH_CONT_NUMBER": "sample string 6",
  "OFH_NOTES": "sample string 7",
  "OFH_VALID_FROM": "2025-12-06T04:26:41.7144535+00:00",
  "OFH_VALID_TILL": "2025-12-06T04:26:41.7144535+00:00",
  "OFH_CP_ID": 1,
  "OFH_PROGRAM_ID": "sample string 8",
  "OFH_CREATED_BY": 1
}

application/xml, text/xml

Sample:
<UploadOFFHireReqInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <OFH_CONT_NUMBER>sample string 6</OFH_CONT_NUMBER>
  <OFH_CP_ID>1</OFH_CP_ID>
  <OFH_CREATED_BY>1</OFH_CREATED_BY>
  <OFH_DP_CODE>sample string 3</OFH_DP_CODE>
  <OFH_ID>1</OFH_ID>
  <OFH_NOTES>sample string 7</OFH_NOTES>
  <OFH_PORT_CODE>sample string 5</OFH_PORT_CODE>
  <OFH_PROGRAM_ID>sample string 8</OFH_PROGRAM_ID>
  <OFH_PT_CODE>sample string 2</OFH_PT_CODE>
  <OFH_REF>sample string 1</OFH_REF>
  <OFH_STATUS_CODE>sample string 4</OFH_STATUS_CODE>
  <OFH_VALID_FROM>2025-12-06T04:26:41.7144535+00:00</OFH_VALID_FROM>
  <OFH_VALID_TILL>2025-12-06T04:26:41.7144535+00:00</OFH_VALID_TILL>
</UploadOFFHireReqInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.