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

Überblick

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

/api/v2/:principal_slug/business/tasks

Parameter

Query Parameter

Schlüssel
assigned_employee_id optional

Business::Employee ID

bookable optional

Bebuchbar

completed optional

Abgeschlossen

in_use optional

In Verwendung

init optional

Erstellt

overbooked optional

Überbucht

uncompleted optional

Nicht abgeschlossen

principal_slug Pflicht

Backend::Principal Slug / ID

page optional

Seite Definition der darzustellenden Seite. Standardwert: 1

per optional

Anzahl Datensätze pro Seite Definition der darzustellenden Datensätze pro Seite.

project_id optional

Business::Project ID

task_id optional

Business::Task 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",
      "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"
      }
    },
    {
      "id"                : "5819ce4056820b0f56e6388b",
      "label"             : "Issue #228: AGB, Impressum, Widerrufsbelehrung und Versandkosten",
      "description_short" : "",
      "date"              : "2016-11-02",
      "due_date"          : null,
      "state"             : "init",
      "state_translated"  : "Erstellt",
      "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"
      }
    }
  ],
  "meta" : {
    "resource_class" : "Business::Task",
    "max_updated_at" : "2016-11-02T11:41:26.544Z",
    "page"           : 1,
    "per"            : 2,
    "total_pages"    : 220,
    "total_count"    : 439
  }
}