POST api/Common/SaveActivity
Request Information
URI Parameters
None.
Body Parameters
ActivityName | Description | Type | Additional information |
---|---|---|---|
Subject | string |
None. |
|
StartDate | string |
None. |
|
EndDate | string |
None. |
|
TaskTime | string |
None. |
|
ReminderDate | string |
None. |
|
ReminderTime | string |
None. |
|
MySelf | string |
None. |
|
Role | string |
None. |
|
AssignedTo | string |
None. |
|
Description | string |
None. |
|
EndTime | string |
None. |
|
UserId | integer |
None. |
|
ObjectType | string |
None. |
|
ObjectId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Subject": "sample string 1", "StartDate": "sample string 2", "EndDate": "sample string 3", "TaskTime": "sample string 4", "ReminderDate": "sample string 5", "ReminderTime": "sample string 6", "MySelf": "sample string 7", "Role": "sample string 8", "AssignedTo": "sample string 9", "Description": "sample string 10", "EndTime": "sample string 11", "UserId": 12, "ObjectType": "sample string 13", "ObjectId": 14 }
application/xml, text/xml
Sample:
<Activity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <AssignedTo>sample string 9</AssignedTo> <Description>sample string 10</Description> <EndDate>sample string 3</EndDate> <EndTime>sample string 11</EndTime> <MySelf>sample string 7</MySelf> <ObjectId>14</ObjectId> <ObjectType>sample string 13</ObjectType> <ReminderDate>sample string 5</ReminderDate> <ReminderTime>sample string 6</ReminderTime> <Role>sample string 8</Role> <StartDate>sample string 2</StartDate> <Subject>sample string 1</Subject> <TaskTime>sample string 4</TaskTime> <UserId>12</UserId> </Activity>
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.