POST api/v1/hR_NationalYouthService
Request Information
URI Parameters
None.
Body Parameters
HR_NationalYouthServiceVM| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.