Skip to content

Print Assignment

Print assignment helps to track InDesign/InCopy assignments in the panel, not to be confused with planning assignments.

GET /v3/print-assignment

Get tracked assignments.

Acl Action: PRINTASSIGNMENT get

Arguments:

  • page - integer: Page number for paginated results.
  • per_page - int: Per page offset for pagination.
  • order - string: Valid property to order by. Will default to modified_at.
  • dir - string: Either asc or desc.

Example Response:

{
    "items": [
        {
            "id": "6",
            "uuid": "AAAA-1234",
            "label": "bbbb",
            "issue_id": "6",
            "workflow_id": "2",
            "print_locked": "0",
            "print_locked_user": null,
            "created_at": "2017-03-17 19:04:19",
            "modified_at": "2017-03-24 16:24:27",
            "assignee_id": "3",
            "workflow_section_id": "0",
            "issue": {
                "id": "6",
                "uuid": "BBBB-1234",
                "label": "Test test test",
                "description": "",
                "status": "1",
                "created_at": "2017-03-21 17:41:04",
                "modified_at": "2017-03-21 17:41:04",
                "published_at": "2017-03-21 04:00:00",
                "srn": "srn:tsn:ceo-core\/issue:BBBB-1234",
                "decorated_label": "2017-03-21 - Test test test"
            },
            "workflow": {
                "id": "2",
                "uuid": "CCCC-1234",
                "slug": "to-copy",
                "name": "To Copy",
                "status": "1",
                "is_web": "1",
                "is_print": "1",
                "priority": "1",
                "is_content": "1",
                "is_assignment": "1",
                "srn": "srn:tsn:ceo-core\/workflow:CCCC-1234"
            }
        },
        {
            "id": "5",
            "uuid": "DDDD-1234",
            "label": "aaaa",
            "issue_id": "6",
            "workflow_id": "3",
            "print_locked": "0",
            "print_locked_user": null,
            "created_at": "2017-03-17 19:04:06",
            "modified_at": "2017-03-24 16:32:38",
            "assignee_id": "3",
            "workflow_section_id": "0",
            "issue": {
                "id": "6",
                "uuid": "BBBB-1234",
                "label": "Test test test",
                "description": "",
                "status": "1",
                "created_at": "2017-03-21 17:41:04",
                "modified_at": "2017-03-21 17:41:04",
                "published_at": "2017-03-21 04:00:00",
                "srn": "srn:tsn:ceo-core\/issue:BBBB-1234",
                "decorated_label": "2017-03-21 - Test test test"
            },
            "workflow": {
                "id": "3",
                "uuid": "EEEE-1234",
                "slug": "to-edit",
                "name": "To Edit",
                "status": "1",
                "is_web": "1",
                "is_print": "1",
                "priority": "2",
                "is_content": "1",
                "is_assignment": "1",
                "srn": "srn:tsn:ceo-core\/workflow:EEEE-1234"
            }
        }
    ],
    "first": 1,
    "before": 1,
    "current": 1,
    "last": 1,
    "next": 1,
    "total_pages": 1,
    "total_items": 2,
    "limit": 50
}

POST /v3/print-assignment

Create new print assignment meta data. This only tracks a print assignment, it does not create or manage the ICMA file.

Acl Action: PRINTASSIGNMENT create

Example Request:

{
    'label': 'A label',
    'workflow_id': 1,
    'issue_id': 1,
    'assignee_id': null,
    'workflow_section_id': null
}

Example Response:

[
    {
        "id": "5",
        "uuid": "DDDD-1234",
        "label": "aaaa",
        "issue_id": "6",
        "workflow_id": "3",
        "print_locked": "0",
        "print_locked_user": null,
        "created_at": "2017-03-17 19:04:06",
        "modified_at": "2017-03-24 16:32:38",
        "assignee_id": "3",
        "workflow_section_id": "0",
        "issue": {
            "id": "6",
            "uuid": "BBBB-1234",
            "label": "Test test test",
            "description": "",
            "status": "1",
            "created_at": "2017-03-21 17:41:04",
            "modified_at": "2017-03-21 17:41:04",
            "published_at": "2017-03-21 04:00:00",
            "srn": "srn:tsn:ceo-core\/issue:BBBB-1234",
            "decorated_label": "2017-03-21 - Test test test"
        },
        "workflow": {
            "id": "3",
            "uuid": "EEEE-1234",
            "slug": "to-edit",
            "name": "To Edit",
            "status": "1",
            "is_web": "1",
            "is_print": "1",
            "priority": "2",
            "is_content": "1",
            "is_assignment": "1",
            "srn": "srn:tsn:ceo-core\/workflow:EEEE-1234"
        }
    }

]

PUT /v3/print-assignment/{uuid}

Update an existing assignment.

Acl Action: PRINTASSIGNMENT update

Example Request: See POST /v3/print-assignment

Example Response: See POST /v3/print-assignment