REST API - calcDeadline

The table summarizes the REST API - calcDeadline.

Request

Format
POST <baseurl>/deadline
Body calcDeadline element (required).

Response

JSON Returns a JSON representation of the content of a calcDeadlineResponse element.
XML Returns the content of a calcDeadlineResponse element (from the BusinessDeadlineService schema).

Example

Request
POST <baseurl>/deadline
Request body
{

  "xml-fragment": {

    "-duration": "PT3H",

    "-start-date-time": "2013-01-08T14:17:09.423Z",

    "calendar-lookup": [

      { "calendar-ref": "us-pacific" },

      {

        "org-model-entity": {

          "-entity-type": "POSITION",

          "-model-version": "1",

          "-guid": "HGYTY7IHG68GJHV665FJJH"

        }

      }

    ]

  }

}
Response
{

  "xml-fragment": { "-end-date-time": "2013-01-08T17:17:09.423Z" }

}