PUT Api/Account/History/{accountId}
Adds a new history entry.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
AccountHistoryParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| MandatorId | integer |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| Type | HistoryType |
None. |
|
| IsImportant | boolean |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MandatorId": 1,
"Subject": "sample string 2",
"Body": "sample string 3",
"Type": 0,
"IsImportant": true,
"CreatedBy": "sample string 5"
}
application/xml, text/xml
Sample:
<AccountHistoryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePunkt.Api.Server.Requests.History"> <Body>sample string 3</Body> <CreatedBy>sample string 5</CreatedBy> <IsImportant>true</IsImportant> <MandatorId>1</MandatorId> <Subject>sample string 2</Subject> <Type>Manual</Type> </AccountHistoryParameter>
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.