Revisions journal

list

request
GET /api/v2/revisions?size=150 HTTP/1.1
Parameter Description

type

goods type

status

revision status

departmentId

department id

createdOnFrom

date of creation from

createdOnTo

date of creation to

pageable

Pageable description

response
{
  "content" : [ {
    "revisionId" : 3,
    "createdAt" : "2020-05-22T15:02:00",
    "departmentName" : "Первый магазин",
    "type" : "GLASSES",
    "status" : "FINISHED",
    "listedNum" : 535,
    "foundNum" : 1,
    "listedSum" : 1877489.0,
    "foundSum" : 2600.0
  } ],
  "totalPages" : 1,
  "totalElements" : 1,
  "size" : 150,
  "page" : 0,
  "number" : 0,
  "pageable" : {
    "pageSize" : 150,
    "pageNumber" : 0
  },
  "totalResult" : null
}
Table 787. response description
Path Type Description

content[].

Array

an array of filtered revisions

[].createdAt

String

revision created datetime

[].type

String

goods type

[].status

Array

revision status

[].departmentName

String

department name

[].listedSum

Number

total sum

[].foundSum

Number

found sum

[].listedNum

Number

total number

[].foundNum

Number

found sum

[].listedPurchasingSum

Number

total purchasing sum of goods

[].foundPurchasingNm

Number

found purchasing sum of goods