POST api/Training/TrainingRegistration
Request Information
URI Parameters
None.
Body Parameters
TrainingRegistrationName | Description | Type | Additional information |
---|---|---|---|
TrainingId | integer |
None. |
|
CurrentUsername | string |
None. |
|
CurrentEmployeeId | integer |
None. |
|
Description | string |
None. |
|
DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrainingId": 1, "CurrentUsername": "sample string 2", "CurrentEmployeeId": 3, "Description": "sample string 4", "DeviceId": "sample string 5" }
application/xml, text/xml
Sample:
<TrainingRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <CurrentEmployeeId>3</CurrentEmployeeId> <CurrentUsername>sample string 2</CurrentUsername> <Description>sample string 4</Description> <DeviceId>sample string 5</DeviceId> <TrainingId>1</TrainingId> </TrainingRegistration>
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.