POST api/timeline/PostToTimeline
Request Information
URI Parameters
None.
Body Parameters
TimelineEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentId | integer |
None. |
|
| imageList | Collection of TimeLineImageBase64 |
None. |
|
| comment | string |
None. |
|
| sourceTypeId | integer |
None. |
|
| sourceEntryId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ParentId": 1,
"imageList": [
{
"ImageTitle": "sample string 1",
"imageContent": "sample string 2"
},
{
"ImageTitle": "sample string 1",
"imageContent": "sample string 2"
}
],
"comment": "sample string 2",
"sourceTypeId": 1,
"sourceEntryId": 1
}
application/xml, text/xml
Sample:
<TimelineEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaBook.Api.DTO.TimeLine">
<ParentId>1</ParentId>
<comment>sample string 2</comment>
<imageList>
<TimeLineImageBase64>
<ImageTitle>sample string 1</ImageTitle>
<imageContent>sample string 2</imageContent>
</TimeLineImageBase64>
<TimeLineImageBase64>
<ImageTitle>sample string 1</ImageTitle>
<imageContent>sample string 2</imageContent>
</TimeLineImageBase64>
</imageList>
<sourceEntryId>1</sourceEntryId>
<sourceTypeId>1</sourceTypeId>
</TimelineEntry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |