Task v2 /api/v2/:principal_slug/business/tasks/:id

Überblick

Klasse / Datentyp
Task
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/:principal_slug/business/tasks/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Business::Task ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"                           : "5819ce0856820b0f53e63873",
    "label"                        : "Issue #238: Rabatt-Text-Feld in Warenkorb positionieren",
    "description_short"            : "",
    "date"                         : "2016-11-02",
    "due_date"                     : null,
    "state"                        : "in_use",
    "state_translated"             : "In Verwendung",
    "internal_description"         : "",
    "expected_effort"              : 0,
    "expected_effort_in_seconds"   : 0,
    "booking_state"                : 0,
    "elapsed_days"                 : 10,
    "days_left"                    : null,
    "overbooked_effort"            : 0,
    "overbooked_effort_percentage" : 0,
    "completion"                   : null,
    "client"                       : {
      "id"                     : "547ec0b4726f727326270000",
      "_type"                  : "Business::Partner::Client::BusinessClient",
      "name"                   : "Krolop & Gerst Photography",
      "backend_application_id" : null,
      "foreign_id"             : null
    },
    "project"                      : {
      "id"              : "5811b2eb56820b17a43848de",
      "label"           : "Zusatzaufwand GoLive",
      "number"          : 291,
      "abbreviation"    : "KG_2016_291",
      "date"            : "2016-10-26",
      "due_date"        : null,
      "type"            : "Business::Project::AtCost",
      "type_translated" : "Projekt nach Aufwand"
    },
    "assigned_employees"           : [
      {
        "id"        : "560a5ea66f726964b3000000",
        "firstname" : "Patrick",
        "lastname"  : "Lehmann",
        "email"     : "lehmann@squibble.me"
      }
    ]
  },
  "meta" : {
    "resource_class" : "Business::Task",
    "id"             : "5819ce0856820b0f53e63873",
    "created_at"     : "2016-11-02T12:29:12.597+01:00",
    "updated_at"     : "2016-11-02T12:41:26.544+01:00",
    "principal"      : {"id" : "53db7cb4993a7aefa50001e1","to_param" : "squibble"}
  }
}