JSON Job Set Statistics
Describes a summary of the statistics for a specific job set entity, including:
-
the Job Set and the documents contained in the job set
-
metadata properties and sheet and page counts for both the job set and individual documents
-
the media types used in the job set and individual media usage for each document.
Structure
The structure consists of an object with the following name/value pairs:
-
jobSetId– the job set entity identifier (type ofnumber) -
properties– anarrayof metadata properties (type ofstring) of the job set, if it has any -
counts– summary of the number of sheets and pages in the job set, consisting of anobjectcontaining the following name/value pairs:-
sheets– the number of sheets in the job set (type ofnumber) -
pages– the number of pages in the job set (type ofnumber)
-
-
media– a list of media types used in the documents contained in this job set, consisting of anarrayofobjectseach with the following name/value pairs:-
name– the name of the media (type ofstring) -
type– the type of the media (type ofstring) -
size– the size of the media, consisting of anobjectwith the following name/value pairs: -
width– the width of the media (type ofstring) -
height– the height of the media (type ofstring) color– the color of the media (type ofstring)weight– the weight of the media (type ofstring)-
count– the number of pages using the specific media (type ofnumber)
-
-
documents– a list of documents contained in this job set, consisting of anarrayofobjectseach with the following name/value pairs:-
documentId– ID of the document (type ofnumber) -
contentItemId– ID of the content Item associated with the document (type ofnumber) -
dataRecordId– ID of the data record associated with the document (type ofnumber) -
properties– anarrayof metadata properties (type ofstring) of the document, if it has any -
counts– summary of the number of sheets and pages in the document, consisting of anobjectcontaining the following name/value pairs:-
sheets– the number of sheets in the document (type ofnumber) -
pages– the number of pages in the document (type ofnumber)
-
-
media– anobjectwith one key/value pair per media type that is used in the document, specifying the number of times that specific media type is used in the document. A media type is referenced by its index (zero based) in the master media list.
-
Example
The following is an example of this structure:
{
"jobSetId": 13217206,
"properties": {
"metadata": "jobset"
},
"counts": {
"sheets": 100,
"pages": 100
},
"media": [
{
"name": "A4",
"type": "Unspecified",
"size": {
"width": "210mm",
"height": "297mm"
},
"color": null,
"weight": "0g",
"count": 100
}
],
"documents": [
{
"documentId": 13217931,
"contentItemId": 1179516,
"dataRecordId": 2553516,
"properties": {
"FirstName": "Norris",
"LastName": "Schiffman",
"Phone1": ""
},
"counts": {
"sheets": 1,
"pages": 1
},
"media": {
"0": 1
}
}
]
}