AlphaAlpha Docs

Stock Count

Stock Count API

Create stock count

POST
/inventory-stock-count
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/inventory-stock-count" \  -H "Content-Type: application/json" \  -d '{    "productLocation": {      "batchNumber": "string",      "locationId": "string",      "productId": "string"    },    "stockSiteId": "string"  }'
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Delete by list of ids in current tenant

DELETE
/inventory-stock-count
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/inventory-stock-count" \  -H "Content-Type: application/json" \  -d '[    "string"  ]'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Create a draft stock count

POST
/inventory-stock-count/empty
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/inventory-stock-count/empty"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Find by list of ids in current tenant

GET
/inventory-stock-count/find
AuthorizationBearer <token>

In: header

Query Parameters

ids*array<>

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/find?ids=string"
[
  {
    "counter": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "events": [
      {
        "authorId": "string",
        "date": "2019-08-24T14:15:22Z",
        "description": "string",
        "id": "string",
        "type": "CREATE"
      }
    ],
    "id": "string",
    "internalReview": {
      "approved": true,
      "by": "string",
      "on": "2019-08-24T14:15:22Z",
      "reason": "string"
    },
    "products": [
      {
        "batchNumber": "string",
        "difference": 0.1,
        "expiration": "2019-08-24T14:15:22Z",
        "hasBeenCounted": true,
        "lastStockDate": "2019-08-24T14:15:22Z",
        "locationId": "string",
        "mismatchReason": "string",
        "productId": "string",
        "productionDate": "2019-08-24T14:15:22Z",
        "quantityCounted": 0.1,
        "quantityInSystem": 0.1,
        "review": {
          "approved": true,
          "by": "string",
          "on": "2019-08-24T14:15:22Z",
          "reason": "string"
        },
        "unitPrice": 0.1,
        "uomSplit": [
          {
            "productId": "string",
            "quantity": 0.1,
            "unit": "string"
          }
        ],
        "variancePercentage": 0.1,
        "varianceValue": 0.1
      }
    ],
    "reason": "string",
    "reviewNote": "string",
    "siteId": "string",
    "status": "DRAFT",
    "subsidiaryId": "string",
    "systemAdjustedOn": "2019-08-24T14:15:22Z",
    "tenantId": "string",
    "totalVariancePercentage": 0.1,
    "totalVarianceValue": 0.1,
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string",
    "varianceStatus": "MINOR_VARIANCE"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Find all for current tenant

GET
/inventory-stock-count/find-all
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/find-all"
[
  {
    "counter": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "events": [
      {
        "authorId": "string",
        "date": "2019-08-24T14:15:22Z",
        "description": "string",
        "id": "string",
        "type": "CREATE"
      }
    ],
    "id": "string",
    "internalReview": {
      "approved": true,
      "by": "string",
      "on": "2019-08-24T14:15:22Z",
      "reason": "string"
    },
    "products": [
      {
        "batchNumber": "string",
        "difference": 0.1,
        "expiration": "2019-08-24T14:15:22Z",
        "hasBeenCounted": true,
        "lastStockDate": "2019-08-24T14:15:22Z",
        "locationId": "string",
        "mismatchReason": "string",
        "productId": "string",
        "productionDate": "2019-08-24T14:15:22Z",
        "quantityCounted": 0.1,
        "quantityInSystem": 0.1,
        "review": {
          "approved": true,
          "by": "string",
          "on": "2019-08-24T14:15:22Z",
          "reason": "string"
        },
        "unitPrice": 0.1,
        "uomSplit": [
          {
            "productId": "string",
            "quantity": 0.1,
            "unit": "string"
          }
        ],
        "variancePercentage": 0.1,
        "varianceValue": 0.1
      }
    ],
    "reason": "string",
    "reviewNote": "string",
    "siteId": "string",
    "status": "DRAFT",
    "subsidiaryId": "string",
    "systemAdjustedOn": "2019-08-24T14:15:22Z",
    "tenantId": "string",
    "totalVariancePercentage": 0.1,
    "totalVarianceValue": 0.1,
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string",
    "varianceStatus": "MINOR_VARIANCE"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Find by id in current tenant

GET
/inventory-stock-count/find/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/find/string"
{
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "difference": 0.1,
      "expiration": "2019-08-24T14:15:22Z",
      "hasBeenCounted": true,
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitPrice": 0.1,
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1,
      "varianceValue": 0.1
    }
  ],
  "reason": "string",
  "reviewNote": "string",
  "siteId": "string",
  "status": "DRAFT",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get page by page number and size with optional sorting based on field to sortBy and direction

GET
/inventory-stock-count/page
AuthorizationBearer <token>

In: header

Query Parameters

pageNumber?integer
Formatint32
pageSize?integer
Formatint32
sortBy?string
direction?string
Value in"ASC" | "DESC"
search?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/page"
{
  "content": [
    {
      "counter": "string",
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "id": "string",
      "internalReview": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "products": [
        {
          "batchNumber": "string",
          "difference": 0.1,
          "expiration": "2019-08-24T14:15:22Z",
          "hasBeenCounted": true,
          "lastStockDate": "2019-08-24T14:15:22Z",
          "locationId": "string",
          "mismatchReason": "string",
          "productId": "string",
          "productionDate": "2019-08-24T14:15:22Z",
          "quantityCounted": 0.1,
          "quantityInSystem": 0.1,
          "review": {
            "approved": true,
            "by": "string",
            "on": "2019-08-24T14:15:22Z",
            "reason": "string"
          },
          "unitPrice": 0.1,
          "uomSplit": [
            {
              "productId": "string",
              "quantity": 0.1,
              "unit": "string"
            }
          ],
          "variancePercentage": 0.1,
          "varianceValue": 0.1
        }
      ],
      "reason": "string",
      "reviewNote": "string",
      "siteId": "string",
      "status": "DRAFT",
      "subsidiaryId": "string",
      "systemAdjustedOn": "2019-08-24T14:15:22Z",
      "tenantId": "string",
      "totalVariancePercentage": 0.1,
      "totalVarianceValue": 0.1,
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "varianceStatus": "MINOR_VARIANCE"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get page by page number and size with optional sorting based on field to sortBy and direction

GET
/inventory-stock-count/page-enriched
AuthorizationBearer <token>

In: header

Query Parameters

pageNumber*integer
Formatint32
pageSize?integer
Formatint32
sortBy?string
direction?string
Value in"ASC" | "DESC"
search?string
stockSiteId?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/page-enriched?pageNumber=0"
{
  "content": [
    {
      "allProductCountsApproved": true,
      "allProductCountsReviewed": true,
      "countReason": "string",
      "counter": "string",
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "id": "string",
      "internalReview": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "products": [
        {
          "batchNumber": "string",
          "brand": "string",
          "category": "string",
          "expiration": "2019-08-24T14:15:22Z",
          "imageAssets": [
            {
              "blobId": "string",
              "created": "2019-08-24T14:15:22Z",
              "extension": "string",
              "fileSize": 0,
              "name": "string",
              "type": "IMAGE"
            }
          ],
          "lastStockDate": "2019-08-24T14:15:22Z",
          "locationId": "string",
          "mismatchReason": "string",
          "productId": "string",
          "productName": "string",
          "productionDate": "2019-08-24T14:15:22Z",
          "quantityCounted": 0.1,
          "quantityInSystem": 0.1,
          "review": {
            "approved": true,
            "by": "string",
            "on": "2019-08-24T14:15:22Z",
            "reason": "string"
          },
          "unitOfMeasurements": [
            {
              "baseUnit": true,
              "cost": 0.1,
              "decimal": true,
              "isBaseUnit": true,
              "isDecimal": true,
              "name": "string",
              "quantity": 0.1,
              "salesPrice": 0.1,
              "unit": "string"
            }
          ],
          "uomSplit": [
            {
              "productId": "string",
              "quantity": 0.1,
              "unit": "string"
            }
          ],
          "variancePercentage": 0.1
        }
      ],
      "reviewNote": "string",
      "status": "DRAFT",
      "stockSiteId": "string",
      "subsidiaryId": "string",
      "systemAdjustedOn": "2019-08-24T14:15:22Z",
      "tenantId": "string",
      "totalVariancePercentage": 0.1,
      "totalVarianceValue": 0.1,
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "varianceStatus": "MINOR_VARIANCE"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get stats for stock counts

GET
/inventory-stock-count/stats
AuthorizationBearer <token>

In: header

Query Parameters

stockSiteId?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/stats"
{
  "groupedStatuses": {
    "property1": 0,
    "property2": 0
  },
  "totalCounts": 0,
  "totalProducts": 0,
  "totalVarianceValue": 0.1
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get enriched stock count

GET
/inventory-stock-count/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/inventory-stock-count/string"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Update stock count

PATCH
/inventory-stock-count/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string" \  -H "Content-Type: application/json" \  -d '{    "productLocations": [      {        "batchNumber": "string",        "locationId": "string",        "productId": "string"      }    ]  }'
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Delete by id in current tenant

DELETE
/inventory-stock-count/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/inventory-stock-count/string"
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Approve a stock count request

PATCH
/inventory-stock-count/{id}/approve-request
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/approve-request"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Cancel a stock count

PATCH
/inventory-stock-count/{id}/cancel
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/cancel"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Comment on a stock count

POST
/inventory-stock-count/{id}/comment
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/inventory-stock-count/string/comment" \  -H "Content-Type: application/json" \  -d 'string'
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Complete review for stock count

PATCH
/inventory-stock-count/{id}/complete-review
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

note?string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/complete-review"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Reject a stock count request

PATCH
/inventory-stock-count/{id}/reject
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/reject"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Request internal approval for stock count

PATCH
/inventory-stock-count/{id}/request-approval
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/request-approval"
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Request review of counted stock

PATCH
/inventory-stock-count/{id}/request-review
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/request-review" \  -H "Content-Type: application/json" \  -d '[    {      "batchNumber": "string",      "locationId": "string",      "productId": "string",      "quantity": 0.1    }  ]'
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Review counted stock for product

PATCH
/inventory-stock-count/{id}/review-count
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/review-count" \  -H "Content-Type: application/json" \  -d '{    "approved": true,    "batchNumber": "string",    "locationId": "string",    "productId": "string"  }'
{
  "allProductCountsApproved": true,
  "allProductCountsReviewed": true,
  "countReason": "string",
  "counter": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "internalReview": {
    "approved": true,
    "by": "string",
    "on": "2019-08-24T14:15:22Z",
    "reason": "string"
  },
  "products": [
    {
      "batchNumber": "string",
      "brand": "string",
      "category": "string",
      "expiration": "2019-08-24T14:15:22Z",
      "imageAssets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "lastStockDate": "2019-08-24T14:15:22Z",
      "locationId": "string",
      "mismatchReason": "string",
      "productId": "string",
      "productName": "string",
      "productionDate": "2019-08-24T14:15:22Z",
      "quantityCounted": 0.1,
      "quantityInSystem": 0.1,
      "review": {
        "approved": true,
        "by": "string",
        "on": "2019-08-24T14:15:22Z",
        "reason": "string"
      },
      "unitOfMeasurements": [
        {
          "baseUnit": true,
          "cost": 0.1,
          "decimal": true,
          "isBaseUnit": true,
          "isDecimal": true,
          "name": "string",
          "quantity": 0.1,
          "salesPrice": 0.1,
          "unit": "string"
        }
      ],
      "uomSplit": [
        {
          "productId": "string",
          "quantity": 0.1,
          "unit": "string"
        }
      ],
      "variancePercentage": 0.1
    }
  ],
  "reviewNote": "string",
  "status": "DRAFT",
  "stockSiteId": "string",
  "subsidiaryId": "string",
  "systemAdjustedOn": "2019-08-24T14:15:22Z",
  "tenantId": "string",
  "totalVariancePercentage": 0.1,
  "totalVarianceValue": 0.1,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "varianceStatus": "MINOR_VARIANCE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}