Skip to Content Information Center
Lexmark Cloud Services

Lexmark Cloud Services

Интеграция Cloud Fleet Management со сторонним программным обеспечением для версии 1.0

Интерфейс API в качестве средства интеграции предоставляет конечные точки для упрощения интеграции со сторонним программным обеспечением. Интерфейс API версии 1.0 предоставляет методы получения всех данных из Cloud Fleet Management, связанных со всеми ресурсами в партнерской организации и всех ее дочерних организациях. Кроме того, он предоставляет уникальные конечные точки для получения подмножества данных, например о расходных материалах, предупреждениях и событиях диагностики. При разбиении на страницы в этой новой версии интерфейса API размер страницы по умолчанию соответствует 50 ресурсам, а максимальный размер страницы — 200 ресурсам за один раз. При необходимости выполняющий обращение пользователь может указать меньший размер страницы. Предполагается, что решение будет использоваться соединителями интеграции и, следовательно, для него требуются токены учетных данных клиента. Для интеграции Lexmark Cloud Fleet Management со своей системой используйте следующие методы и ключи.

URL-адресМетодОписание

/v1.0/assets/supplies

GET

Получение данных о расходных материалах для страницы ресурсов.

/v1.0/assets/diagnostics

GET

Получение данных диагностики для страницы ресурсов.

/v1.0/assets/alerts

GET

Получение данных оповещений для страницы ресурсов.

/v1.0/assets/counters

GET

Получение данных счетчиков для страницы ресурсов.

/v1.0/assets

GET

Получение всех данных для страницы ресурсов.

<INTEGRATION_SERVICE_URL> выглядит следующим образом:

Получение данных расходных материалов для ресурсов

Это обращение позволяет получить данные о расходных материалах, содержащие подресурс расходных материалов, в организации и дочерних организациях приложения, выполняющего обращение. Организация определяется по токену, указанному в заголовке «Авторизация», который необходимо получить из обращения Получение токена.

МетодURL-адрес

GET

<INTEGRATION_SERVICE_URL>/v1.0/assets/supplies

Заголовки
КлючЗначениеОписание

Авторизация

Носитель <TOKEN>

Обращение «Получение токена» возвращает токен.

    Текст

  • Нет.

Схема возвращения

{
	"type": "object",
	"properties": {
		"content": { 
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"manufacturer":  { "type": "string" },
					"modelName":  { "type": "string" },
					"serialNumber":  { "type": "string" },
					"accountId":  { "type": "string" },
					"name":  { "type": ["null", "string"] },
					"description":  { "type": ["null", "string"] },
					"dateCreated": { "type": "number" },
					"dateModified": { "type": "number" },
					"lastCommunication": { "type": ["null", "number"] },
					"lastDataRefresh": { "type": "number" },
					"communicating": { "type": ["null", "boolean"] },
					"authenticated": { "type": ["null", "boolean"] },
					"baseFirmwareLastModifiedDate": { "type": ["null", "number"] },
					"counters":  { "type": "null" },
					"diagnosticEvents": {
						"type": "array",
						"maxItems": 0
					},
					"supplies":   {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"serialNumber": { "type": ["null", "string"] },
								"currentLevel": { "type": ["null", "integer"] },
								"color": { "type": ["null", "string"] },
								"description": { "type": ["null", "string"] },
								"maximumCapacity": { "type": ["null", "number"] },
								"type": { "type": ["null", "string"] },
								"capacityUnit": { "type": ["null", "string"] },
								"percentRemaining":  { "type": ["null", "integer"] },
								"supplyState": { "type": ["null", "string"] },
								"status":  { "type": ["null", "string"] },
								"coverage":  { "type": ["null", "number"] },
								"installDate":  { "type": ["null", "number"] },
								"coverageLifetime":  { "type": ["null", "number"] },
								"coverageLastJob":  { "type": ["null", "number"] },
								"sidesOnSupply":  { "type": ["null", "number"] },
								"timestamp": { "type": ["null", "number"] },
								"prebate":  { "type": ["null", "boolean"] },
								"genuine":  { "type": ["null", "boolean"] },
								"daysLeft":  { "type": ["null", "number"] },
								"daysLeftLastUpdated":  { "type": ["null", "number"] }
							}
						}
					},
					"alerts":   {
						"type": "array",
						"maxItems": 0
					}
				}
			},
			"minItems": 0
		},
		"pageable": {
			"type": "object",
			"properties": {
				"sort": {
					"type": "object",
					"properties": {
						"sorted":  { "type": "boolean" },
						"unsorted":  { "type": "boolean" },
						"empty":  { "type": "boolean" }
					}
				},
				"pageNumber":  { "type": "integer" },
				"pageSize":  { "type": "integer" },
				"offset":  { "type": "integer" },
				"paged":  { "type": "boolean" },
				"unpaged":  { "type": "boolean" }
			}
		},
		"totalElements":  { "type": "integer" },
		"totalPages":  { "type": "integer" },
		"last":  { "type": "boolean" },
		"sort":  {
			"type": "object",
			"properties": {
				"sorted":  { "type": "boolean" },
				"unsorted":  { "type": "boolean" },
				"empty":  { "type": "boolean" }
			}
		},
		"first":  { "type": "boolean" },
		"numberOfElements":  { "type": "integer" },
		"size":  { "type": "integer" },
		"number":  { "type": "integer" },
		"empty":  { "type": "boolean" }
	}
}

Пример ответа

{
"content": [
{
  "manufacturer": "Lexmark", 
   "modelName": "X792e", 
   "serialNumber": "123SERIALNUMBER",
   "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637", "name": null,
   "description": null, "dateCreated": 1568139701472,
   "dateModified": 1621677697123,
   "lastCommunication": 1621686886903,
   "lastDataRefresh": 1621677697129, 
   "communicating": false, 
   "authenticated": true, 
   "baseFirmwareLastModifiedDate": null, 
   "counters": null,
   "diagnosticEvents": [], 
   "supplies": [
       {
        "serialNumber": null, 
         "currentLevel": 100, 
         "color": "none",
         "description": "Waste Toner Bottle", 
         "maximumCapacity": 200000,
         "type": "Waste Toner", 
         "capacityUnit": "Sides", 
         "percentRemaining": null, 
         "supplyState": "UNKNOWN", 
         "status": "Ok", 
         "coverage": null, 
         "installDate": null, 
         "coverageLifetime": null, 
         "coverageLastJob": null, 
         "sidesOnSupply": null,
         "timestamp": 1621674025052, 
         "prebate": null,
         "genuine": null, 
         "daysLeft": null, 
         "daysLeftLastUpdated": null
      },
      {
        "serialNumber": null, 
                 "currentLevel": 100,       
                 "color": "none",
                 "description": "Separator Roll and Pick Assembly",
                "maximumCapacity": 120000,
                "type": "Other",
                "capacityUnit": "Other",
                "percentRemaining": null,
                "supplyState": "UNKNOWN",
                "status": "Ok", 
                "coverage": null,
                "installDate": null,
                "coverageLifetime": null,
                "coverageLastJob": null,
                "sidesOnSupply": null,
                "timestamp": 1621674025053, 
                "prebate": null,
                "genuine": null,
                "daysLeft": null,    
                "daysLeftLastUpdated": null
               }
               {
                 "serialNumber": "SUPPLYSERIAL1", 
                 "currentLevel": 50,
                 "color": "none",
                 "description": "Fuser",
                 "maximumCapacity": 150000,
                 "type": "Fuser",
                 "capacityUnit": "Sides",
                 "percentRemaining": null,
                 "supplyState": "UNKNOWN",
                 "status": "Intermediate",
                 "coverage": null,
                 "installDate": null,
                 "coverageLifetime": null,
                 "coverageLastJob": null,
                 "sidesOnSupply": null,
                 "timestamp":
                 1621674025055, "prebate": null,
                 "genuine": null,
                 "daysLeft": null,
                 "daysLeftLastUpdated": null
               },
               {
                "serialNumber": "SUPPLYSERIAL2", "color": "Yellow",
                "description": "Yellow Cartridge",
                "maximumCapacity": 20000,
                "type": "Toner",
                 "capacityUnit": "Sides",
                 "percentRemaining": null,
                 "supplyState": "UNKNOWN",
                 "status": "Low",
                 "coverage": 0.028,
                 "installDate": 1568701948000,
                 "coverageLifetime": 6.198895,
                 "coverageLastJob": 15,
                 "sidesOnSupply": 31355,
                 "timestamp": 1621674025056, 
                 "prebate": true,
                 "genuine": null,
                 "daysLeft": null,
                 "daysLeftLastUpdated": null
                },
                {
                 "serialNumber": "SUPPLYSERIAL3", 
                 "currentLevel": 100,
                 "color": "none",
                 "description": "Transfer Module", 
                 "maximumCapacity": 200000,
                 "type": "Other",
                 "capacityUnit": "Other",
                 "percentRemaining": null,
                 "supplyState": "UNKNOWN",
                 "status": "Ok",
                 "coverage": null,
                 "installDate": null,
                 "coverageLifetime": null,
                 "coverageLastJob": null,
                 "sidesOnSupply": null,
                 "timestamp": 1621674025057,
                 "prebate": null,
                 "genuine": null,
                 "daysLeft": null,
                 "daysLeftLastUpdated": null
                },
                {
                 "serialNumber": "SUPPLYSERIAL4", 
                 "currentLevel": 80,
                 "color": "Magenta",
                 "description": "Magenta Cartridge", 
                 "maximumCapacity": 6000,
                 "type": "Toner",
                 "capacityUnit": "Sides",
                 "percentRemaining": null,
                 "supplyState": "AUTHENTIC", 
                 "status": "Intermediate",
                 "coverage": 2.872,
                 "installDate": 1568701948000,
                 "coverageLifetime": 4.0110497,
                 "coverageLastJob": 11,
                 "sidesOnSupply": 177,
                 "timestamp": 1621674025073, "prebate": true,
                 "genuine": null,
                 "daysLeft": null, 
                 "daysLeftLastUpdated": null
                },
                {
                 "serialNumber": "SUPPLYSERIAL6",
                 "currentLevel": 20,
                 "color": "Cyan",
                 "description": "Cyan Cartridge", 
                 "maximumCapacity": 12000, 
                 "type": "Toner",
                 "capacityUnit": "Sides",
                 "percentRemaining": null, 
                 "supplyState": "UNKNOWN", 
                 "status": "Intermediate", 
                 "coverage": 0.194,
                 "installDate": 1568701948000,
                 "coverageLifetime": 7.331492,
                 "coverageLastJob": 21,
                 "sidesOnSupply": 4688,
                 "prebate": true, 
                 "genuine": null, 
                 "daysLeft": null,
                 "daysLeftLastUpdated": null
                      }
   ],
   "alerts": []
 },
  {
   "manufacturer": "Lexmark", 
   "modelName": "CX825", 
   "serialNumber": "12345SERIALNUMBER",
   "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
   "name": null, "description": null,
   "dateCreated": 1568139300179,
   "dateModified": 1617891557869,
   "lastCommunication": 1617891642361,
   "lastDataRefresh": 1627605287407, 
   "communicating": false, 
   "authenticated": true, 
   "baseFirmwareLastModifiedDate": null, 
   "counters": null,
   "diagnosticEvents": [], 
   "supplies": [],
   "alerts": []
  }
 ],
 "pageable": {
   "sort": { "sorted": false, 
   "unsorted": true, 
   "empty": true
  },
   "pageNumber": 0,
   "pageSize": 50,
   "offset": 0,
   "paged": true, 
   "unpaged": false
  },
  "totalElements": 2,
  "totalPages": 1, 
  "last": false,
  "sort": {
  "sorted": false, 
  "unsorted": true, 
  "empty": true
 },
  "first": true, 
  "numberOfElements": 50,
  "size": 50,
  "number": 0, "empty": false
}
"timestamp": 1621674025075,

Получение данных диагностики для ресурсов

Это обращение позволяет получить страницу ресурсов, содержащую подресурс диагностики, в организации и дочерних организациях приложения, выполняющего обращение. Организация определяется по токену, указанному в заголовке «Авторизация», который необходимо получить из обращения Получение токена.

МетодURL-адрес

GET

<INTEGRATION_SERVICE_URL>/v1.0/assets/diagnostics

Заголовки
КлючЗначениеОписание

Авторизация

Носитель <TOKEN>

Обращение «Получение токена» возвращает токен.

    Текст

  • Нет.

Схема возвращения

{
	"type": "object",
	"properties": {
		"content": { 
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"manufacturer":  { "type": "string" },
					"modelName":  { "type": "string" },
					"serialNumber":  { "type": "string" },
					"accountId":  { "type": "string" },
					"name":  { "type": ["null", "string"] },
					"description":  { "type": ["null", "string"] },
					"dateCreated": { "type": "number" },
					"dateModified": { "type": "number" },
					"lastCommunication": { "type": ["null", "number"] },
					"lastDataRefresh": { "type": "number" },
					"communicating": { "type": ["null", "boolean"] },
					"authenticated": { "type": ["null", "boolean"] },
					"baseFirmwareLastModifiedDate": { "type": ["null", "number"] },
					"counters":  { "type": "null" },
					"diagnosticEvents": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"dateCreated": { "type": "number" },
								"alert": { "type": ["null", "string"] },
								"alertDttm": { "type": ["null", "number"] },
								"alertId": { "type": ["null", "string"] },
								"alertType": { "type": ["null", "string"] },
								"collectorId": { "type": ["null", "string"] },
								"errorCode": { "type": ["null", "string"] },
								"errorReason":  { "type": ["null", "string"] },
								"errorType":  { "type": ["null", "string"] },
								"expirationDttm":  { "type": "number" },
								"hostname": { "type": ["null", "string"] },
								"ipAddress":  { "type": ["null", "string"] },
								"lpc":  { "type": ["null", "number"] },
								"model":  { "type": ["null", "string"] },
								"serialNumber":  { "type": ["null", "string"] }
							}
						}
					},
					"supplies":   {
						"type": "array",
						"maxItems": 0
					},
					"alerts":   {
						"type": "array",
						"maxItems": 0
					}
				}
			},
			"minItems": 0
		},
		"pageable": {
			"type": "object",
			"properties": {
				"sort": {
					"type": "object",
					"properties": {
						"sorted":  { "type": "boolean" },
						"unsorted":  { "type": "boolean" },
						"empty":  { "type": "boolean" }
					}
				},
				"pageNumber":  { "type": "integer" },
				"pageSize":  { "type": "integer" },
				"offset":  { "type": "integer" },
				"paged":  { "type": "boolean" },
				"unpaged":  { "type": "boolean" }
			}
		},
		"totalElements":  { "type": "integer" },
		"totalPages":  { "type": "integer" },
		"last":  { "type": "boolean" },
		"sort":  {
			"type": "object",
			"properties": {
				"sorted":  { "type": "boolean" },
				"unsorted":  { "type": "boolean" },
				"empty":  { "type": "boolean" }
			}
		},
		"first":  { "type": "boolean" },
		"numberOfElements":  { "type": "integer" },
		"size":  { "type": "integer" },
		"number":  { "type": "integer" },
		"empty":  { "type": "boolean" }
	}
}

Пример ответа

{
   "content": [
      {
        "manufacturer": "Lexmark",
        "modelName": "X792e",
        "serialNumber": "123SERIALNUMBER",
        "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
        "name": null,
        "description": null,
        "dateCreated": 1568139701472,
        "dateModified": 1621677697123,
        "lastCommunication": 1621686886903,
        "lastDataRefresh": 1621677697129,
        "communicating": false,
        "authenticated": true,
        "baseFirmwareLastModifiedDate": null,
        "counters": null,
        "diagnosticEvents": [],
        "supplies": [],
        "alerts": []
      },
 
      {
        "manufacturer": "Lexmark",
        "modelName": "CX825",
        "serialNumber": "12345SERIALNUMBER",
        "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
        "name": null,
        "description": null,
        "dateCreated": 1568139300179,
        "dateModified": 1617891557869,
        "lastCommunication": 1617891642361,
        "lastDataRefresh": 1627605287407,
        "communicating": false,
        "authenticated": true,
        "baseFirmwareLastModifiedDate": null,
        "counters": null,
        "diagnosticEvents": [
          {
           "dateCreated": 1639077580134,
           "alert": "202.03 PAPER JAM: repeated 25 time(s) in 500 pages",
           "alertDttm": 1639077580134,
           "alertId": "61b25b2cc036774096bbef91", "alertType": "Prescriptive",
           "collectorId": "CBR01",
           "errorCode": "202.03", "errorReason":
           "HC_REP", "errorType": "%202.03%",
           "expirationDttm": 1313123,
           "hostname": "10.99.0.60",
           "ipAddress": "10.99.0.60",
           "lpc": 505535,
           "model": "LEXMARK CX825",
           "serialNumber": "12345SERIALNUMBER"
          },
          {
           "dateCreated": 163907758999,
           "alert": "Other alert",
           "alertDttm": 163907758999,
           "alertId": "61b25b2cc036774096bbef99",
           "alertType": "Prescriptive",
           "collectorId": "CBR01",
           "errorCode": "202.03",
           "errorReason": "HC_REP",
           "errorType": "%202.03%",
           "expirationDttm": 1313123,
           "hostname": "10.99.0.60",
           "ipAddress": "10.99.0.60",
           "lpc": 505535,
           "model": "LEXMARK CX825",
           "serialNumber": "12345SERIALNUMBER"
          }
       ],
       "supplies": [],
       "alerts": []
      }
   ],
   "pageable": {
     "sort": { "
	    sorted": false,
   "unsorted": true,
   "empty": true
     },
     "pageNumber": 0,
     "pageSize": 50,
     "offset": 0,
     "paged": true,
     "unpaged": false
   },
    "totalElements": 2,
    "totalPages": 1, "last": false,
    "sort": {
    "sorted": false,
    "unsorted": true,
    "empty": true
   },
    "first": true,
    "numberOfElements": 50,
    "size": 50,
    "number": 0, "empty": false
}

Получение данных оповещений для ресурсов

Это обращение позволяет получить данные о расходных материалах, содержащие подресурс оповещений, в организации и дочерних организациях приложения, выполняющего обращение. Организация определяется по токену, указанному в заголовке «Авторизация», который необходимо получить из обращения Получение токена.

МетодURL-адрес

GET

<INTEGRATION_SERVICE_URL>/v1.0/assets/alerts

Заголовки
КлючЗначениеОписание

Авторизация

Носитель <TOKEN>

Обращение «Получение токена» возвращает токен.

    Текст

  • Нет.

Схема возвращения

  {
	"type": "object",
	"properties": {
		"content": { 
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"manufacturer":  { "type": "string" },
					"modelName":  { "type": "string" },
					"serialNumber":  { "type": "string" },
					"accountId":  { "type": "string" },
					"name":  { "type": ["null", "string"] },
					"description":  { "type": ["null", "string"] },
					"dateCreated": { "type": "number" },
					"dateModified": { "type": "number" },
					"lastCommunication": { "type": ["null", "number"] },
					"lastDataRefresh": { "type": "number" },
					"communicating": { "type": ["null", "boolean"] },
					"authenticated": { "type": ["null", "boolean"] },
					"baseFirmwareLastModifiedDate": { "type": ["null", "number"] },
					"counters": { "type": "null" },
					"diagnosticEvents": {
						"type": "array",
						"maxItems": 0
					},
					"supplies":   {
						"type": "array",
						"maxItems": 0
					},
					"alerts":   {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"status": { "type": ["null", "string"] },
								"issue": { "type": ["null", "string"] }
							}
						}
					}
				}
			},
			"minItems": 0
		},
		"pageable": {
			"type": "object",
			"properties": {
				"sort": {
					"type": "object",
					"properties": {
						"sorted":  { "type": "boolean" },
						"unsorted":  { "type": "boolean" },
						"empty":  { "type": "boolean" }
					}
				},
				"pageNumber":  { "type": "integer" },
				"pageSize":  { "type": "integer" },
				"offset":  { "type": "integer" },
				"paged":  { "type": "boolean" },
				"unpaged":  { "type": "boolean" }
			}
		},
		"totalElements":  { "type": "integer" },
		"totalPages":  { "type": "integer" },
		"last":  { "type": "boolean" },
		"sort":  {
			"type": "object",
			"properties": {
				"sorted":  { "type": "boolean" },
				"unsorted":  { "type": "boolean" },
				"empty":  { "type": "boolean" }
			}
		},
		"first":  { "type": "boolean" },
		"numberOfElements":  { "type": "integer" },
		"size":  { "type": "integer" },
		"number":  { "type": "integer" },
		"empty":  { "type": "boolean" }
	}
}

Пример ответа

{
   "content": [
      {
         "manufacturer": "Lexmark",
         "modelName": "X792e",
         "serialNumber": "123SERIALNUMBER",
         "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
         "name": null,
         "description": null,
         "dateCreated": 1568139701472,
         "dateModified": 1621677697123,
         "lastCommunication": 1621686886903,
         "lastDataRefresh": 1621677697129,
         "communicating": false,
         "authenticated": true,
         "baseFirmwareLastModifiedDate": null,
         "counters": null,
         "diagnosticEvents": [], "supplies": [],
         "alerts": []
      },
      {
         "manufacturer": "Lexmark",
         "modelName": "CX825",
         "serialNumber": "12345SERIALNUMBER",
         "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
         "name": null,
         "description": null,
         "dateCreated": 1568139300179,
         "dateModified": 1617891557869,
         "lastCommunication": 1617891642361,
         "lastDataRefresh": 1627605287407,
         "communicating": false,
         "authenticated": true,
         "baseFirmwareLastModifiedDate": null,
         "counters": null,
         "diagnosticEvents": [],
         "supplies": [],
         "alerts": [
            {   
               "status": "ERROR",
               "issue": "Remove paper from Standard Output Bin"
            },
            {
               "status": "ERROR",
               "issue": " [145.80A]"
            },
            {
               "status": "WARNING",
               "issue": "Standard Bin Full"
            }
        ]
     }
 ],
 "pageable":
  "sort": {
  "sorted": false,
  "unsorted": true,
  "empty": true
 },
 "pageNumber": 0,
 "pageSize": 50,
 "offset": 0,
 "paged": true,
 "unpaged": false
 },
 "totalElements": 2,
 "totalPages": 1, "last": false,
 "sort": {
    "sorted": false
    "unsorted": true,
    "empty": true
 },
 "first": true,
 "numberOfElements": 50,
 "size": 50,
 "number": 0,
 "empty": false
}

Получение данных счетчиков для ресурсов

Это обращение позволяет получить страницу ресурсов, содержащую подресурс счетчиков, в организации и дочерних организациях приложения, выполняющего обращение. Организация определяется по токену, указанному в заголовке «Авторизация», который необходимо получить из обращения Получение токена.

МетодURL-адрес

GET

<INTEGRATION_SERVICE_URL>/v1.0/assets/counters

Заголовки
КлючЗначениеОписание

Авторизация

Носитель <TOKEN>

Обращение «Получение токена» возвращает токен.

    Текст

  • Нет.

Схема возвращения

{
	"type": "object",
	"properties": {
		"content": { 
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"manufacturer":  { "type": "string" },
					"modelName":  { "type": "string" },
					"serialNumber":  { "type": "string" },
					"accountId":  { "type": "string" },
					"name":  { "type": ["null", "string"] },
					"description":  { "type": ["null", "string"] },
					"dateCreated": { "type": "number" },
					"dateModified": { "type": "number" },
					"lastCommunication": { "type": ["null", "number"] },
					"lastDataRefresh": { "type": "number" },
					"communicating": { "type": ["null", "boolean"] },
					"authenticated": { "type": ["null", "boolean"] },
					"baseFirmwareLastModifiedDate": { "type": ["null", "number"] },
					"counters": {
						"type": ["null", "object"],
						"properties": {
							"lifetimeCount": { "type": ["null", "integer"] },
							"lifetimeCountUnit": { "type": ["null", "string"] },
							"colorPrintSideCount": { "type": ["null", "integer"] },
							"colorPrintSheetCount": { "type": ["null", "integer"] },
							"monoPrintSideCount": { "type": ["null", "integer"] },
							"monoPrintSheetCount": { "type": ["null", "integer"] },
							"printSideCount": { "type": ["null", "integer"] },
							"printSheetCount": { "type": ["null", "integer"] },
							"colorCopySideCount": { "type": ["null", "integer"] },
							"colorCopySheetCount": { "type": ["null", "integer"] },
							"monoCopySideCount": { "type": ["null", "integer"] },
							"monoCopySheetCount": { "type": ["null", "integer"] },
							"copySideCount": { "type": ["null", "integer"] },
							"copySheetCount": { "type": ["null", "integer"] },
							"colorFaxSideCount": { "type": ["null", "integer"] },
							"colorFaxSheetCount": { "type": ["null", "integer"] },
							"monoFaxSideCount": { "type": ["null", "integer"] },
							"monoFaxSheetCount": { "type": ["null", "integer"] },
							"faxSideCount": { "type": ["null", "integer"] },
							"faxSheetCount": { "type": ["null", "integer"] },
							"colorSideCount": { "type": ["null", "integer"] },
							"colorSheetCount": { "type": ["null", "integer"] },
							"monoSideCount": { "type": ["null", "integer"] },
							"monoSheetCount": { "type": ["null", "integer"] },
							"totalSideCount": { "type": ["null", "integer"] },
							"totalSheetCount": { "type": ["null", "integer"] },
							"colorLargeSideCount": { "type": ["null", "integer"] },
							"monoLargeSideCount": { "type": ["null", "integer"] },
							"largeSideCount": { "type": ["null", "integer"] },
							"largeSheetCount": { "type": ["null", "integer"] },
							"duplexSideCount": { "type": ["null", "integer"] },
							"duplexSheetCount": { "type": ["null", "integer"] },
							"coverageTierBusinessSideCount": { "type": ["null", "integer"] },
							"coverageTierBusinessSheetCount": { "type": ["null", "integer"] },
							"coverageTierGraphicsSideCount": { "type": ["null", "integer"] },
							"coverageTierGraphicsSheetCount": { "type": ["null", "integer"] },
							"coverageTierHighlightSideCount": { "type": ["null", "integer"] },
							"coverageTierHighlightSheetCount": { "type": ["null", "integer"] },
							"paperCounts": {
								"type": "array",
								"items": {
									"type": "object",
									"properties": {
										"paperSheetPickedCount": { "type": ["null", "integer"] },
										"paperSheetSafeCount": { "type": ["null", "integer"] },
										"paperSideColorPickedCount": { "type": ["null", "integer"] },
										"paperSideColorSafeCount": { "type": ["null", "integer"] },
										"paperSideMonoPickedCount": { "type": ["null", "integer"] },
										"paperSideMonoSafeCount": { "type": ["null", "integer"] },
										"paperSize": { "type": ["null", "string"] },
										"paperType": { "type": ["null", "string"] }
									}
								}
							},
							"blankCopySideCount": { "type": ["null", "integer"] },
							"adfScanCount": { "type": ["null", "integer"] },
							"flatbedScanCount": { "type": ["null", "integer"] },
							"scanToLocalhostScanCount": { "type": ["null", "integer"] },
							"copyScanCount": { "type": ["null", "integer"] },
							"faxScanCount": { "type": ["null", "integer"] },
							"simplexAdfScanCount": { "type": ["null", "integer"] },
							"duplexAdfScanCount": { "type": ["null", "integer"] },
							"monoScanCount": { "type": ["null", "integer"] },
							"colorScanCount": { "type": ["null", "integer"] },
							"totalScanCount": { "type": ["null", "integer"] },
							"blankFaxSideCount": { "type": ["null", "integer"] }
						}
					},
					"diagnosticEvents": {
						"type": "array",
						"maxItems": 0
					},
					"supplies":   {
						"type": "array",
						"maxItems": 0
					},
					"alerts":   {
						"type": "array",
						"maxItems": 0
					}
				}
			},
			"minItems": 0
		},
		"pageable": {
			"type": "object",
			"properties": {
				"sort": {
					"type": "object",
					"properties": {
						"sorted":  { "type": "boolean" },
						"unsorted":  { "type": "boolean" },
						"empty":  { "type": "boolean" }
					}
				},
				"pageNumber":  { "type": "integer" },
				"pageSize":  { "type": "integer" },
				"offset":  { "type": "integer" },
				"paged":  { "type": "boolean" },
				"unpaged":  { "type": "boolean" }
			}
		},
		"totalElements":  { "type": "integer" },
		"totalPages":  { "type": "integer" },
		"last":  { "type": "boolean" },
		"sort":  {
			"type": "object",
			"properties": {
				"sorted":  { "type": "boolean" },
				"unsorted":  { "type": "boolean" },
				"empty":  { "type": "boolean" }
			}
		},
		"first":  { "type": "boolean" },
		"numberOfElements":  { "type": "integer" },
		"size":  { "type": "integer" },
		"number":  { "type": "integer" },
		"empty":  { "type": "boolean" }
	}
}

Пример ответа

{
    "content": [
      {
         "manufacturer": "Lexmark",
         "modelName": "X792e",
         "serialNumber": "123SERIALNUMBER",
         "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
         "name": null,
         "description": null,
         "dateCreated": 1568139701472,
         "dateModified": 1621677697123,
         "lastCommunication": 1621686886903,
         "lastDataRefresh": 1621677697129,
         "communicating": false,
         "authenticated": true,
         "baseFirmwareLastModifiedDate": null,
         "counters": {
            "lifetimeCount": 6436,
            "lifetimeCountUnit": "Sides",
            "colorPrintSideCount": 464,
            "colorPrintSheetCount": null,
            "monoPrintSideCount": 2636,
            "monoPrintSheetCount": null,
            "printSideCount": 3100,
            "printSheetCount": 3067,
            "colorCopySideCount": 175,
            "colorCopySheetCount": null,
            "monoCopySideCount": 50,
            "monoCopySheetCount": null,
            "copySideCount": 225,
            "copySheetCount": 217,
            "colorFaxSideCount": 99,
            "colorFaxSheetCount": null,
            "monoFaxSideCount": 2994,
            "monoFaxSheetCount": null,
            "faxSideCount": 3093,
            "faxSheetCount": 3093,
            "colorSideCount": 738,
            "colorSheetCount": null,
            "monoSideCount": 5680,
            "monoSheetCount": null,
            "totalSideCount": 6418,
            "totalSheetCount": 6377,
            "colorLargeSideCount": null,
            "monoLargeSideCount": null,
            "largeSideCount": null,
            "largeSheetCount": null,
            "duplexSideCount": null,
            "duplexSheetCount": 41,
            "coverageTierBusinessSideCount": null,
            "coverageTierBusinessSheetCount": null,
            "coverageTierGraphicsSideCount": null,
            "coverageTierGraphicsSheetCount": null,
            "coverageTierHighlightSideCount": null,
            "coverageTierHighlightSheetCount": null,
            "paperCounts": [
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 5370,
                "paperSideColorPickedCount": 586,
                "paperSideColorSafeCount": 700,
                "paperSideMonoPickedCount": 2377,
                "paperSideMonoSafeCount": 4711,
                "paperSize": "Letter",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 3,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 1,
                "paperSideMonoSafeCount": 3,
                "paperSize": "Letter",
                "paperType": "Custom Type 2"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 23,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 23,
                "paperSize": "Oficio", 
			         	"paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 24,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 24, "paperSize": "Legal", "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 110,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 7,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 103,
                "paperSize": "Executive",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 56,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 56,
                "paperSize": "Folio",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 52,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 52,
                "paperSize": "JIS B5",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 685,
                "paperSideColorPickedCount": 3,
                "paperSideColorSafeCount": 30,
                "paperSideMonoPickedCount": 178,
                "paperSideMonoSafeCount": 655,
                "paperSize": "A4",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 45,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 45,
                "paperSize": "A5",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 4,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 4,
                "paperSize": "A6",
                "paperType": "Plain"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 1,
                "paperSideColorPickedCount": 0,
                "paperSideColorSafeCount": 0,
                "paperSideMonoPickedCount": 0,
                "paperSideMonoSafeCount": 1,
                "paperSize": "A4",
                "paperType": "Custom Type 2"
               },
               {
                "paperSheetPickedCount": null,
                "paperSheetSafeCount": 4,
                "paperSideColorPickedCount": 1,
                "paperSideColorSafeCount": 1,
                "paperSideMonoPickedCount": 3,
                "paperSideMonoSafeCount": 3,
                "paperSize": "Letter",
                "paperType": "Transparancy"
               }
             ],
               "blankCopySideCount": 1,
               "adfScanCount": 377,
               "flatbedScanCount": 722,
               "scanToLocalhostScanCount": null,
               "copyScanCount": 101,
               "faxScanCount": 815,
               "simplexAdfScanCount": null,
               "duplexAdfScanCount": null,
               "monoScanCount": null,
               "colorScanCount": null,
               "totalScanCount": 1099,
               "blankFaxSideCount": 0
           },
             "diagnosticEvents": [],
             "supplies": [],
             "alerts": []
         },
{
            "manufacturer": "Lexmark",
            "modelName": "CX825",
            "serialNumber": "12345SERIALNUMBER",
            "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
            "name": null,
            "description": null,
            "dateCreated": 1568139300179,
            "dateModified": 1617891557869,
            "lastCommunication": 1617891642361,
            "lastDataRefresh": 1627605287407,
            "communicating": false,
            "authenticated": true,
            "baseFirmwareLastModifiedDate": null,
            "counters": {
                "lifetimeCount": 30932,
                "lifetimeCountUnit": "Sides",
                "colorPrintSideCount": 27268,
                "colorPrintSheetCount": null,
                "monoPrintSideCount": 3196,
                "monoPrintSheetCount": null,
                "printSideCount": 30464,
                "printSheetCount": 28872,
                "colorCopySideCount": 447,
                "colorCopySheetCount": null,
                "monoCopySideCount": 2,
                "monoCopySheetCount": null,
                "copySideCount": 449,
                "copySheetCount": 284,
                "colorFaxSideCount": 0,
                "colorFaxSheetCount": null,
                "monoFaxSideCount": 0,
                "monoFaxSheetCount": null,
                "faxSideCount": 0,
                "faxSheetCount": 0,
                "colorSideCount": 27715,
                "colorSheetCount": null,
                "monoSideCount": 3198,
                "monoSheetCount": null,
                "totalSideCount": 30914,
                "totalSheetCount": 29156,
                "colorLargeSideCount": null,
                "monoLargeSideCount": null,
                "largeSideCount": null,
                "largeSheetCount": null,
                "duplexSideCount": null,
                "duplexSheetCount": 1758,
                "coverageTierBusinessSideCount": 11373,
                "coverageTierBusinessSheetCount": null,
                "coverageTierGraphicsSideCount": 5013,
                "coverageTierGraphicsSheetCount": null,
                "coverageTierHighlightSideCount": 11327,
                "coverageTierHighlightSheetCount": null,
                "paperCounts": [],
                 "blankCopySideCount": null,
                 "adfScanCount": null,
                 "flatbedScanCount": null,
                 "scanToLocalhostScanCount": null,
                 "copyScanCount": null,
                 "faxScanCount": null,
                 "simplexAdfScanCount": null,
                 "duplexAdfScanCount": null,
                 "monoScanCount": null,
                 "colorScanCount": null,
                 "totalScanCount": null,
                 "blankFaxSideCount": null
             },
             "diagnosticEvents": [],
             "supplies": [],
             "alerts": []
          }
       ],
        "pageable": {
           "sort": {
           "sorted": false,
           "unsorted": true,
           "empty": true
           },
            "pageNumber": 0,
            "pageSize": 50,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
         "totalElements": 2,
         "totalPages": 1,
         "last": false,
         "sort": {
            "sorted": false,
            "unsorted": true,
            "empty": true
        },
         "first": true,
         "numberOfElements": 50,
         "size": 50,
         "number": 0, 
		      "empty": false
}

Получение данных ресурсов

Это обращение позволяет получить страницу ресурсов, содержащую подресурс, в организации и дочерних организациях приложения, выполняющего обращение. Организация определяется по токену, указанному в заголовке «Авторизация», который необходимо получить из обращения Получение токена.

МетодURL-адрес

GET

<INTEGRATION_SERVICE_URL>/v1.0/assets

Заголовки
КлючЗначениеОписание

Авторизация

Носитель <TOKEN>

Обращение «Получение токена» возвращает токен.

    Текст

  • Нет.
  • Примечание:  Этот интерфейс API обеспечивает возвращение всех наборов данных для всех ресурсов. У него есть дополнительный параметр для возвращения всех данных для одного серийного номера.

Схема возвращения

 {
	"type": "object",
	"properties": {
		"content": { 
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"manufacturer":  { "type": "string" },
					"modelName":  { "type": "string" },
					"serialNumber":  { "type": "string" },
					"accountId":  { "type": "string" },
					"name":  { "type": ["null", "string"] },
					"description":  { "type": ["null", "string"] },
					"dateCreated": { "type": "number" },
					"dateModified": { "type": "number" },
					"lastCommunication": { "type": ["null", "number"] },
					"lastDataRefresh": { "type": "number" },
					"communicating": { "type": ["null", "boolean"] },
					"authenticated": { "type": ["null", "boolean"] },
					"baseFirmwareLastModifiedDate": { "type": ["null", "number"] },
					"counters": {
						"type": ["null", "object"],
						"properties": {
							"lifetimeCount": { "type": ["null", "integer"] },
							"lifetimeCountUnit": { "type": ["null", "string"] },
							"colorPrintSideCount": { "type": ["null", "integer"] },
							"colorPrintSheetCount": { "type": ["null", "integer"] },
							"monoPrintSideCount": { "type": ["null", "integer"] },
							"monoPrintSheetCount": { "type": ["null", "integer"] },
							"printSideCount": { "type": ["null", "integer"] },
							"printSheetCount": { "type": ["null", "integer"] },
							"colorCopySideCount": { "type": ["null", "integer"] },
							"colorCopySheetCount": { "type": ["null", "integer"] },
							"monoCopySideCount": { "type": ["null", "integer"] },
							"monoCopySheetCount": { "type": ["null", "integer"] },
							"copySideCount": { "type": ["null", "integer"] },
							"copySheetCount": { "type": ["null", "integer"] },
							"colorFaxSideCount": { "type": ["null", "integer"] },
							"colorFaxSheetCount": { "type": ["null", "integer"] },
							"monoFaxSideCount": { "type": ["null", "integer"] },
							"monoFaxSheetCount": { "type": ["null", "integer"] },
							"faxSideCount": { "type": ["null", "integer"] },
							"faxSheetCount": { "type": ["null", "integer"] },
							"colorSideCount": { "type": ["null", "integer"] },
							"colorSheetCount": { "type": ["null", "integer"] },
							"monoSideCount": { "type": ["null", "integer"] },
							"monoSheetCount": { "type": ["null", "integer"] },
							"totalSideCount": { "type": ["null", "integer"] },
							"totalSheetCount": { "type": ["null", "integer"] },
							"colorLargeSideCount": { "type": ["null", "integer"] },
							"monoLargeSideCount": { "type": ["null", "integer"] },
							"largeSideCount": { "type": ["null", "integer"] },
							"largeSheetCount": { "type": ["null", "integer"] },
							"duplexSideCount": { "type": ["null", "integer"] },
							"duplexSheetCount": { "type": ["null", "integer"] },
							"coverageTierBusinessSideCount": { "type": ["null", "integer"] },
							"coverageTierBusinessSheetCount": { "type": ["null", "integer"] },
							"coverageTierGraphicsSideCount": { "type": ["null", "integer"] },
							"coverageTierGraphicsSheetCount": { "type": ["null", "integer"] },
							"coverageTierHighlightSideCount": { "type": ["null", "integer"] },
							"coverageTierHighlightSheetCount": { "type": ["null", "integer"] },
							"paperCounts": {
								"type": "array",
								"items": {
									"type": "object",
									"properties": {
										"paperSheetPickedCount": { "type": ["null", "integer"] },
										"paperSheetSafeCount": { "type": ["null", "integer"] },
										"paperSideColorPickedCount": { "type": ["null", "integer"] },
										"paperSideColorSafeCount": { "type": ["null", "integer"] },
										"paperSideMonoPickedCount": { "type": ["null", "integer"] },
										"paperSideMonoSafeCount": { "type": ["null", "integer"] },
										"paperSize": { "type": ["null", "string"] },
										"paperType": { "type": ["null", "string"] }
									}
								}
							},
							"blankCopySideCount": { "type": ["null", "integer"] },
							"adfScanCount": { "type": ["null", "integer"] },
							"flatbedScanCount": { "type": ["null", "integer"] },
							"scanToLocalhostScanCount": { "type": ["null", "integer"] },
							"copyScanCount": { "type": ["null", "integer"] },
							"faxScanCount": { "type": ["null", "integer"] },
							"simplexAdfScanCount": { "type": ["null", "integer"] },
							"duplexAdfScanCount": { "type": ["null", "integer"] },
							"monoScanCount": { "type": ["null", "integer"] },
							"colorScanCount": { "type": ["null", "integer"] },
							"totalScanCount": { "type": ["null", "integer"] },
							"blankFaxSideCount": { "type": ["null", "integer"] }
						}
					},
					"diagnosticEvents": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"dateCreated": { "type": "number" },
								"alert": { "type": ["null", "string"] },
								"alertDttm": { "type": ["null", "number"] },
								"alertId": { "type": ["null", "string"] },
								"alertType": { "type": ["null", "string"] },
								"collectorId": { "type": ["null", "string"] },
								"errorCode": { "type": ["null", "string"] },
								"errorReason":  { "type": ["null", "string"] },
								"errorType":  { "type": ["null", "string"] },
								"expirationDttm":  { "type": "number" },
								"hostname": { "type": ["null", "string"] },
								"ipAddress":  { "type": ["null", "string"] },
								"lpc":  { "type": ["null", "number"] },
								"model":  { "type": ["null", "string"] },
								"serialNumber":  { "type": ["null", "string"] }
							}
						}
					},
					"supplies":   {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"serialNumber": { "type": ["null", "string"] },
								"currentLevel": { "type": ["null", "integer"] },
								"color": { "type": ["null", "string"] },
								"description": { "type": ["null", "string"] },
								"maximumCapacity": { "type": ["null", "number"] },
								"type": { "type": ["null", "string"] },
								"capacityUnit": { "type": ["null", "string"] },
								"percentRemaining":  { "type": ["null", "integer"] },
								"supplyState": { "type": ["null", "string"] },
								"status":  { "type": ["null", "string"] },
								"coverage":  { "type": ["null", "number"] },
								"installDate":  { "type": ["null", "number"] },
								"coverageLifetime":  { "type": ["null", "number"] },
								"coverageLastJob":  { "type": ["null", "number"] },
								"sidesOnSupply":  { "type": ["null", "number"] },
								"timestamp": { "type": ["null", "number"] },
								"prebate":  { "type": ["null", "boolean"] },
								"genuine":  { "type": ["null", "boolean"] },
								"daysLeft":  { "type": ["null", "number"] },
								"daysLeftLastUpdated":  { "type": ["null", "number"] }
							}
						}
					},
					"alerts":   {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"status": { "type": ["null", "string"] },
								"issue": { "type": ["null", "string"] }
							}
						}
					}
				}
			},
			"minItems": 0
		},
		"pageable": {
			"type": "object",
			"properties": {
				"sort": {
					"type": "object",
					"properties": {
						"sorted":  { "type": "boolean" },
						"unsorted":  { "type": "boolean" },
						"empty":  { "type": "boolean" }
					}
				},
				"pageNumber":  { "type": "integer" },
				"pageSize":  { "type": "integer" },
				"offset":  { "type": "integer" },
				"paged":  { "type": "boolean" },
				"unpaged":  { "type": "boolean" }
			}
		},
		"totalElements":  { "type": "integer" },
		"totalPages":  { "type": "integer" },
		"last":  { "type": "boolean" },
		"sort":  {
			"type": "object",
			"properties": {
				"sorted":  { "type": "boolean" },
				"unsorted":  { "type": "boolean" },
				"empty":  { "type": "boolean" }
			}
		},
		"first":  { "type": "boolean" },
		"numberOfElements":  { "type": "integer" },
		"size":  { "type": "integer" },
		"number":  { "type": "integer" },
		"empty":  { "type": "boolean" }
	}
}

Пример ответа

{
     "content": [
        {
          "manufacturer": "Lexmark",
          "modelName": "X792e", 
		       "serialNumber": "123SERIALNUMBER",
          "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
          "name": null,
          "description": null,
          "dateCreated": 1568139701472,
          "dateModified": 1621677697123,
          "lastCommunication": 1621686886903,
          "lastDataRefresh": 1621677697129,
          "communicating": false,
          "authenticated": true,
          "baseFirmwareLastModifiedDate": null,
          "counters": {
             "lifetimeCount": 6436,
             "lifetimeCountUnit": "Sides",
             "colorPrintSideCount": 464,
             "colorPrintSheetCount": null,
             "monoPrintSideCount": 2636,
             "monoPrintSheetCount": null,
             "printSideCount": 3100,
             "printSheetCount": 3067,
             "colorCopySideCount": 175,
             "colorCopySheetCount": null,
             "monoCopySideCount": 50,
             "monoCopySheetCount": null,
             "copySideCount": 225,
             "copySheetCount": 217,
             "colorFaxSideCount": 99,
             "colorFaxSheetCount": null,
             "monoFaxSideCount": 2994,
             "monoFaxSheetCount": null,
             "faxSideCount": 3093,
             "faxSheetCount": 3093,
             "colorSideCount": 738,
             "colorSheetCount": null,
             "monoSideCount": 5680,
             "monoSheetCount": null,
             "totalSideCount": 6418,
             "totalSheetCount": 6377,
             "colorLargeSideCount": null,
             "monoLargeSideCount": null,
             "largeSideCount": null,
             "largeSheetCount": null,
             "duplexSideCount": null,
             "duplexSheetCount": 41,
             "coverageTierBusinessSideCount": null,
             "coverageTierBusinessSheetCount": null,
             "coverageTierGraphicsSideCount": null,
             "coverageTierGraphicsSheetCount": null,
             "coverageTierHighlightSideCount": null,
             "coverageTierHighlightSheetCount": null,
             "paperCounts": [
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 5370,
                  "paperSideColorPickedCount": 586,
                  "paperSideColorSafeCount": 700,
                  "paperSideMonoPickedCount": 2377,
                  "paperSideMonoSafeCount": 4711,
                  "paperSize": "Letter",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 3,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 1,
                  "paperSideMonoSafeCount": 3,
                  "paperSize": "Letter",
                  "paperType": "Custom Type 2"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 23,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 23,
                  "paperSize": "Oficio",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 24,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 24,
                  "paperSize": "Legal",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 110,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 7,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 103,
                  "paperSize": "Executive",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 56,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 56,
                  "paperSize": "Folio",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 52,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 52,
                  "paperSize": "JIS B5",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 685,
                  "paperSideColorPickedCount": 3,
                  "paperSideColorSafeCount": 30,
                  "paperSideMonoPickedCount": 178,
                  "paperSideMonoSafeCount": 655,
                  "paperSize": "A4",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 45,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 45,
                  "paperSize": "A5",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 4,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 4,
                  "paperSize": "A6",
                  "paperType": "Plain"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 1,
                  "paperSideColorPickedCount": 0,
                  "paperSideColorSafeCount": 0,
                  "paperSideMonoPickedCount": 0,
                  "paperSideMonoSafeCount": 1,
                  "paperSize": "A4",
                  "paperType": "Custom Type 2"
                },
                {
                  "paperSheetPickedCount": null,
                  "paperSheetSafeCount": 4,
                  "paperSideColorPickedCount": 1,
                  "paperSideColorSafeCount": 1,
                  "paperSideMonoPickedCount": 3,
                  "paperSideMonoSafeCount": 3,
                  "paperSize": "Letter", 
				           "paperType": "Transparancy"
                }
              ],
               "blankCopySideCount": 1,
               "adfScanCount": 377,
               "flatbedScanCount": 722,
               "scanToLocalhostScanCount": null,
               "copyScanCount": 101,
               "faxScanCount": 815,
               "simplexAdfScanCount": null,
               "duplexAdfScanCount": null,
               "monoScanCount": null, "colorScanCount": null,
               "totalScanCount": 1099,
               "blankFaxSideCount": 0
            },
             "diagnosticEvents": [
              {
                "dateCreated": 1639077580134,
                "alert": "202.03 PAPER JAM: repeated 25 time(s) in 500 pages",
                "alertDttm": 1639077580134,
                "alertId": "61b25b2cc036774096bbef91",
                "alertType": "Prescriptive",
                "collectorId": "CBR01",
                "errorCode": "202.03",
                "errorReason": "HC_REP",
                "errorType": "%202.03%",
                "expirationDttm": 1313123,
                "hostname": "10.99.0.60",
                "ipAddress": "10.99.0.60",
                "lpc": 505535,
                "model": "LEXMARK CX825",
                "serialNumber": "12345SERIALNUMBER"
              }
            ],
             "supplies": [
                {
                 "serialNumber": "SUPPLY123",
                 "currentLevel": 50,
                 "color": "none",
                 "description": "Fuser",
                 "maximumCapacity": 150000,
                 "type": "Fuser",
                 "capacityUnit": "Sides",
                 "percentRemaining": null,
                 "supplyState": "UNKNOWN",
                 "status": "Intermediate",
                 "coverage": null,
                 "installDate": null,
                 "coverageLifetime": null,
                 "coverageLastJob": null,
                 "sidesOnSupply": null,
                 "timestamp": 1621674025055,
                 "prebate": null,
                 "genuine": null,
                 "daysLeft": null,
                 "daysLeftLastUpdated": null
                }
              ],
               "alerts": []
            },
            {
               "manufacturer": "Lexmark",
               "modelName": "X792e",
               "serialNumber": "123SERIALNUMBER",
               "accountId": "bf899e52-b026-46f3-9715-fe54b5dd7637",
               "name": null,
               "description": null,
               "dateCreated": 1568139701472,
               "dateModified": 1621677697123,
               "lastCommunication": 1621686886903,
               "lastDataRefresh": 1621677697129,
               "communicating": false,
               "authenticated": true,
               "baseFirmwareLastModifiedDate": 1621686886903,
               "counters": {
                  "lifetimeCount": null,
                  "lifetimeCountUnit": null,
                  "colorPrintSideCount": 104,
                  "colorPrintSheetCount": null,
                  "monoPrintSideCount": 201,
                  "monoPrintSheetCount": null,
                  "printSideCount": 305,
                  "printSheetCount": 305,
                  "colorCopySideCount": 77,
                  "colorCopySheetCount": null,
                  "monoCopySideCount": 0,
                  "monoCopySheetCount": null,
                  "copySideCount": 77,
                  "copySheetCount": null,
                  "colorFaxSideCount": 0,
                  "colorFaxSheetCount": null,
                  "monoFaxSideCount": 0,
                  "monoFaxSheetCount": null,
                  "faxSideCount": 0,
                  "faxSheetCount": null,
                  "colorSideCount": 181,
                  "colorSheetCount": null,
                  "monoSideCount": 201,
                  "monoSheetCount": null,
                  "totalSideCount": 382,
                  "totalSheetCount": null,
                  "colorLargeSideCount": 0,
                  "monoLargeSideCount": 0,
                  "largeSideCount": 0,
                  "largeSheetCount": null,
                  "duplexSideCount": 0,
                  "duplexSheetCount": null,
                  "coverageTierBusinessSideCount": null,
                  "coverageTierBusinessSheetCount": null,
                  "coverageTierGraphicsSideCount": null,
                  "coverageTierGraphicsSheetCount": null,
                  "coverageTierHighlightSideCount": null,
                  "coverageTierHighlightSheetCount": null,
                  "paperCounts": [],
                  "blankCopySideCount": null,
                  "adfScanCount": null,
                  "flatbedScanCount": null,
                  "scanToLocalhostScanCount": null,
                  "copyScanCount": null,
                  "faxScanCount": null,
                  "simplexAdfScanCount": null,
                  "duplexAdfScanCount": null,
                  "monoScanCount": null,
                  "colorScanCount": null,
                  "totalScanCount": null,
                  "blankFaxSideCount": null
                },
                "diagnosticEvents": [],
                "supplies": [
                   {
                    "serialNumber": null,
                    "currentLevel": 100,
                    "color": "none",
                    "description": "Waste Toner Bottle",
                    "maximumCapacity": 200000,
                    "type": "Waste Toner",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Ok",
                    "coverage": null,
                    "installDate": null,
                    "coverageLifetime": null,
                    "coverageLastJob": null,
                    "sidesOnSupply": null,
                    "timestamp": 1621674025052,
                    "prebate": null,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                   },
                   {
                    "serialNumber": null,
                    "currentLevel": 100,
                    "color": "none",
                    "description": "Separator Roll and Pick Assembly",
                    "maximumCapacity": 120000,
                    "type": "Other",
                    "capacityUnit": "Other",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Ok",
                    "coverage": null,
                    "installDate": null,
                    "coverageLifetime": null,
                    "coverageLastJob": null,
                    "sidesOnSupply": null,
                    "timestamp": 1621674025053,
                    "prebate": null,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY1",
                    "currentLevel": 50,
                    "color": "none",
                    "description": "Fuser",
                    "maximumCapacity": 150000,
                    "type": "Fuser",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Intermediate",
                    "coverage": null,
                    "installDate": null,
                    "coverageLifetime": null,
                    "coverageLastJob": null,
                    "sidesOnSupply": null,
                    "timestamp": 1621674025055,
                    "prebate": null,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY2",
                    "currentLevel": 5,
                    "color": "Yellow",
                    "description": "Yellow Cartridge",
                    "maximumCapacity": 20000,
                    "type": "Toner",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Low",
                    "coverage": 0.028,
                    "installDate": 1568701948000,
                    "coverageLifetime": 6.198895,
                    "coverageLastJob": 15,
                    "sidesOnSupply": 31355,
                    "timestamp": 1621674025056,
                    "prebate": true,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY3",
                    "currentLevel": 100,
                    "color": "none",
                    "description": "Transfer Module",
                    "maximumCapacity": 200000,
                    "type": "Other",
                    "capacityUnit": "Other",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Ok",
                    "coverage": null,
                    "installDate": null,
                    "coverageLifetime": null,
                    "coverageLastJob": null,
                    "sidesOnSupply": null,
                    "timestamp": 1621674025057,
                    "prebate": null,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY4",
                    "currentLevel": 80
                    "color": "Magenta",
                    "description": "Magenta Cartridge",
                    "maximumCapacity": 6000,
                    "type": "Toner",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "AUTHENTIC",
                    "status": "Intermediate",
                    "coverage": 2.872,
                    "installDate": 1568701948000,
                    "timestamp": 1621674025073,
                    "prebate": true,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY5",
                    "currentLevel": 80,
                    "color": "Black",
                    "description": "Black Cartridge",
                    "maximumCapacity": 20000,
                    "type": "Toner",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "AUTHENTIC",
                    "status": "Intermediate",
                    "coverage": 0.514,
                    "installDate": 1568701948000,
                    "coverageLifetime": 6.0445027,
                    "coverageLastJob": 74,
                    "sidesOnSupply": 1957,
                    "timestamp": 1621674025074,
                    "prebate": true,
                    "genuine": null,
                    "daysLeft": null, "daysLeftLastUpdated": null
                  },
                  {
                    "serialNumber": "SUPPLY6",
                    "currentLevel": 20,
                    "color": "Cyan",
                    "description": "Cyan Cartridge",
                    "maximumCapacity": 12000,
                    "type": "Toner",
                    "capacityUnit": "Sides",
                    "percentRemaining": null,
                    "supplyState": "UNKNOWN",
                    "status": "Intermediate",
                    "coverage": 0.194,
                    "installDate": 1568701948000,
                    "coverageLifetime": 7.331492,
                    "coverageLastJob": 21,
                    "sidesOnSupply": 4688,
                    "timestamp": 1621674025075,
                    "prebate": true,
                    "genuine": null,
                    "daysLeft": null,
                    "daysLeftLastUpdated": null
                  }
              ],
               "alerts": [
                 {
                  "status": "WARNING",
                  "issue": "Yellow cartridge low "
                 },
                 {
                  "status": "WARNING",
                  "issue": "Tray 1 Low "
                 }
            ]
        }
],
"pageable": {
   "sort": {
      "sorted": false,
      "unsorted": true,
      "empty": true
       },
        "pageNumber": 0,
        "pageSize": 50,
        "offset": 0,
        "paged": true,
        "unpaged": false
},
"totalElements": 2,
"totalPages": 1,
"last": false,
"sort": { 
   "sorted": false,
   "unsorted": true,
   "empty": true
},
"first": true,
"numberOfElements": 50,
"size": 50,
"number": 0, 
"empty": false
}
 
Помогла ли вам эта статья?
Top