Matterial API Object - Task

com.matterial.mtr.api.object.Task

Zurück zur Übersicht

Java

Task

JSON

{
    "id": 1,
    "creationDateInSeconds": 1486561153,
    "description": "Bitte noch einmal die Daten für autonomes Fahren prüfen",
    "dueDateInSeconds": 1489100400,
    "snap": false,
    "documentId": 19,
    "documentLanguageVersionId": 48,
    "documentLanguageVersionTitle": "Ein Beispieldokument mit Grafiken und Tabellen",
    "taskStatusId": 3,
    "assignedRole": {
        "id": 10,
        "clientId": 1,
        "entityTypeId": 22,
        "name": "Marketing",
        "description": "Benutzer der Marketing Abteilung",
        "bitmask": 0,
        "notRemovable": false,
        "initiallyAssignedToAccount": false,
        "initiallyAssignedTypeToDocument": 0,
        "permissions": {
            "systemAccount": false,
            "bitmask": 0,
            "administrateAll": false,
            "editPerson": false,
            "editDocument": false,
            "editDocumentTemplate": false,
            "editRole": false,
            "editCategory": false,
            "editTask": false,
            "comment": false,
            "viewArchive": false,
            "viewStatistic": false,
            "showTrash": false,
            "editGallery": false,
            "immediateReview": false,
            "publishUnreviewed": false,
            "editAdditionalProperty": false,
            "editGlobalSavedSearch": false
        },
        "personalRolePerson": null
    },
    "acceptedAccount": {
        "accountId": 3,
        "accountLogin": "guest",
        "superiorAccountId": null,
        "accountCreateTimeInSeconds": 1484561108,
        "accountLastLoginInSeconds": 1503580667,
        "instanceOwner": true,
        "demo": false,
        "contactId": 3,
        "firstName": "Johann",
        "lastName": "Hölzel",
        "position": null,
        "birthdayInSeconds": -405910800,
        "gender": 1,
        "contactImage": null,
        "rolePersonal": null,
        "roleClientGate": null,
        "rolesFunctional": [],
        "rolesContent": [],
        "rolesReview": [],
        "clients": [],
        "addresses": [],
        "communicationData": [],
        "contactImages": [],
        "id": 3
    },
    "authorAccount": {
        "accountId": 3,
        "accountLogin": "guest",
        "superiorAccountId": null,
        "accountCreateTimeInSeconds": 1484561108,
        "accountLastLoginInSeconds": 1503580667,
        "instanceOwner": true,
        "demo": false,
        "contactId": 3,
        "firstName": "Johann",
        "lastName": "Hölzel",
        "position": null,
        "birthdayInSeconds": -405910800,
        "gender": 1,
        "contactImage": null,
        "rolePersonal": null,
        "roleClientGate": null,
        "rolesFunctional": [],
        "rolesContent": [],
        "rolesReview": [],
        "clients": [],
        "addresses": [],
        "communicationData": [],
        "contactImages": [],
        "id": 3
    }
}

XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<task>
    <assignedRole>
        <bitmask>0</bitmask>
        <clientId>1</clientId>
        <description>PERSONAL ROLE</description>
        <entityTypeId>24</entityTypeId>
        <id>3</id>
        <initiallyAssignedToAccount>false</initiallyAssignedToAccount>
        <initiallyAssignedTypeToDocument>0
        </initiallyAssignedTypeToDocument>
        <name>PERSONAL ROLE [2|1]</name>
        <notRemovable>false</notRemovable>
        <permissions>
            <administrateAll>false</administrateAll>
            <bitmask>0</bitmask>
            <comment>false</comment>
            <createSnap>false</createSnap>
            <editAdditionalProperty>false</editAdditionalProperty>
            <editCategory>false</editCategory>
            <editCategoryTypeTag>false</editCategoryTypeTag>
            <editDocument>false</editDocument>
            <editDocumentTemplate>false</editDocumentTemplate>
            <editGallery>false</editGallery>
            <editGlobalSavedSearch>false</editGlobalSavedSearch>
            <editPerson>false</editPerson>
            <editRole>false</editRole>
            <editTask>false</editTask>
            <immediateReview>false</immediateReview>
            <publishUnreviewed>false</publishUnreviewed>
            <showTrash>false</showTrash>
            <systemAccount>false</systemAccount>
            <viewArchive>false</viewArchive>
            <viewStatistic>false</viewStatistic>
        </permissions>
        <personalRolePerson>
            <accountCreateTimeInSeconds>1484559312
            </accountCreateTimeInSeconds>
            <accountId>2</accountId>
            <accountLastLoginInSeconds>1531225627
            </accountLastLoginInSeconds>
            <accountLogin>max.mustermann@matterial.com</accountLogin>
            <contactId>2</contactId>
            <firstName>Max</firstName>
            <id>2</id>
            <instanceOwner>true</instanceOwner>
            <lastName>Mustermann</lastName>
            <demo>false</demo>
        </personalRolePerson>
    </assignedRole>
    <authorAccount>
        <accountCreateTimeInSeconds>1484559312
        </accountCreateTimeInSeconds>
        <accountId>2</accountId>
        <accountLastLoginInSeconds>1531225627
        </accountLastLoginInSeconds>
        <accountLogin>max.mustermann@matterial.com</accountLogin>
        <contactId>2</contactId>
        <firstName>Max</firstName>
        <id>2</id>
        <instanceOwner>true</instanceOwner>
        <lastName>Mustermann</lastName>
        <demo>false</demo>
    </authorAccount>
    <creationDateInSeconds>1531219710</creationDateInSeconds>
    <description>Rejected</description>
    <documentId>152</documentId>
    <documentLanguageVersionId>496</documentLanguageVersionId>
    <documentLanguageVersionLanguageKey>de
    </documentLanguageVersionLanguageKey>
    <documentLanguageVersionTitle>Roadmap - App - Sprint 004
    </documentLanguageVersionTitle>
    <documentLanguageVersionVersion>8</documentLanguageVersionVersion>
    <id>119</id>
    <snap>false</snap>
    <taskStatusId>1</taskStatusId>
</task>
×