POST api/Resource/ManageResource
Request Information
URI Parameters
None.
Body Parameters
Resources| Name | Description | Type | Additional information |
|---|---|---|---|
| ResourceID | integer |
None. |
|
| EmployeeID | string |
None. |
|
| TMResourceID | string |
Required |
|
| FirstName | string |
Required |
|
| LastName | string |
None. |
|
| EmailID | string |
Required |
|
| TMDepartmentID | string |
Required |
|
| IsActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"ResourceID": 1,
"EmployeeID": "sample string 2",
"TMResourceID": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"EmailID": "sample string 6",
"TMDepartmentID": "sample string 7",
"IsActive": true
}
application/xml, text/xml
Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOSSAPI.Models"> <EmailID>sample string 6</EmailID> <EmployeeID>sample string 2</EmployeeID> <FirstName>sample string 4</FirstName> <IsActive>true</IsActive> <LastName>sample string 5</LastName> <ResourceID>1</ResourceID> <TMDepartmentID>sample string 7</TMDepartmentID> <TMResourceID>sample string 3</TMResourceID> </Resources>
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.