PUT api/v1/hR_MilitaryService/{militaryServiceId}/militaryServiceId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
militaryServiceId

integer

Required

Body Parameters

HR_MilitaryServiceVM
NameDescriptionTypeAdditional information
militaryServiceId

integer

None.

employeeId

integer

None.

nameOfOganisation

string

None.

branchName

string

None.

serviceNumber

string

None.

entryDate

date

None.

exitDate

date

None.

lastStation

string

None.

rankAttained

string

None.

dischargeCertificateNumber

string

None.

reasonForExit

string

None.

dateCreated

date

None.

tenantId

integer

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "militaryServiceId": 1,
  "employeeId": 1,
  "nameOfOganisation": "sample string 2",
  "branchName": "sample string 3",
  "serviceNumber": "sample string 4",
  "entryDate": "2024-11-24T09:08:34.3929498-08:00",
  "exitDate": "2024-11-24T09:08:34.3929498-08:00",
  "lastStation": "sample string 5",
  "rankAttained": "sample string 6",
  "dischargeCertificateNumber": "sample string 7",
  "reasonForExit": "sample string 8",
  "dateCreated": "2024-11-24T09:08:34.3929498-08:00",
  "tenantId": 1,
  "createdBy": 9
}

application/xml, text/xml

Sample:
<HR_MilitaryServiceVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <branchName>sample string 3</branchName>
  <createdBy>9</createdBy>
  <dateCreated>2024-11-24T09:08:34.3929498-08:00</dateCreated>
  <dischargeCertificateNumber>sample string 7</dischargeCertificateNumber>
  <employeeId>1</employeeId>
  <entryDate>2024-11-24T09:08:34.3929498-08:00</entryDate>
  <exitDate>2024-11-24T09:08:34.3929498-08:00</exitDate>
  <lastStation>sample string 5</lastStation>
  <militaryServiceId>1</militaryServiceId>
  <nameOfOganisation>sample string 2</nameOfOganisation>
  <rankAttained>sample string 6</rankAttained>
  <reasonForExit>sample string 8</reasonForExit>
  <serviceNumber>sample string 4</serviceNumber>
  <tenantId>1</tenantId>
</HR_MilitaryServiceVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.