POST api/Tickets/SetPostponedUntil

Methods allow you to set reminder if ticket is in the state postpone

Request Information

URI Parameters

None.

Body Parameters

SetPostponedUntilPost
NameDescriptionTypeAdditional information
TicketId

The ticket id

integer

None.

PostponedUntilUtc

The postponed until datetime in the future

date

None.

PostponeTimeSpan

Or alternatively it can be used timespan. The target datetime will be determinated as the current datetime plus timespan.

time interval

None.

SetReminder

true if the method should set the reminder on the same date as postponed until

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1,
  "PostponedUntilUtc": null,
  "PostponeTimeSpan": "1.00:00:00",
  "SetReminder": true
}

application/xml, text/xml

Sample:
<SetPostponedUntilPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <PostponeTimeSpan>P1D</PostponeTimeSpan>
  <PostponedUntilUtc i:nil="true" />
  <SetReminder>true</SetReminder>
  <TicketId>1</TicketId>
</SetPostponedUntilPost>

Response Information

Resource Description

IHttpActionResult

None.