PUT api/v1/hR_NationalYouthService/{nationalYouthServiceId}/nationalYouthServiceId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nationalYouthServiceId

integer

Required

Body Parameters

HR_NationalYouthServiceVM
NameDescriptionTypeAdditional information
nationalYouthServiceId

integer

None.

callupNumber

string

None.

stateOfDeployementId

integer

None.

placeOfAssignment

string

None.

doYouHaveAnyAward

boolean

None.

award

string

None.

anyExtention

boolean

None.

reasonForExtention

string

None.

createdBy

integer

None.

tenantId

integer

None.

employeeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nationalYouthServiceId": 1,
  "callupNumber": "sample string 2",
  "stateOfDeployementId": 1,
  "placeOfAssignment": "sample string 3",
  "doYouHaveAnyAward": true,
  "award": "sample string 4",
  "anyExtention": true,
  "reasonForExtention": "sample string 5",
  "createdBy": 6,
  "tenantId": 7,
  "employeeId": 1
}

application/xml, text/xml

Sample:
<HR_NationalYouthServiceVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <anyExtention>true</anyExtention>
  <award>sample string 4</award>
  <callupNumber>sample string 2</callupNumber>
  <createdBy>6</createdBy>
  <doYouHaveAnyAward>true</doYouHaveAnyAward>
  <employeeId>1</employeeId>
  <nationalYouthServiceId>1</nationalYouthServiceId>
  <placeOfAssignment>sample string 3</placeOfAssignment>
  <reasonForExtention>sample string 5</reasonForExtention>
  <stateOfDeployementId>1</stateOfDeployementId>
  <tenantId>7</tenantId>
</HR_NationalYouthServiceVM>

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.