POST api/Master/PostPortHolidayMaster

Request Information

URI Parameters

None.

Body Parameters

PortHolidayMasterInputs
NameDescriptionTypeAdditional information
PHM_PT_ID

integer

None.

PHM_ID

integer

None.

PHM_LEAVE_TYPE

string

None.

PHM_DATE

date

None.

PHM_NOTES

string

None.

PHM_CREATED_BY

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PHM_PT_ID": 1,
  "PHM_ID": 1,
  "PHM_LEAVE_TYPE": "sample string 1",
  "PHM_DATE": "2025-12-06T04:25:22.7124728+00:00",
  "PHM_NOTES": "sample string 2",
  "PHM_CREATED_BY": 1
}

application/xml, text/xml

Sample:
<PortHolidayMasterInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <PHM_CREATED_BY>1</PHM_CREATED_BY>
  <PHM_DATE>2025-12-06T04:25:22.7124728+00:00</PHM_DATE>
  <PHM_ID>1</PHM_ID>
  <PHM_LEAVE_TYPE>sample string 1</PHM_LEAVE_TYPE>
  <PHM_NOTES>sample string 2</PHM_NOTES>
  <PHM_PT_ID>1</PHM_PT_ID>
</PortHolidayMasterInputs>

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.