Inventory Count
The Inventory Count API allows the user to count the inventory items for each site. It pulls and shares data with our other cloud services such as Data Management and the Portal.
Security
jwt-bearer-token
apiKey | API Key |
|---|---|
Name | Authorization |
In | header |
Endpoints
GET /inventory-count/schema
Summary
Inventory count schema.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
GET /inventory-count/{id}
Summary
Get the inventory count document identifier from the database.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
path |
| string | Yes |
|
query |
| string | No | |
query |
| string | No |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /inventory-count/{id}
Summary
Update the inventory count document identifier.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
path |
| string | Yes |
|
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
204 | No content | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
GET /inventory-count
Summary
Get an inventory count list.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
query |
| string | No | A filter expression in OData v4 format |
query |
| integer | No | The maximum documents to return. For example, if |
query |
| integer | No | The documents to skip before returning. For example, if |
query |
| string | No | |
query |
| string | No | An order by expression in OData v4 format |
query |
| string | No | |
query |
| string | No |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
POST /inventory-count
Summary
Create the inventory count.
Request Parameters
In | Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
201 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /inventory-count/bulk-change-status
Summary
Update a bulk change to the status of the given inventory count.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /inventory-count/dm-sync
Summary
Check inventory items for changes.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
Data Models
inventory_count_get_response_1
Field Name | Type | Description |
|---|---|---|
| object | The inventory count schema definition |
inventory_count_get_response_2
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| boolean | |
| number | |
| number | |
| [string] | |
| string | |
| date/time | |
| string | |
| date/time | |
| string |
inventory_count_get_response_3
Field Name | Type | Description |
|---|---|---|
| ||
| number | |
| number | |
| number | |
| number |
inventory_count_get_response_3_items
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| boolean | |
| number | |
| number | |
| string | |
| [string] | |
| string | |
| date/time | |
| string | |
| date/time | |
| string |
inventory_count_post_body_4
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | |
| date/time | Yes | |
| date/time | Yes | |
| string | Yes | |
| string | Yes | |
| string | Yes | |
| string | Yes | |
| number | Yes | |
| number | Yes | |
| No |
inventory_count_post_body_4_inventory_count_items
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | |
| string | Yes | |
| string | Yes | |
| string | Yes | |
| string | Yes | |
| string | No | |
| number | Yes | |
| number | Yes | |
| number | Yes | |
| number | Yes | |
| number | Yes | |
| No | ||
| inventory_count_patch_body_4_inventory_count_items_reporting_major | Yes | |
| inventory_count_patch_body_4_inventory_count_items_reporting_minor | Yes |
inventory_count_post_body_4_inventory_count_items_counts
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | |
| string | Yes | |
| number | Yes | |
| number | Yes |
inventory_count_post_body_4_inventory_count_items_reporting_category_major
Field Name | Type | Required | Description |
|---|---|---|---|
| string | No | |
| string | No | |
| string | Yes |
inventory_count_post_body_4_inventory_count_items_reporting_category_minor
Field Name | Type | Required | Description |
|---|---|---|---|
| string | No | |
| string | No | |
| string | Yes |
inventory_count_post_response_4
Field Name | Type | Description |
|---|---|---|
| string | |
| boolean |
inventory_count_patch_body_5
Field Name | Type | Required | Description |
|---|---|---|---|
| [string] | Yes | A list of the inventory count identifiers (IDs) |
| string | Yes | The Enum: |
| boolean | Yes | The flag that indicates whether to return results synchronously |
inventory_count_patch_response_5
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes |
|
| string | Yes |
|
| string | Yes | The task type of inventory-count-bulk-change-status |
| string | Yes | The task status including |
| string | No | The error message if the task fails |
| No | ||
| date/time | No | |
| date/time | No |
inventory_count_patch_response_5_sub_tasks
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes |
|
| string | Yes |
|
| string | Yes | The task type |
| string | Yes | The task status including |
| string | No | The error message if the task fails |
| No | ||
| date/time | Yes | |
| date/time | Yes |
inventory_count_patch_response_5_sub_tasks_value
Field Name | Type | Description |
|---|---|---|
| string | The transfer document identifier (ID) |
| string | The transfer status after task execution |
inventory_count_patch_body_6
Field Name | Type | Required | Description |
|---|---|---|---|
| [string] | Yes | A list of transfer identifiers (IDs) |
| boolean | Yes | The flag that indicates whether to return results synchronously |
inventory_count_patch_response_6
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes |
|
| string | Yes |
|
| string | Yes | The inventory-count-dm task type |
| string | Yes | The status including |
| string | No | The error message if the task fails |
| No | ||
| date/time | No | |
| date/time | No |
inventory_count_patch_response_6_sub_tasks
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes |
|
| string | Yes |
|
| string | Yes | The task type |
| string | Yes | The task status including |
| string | No | The error message if the task fails |
| Yes | ||
| date/time | Yes | |
| date/time | Yes |
inventory_count_patch_response_6_sub_tasks_value
Field Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | The transfer document identifier (ID) |
| string | Yes | The inventory count status after task execution |
inventory_count_patch_body_7
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| number | |
| number | |
|
inventory_count_patch_body_7_inventory_count_items
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| number | |
| number | |
| number | |
| number | |
| number | |
| ||
| inventory_count_patch_body_7_inventory_count_items_reporting_category_major | |
| inventory_count_patch_body_7_inventory_count_items_reporting_category_minor |
inventory_count_patch_body_7_inventory_count_items_counts
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| number | |
| number |
inventory_count_patch_body_7_inventory_count_items_reporting_category_major
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string |
inventory_count_patch_body_7_inventory_count_items_reporting_category_minor
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string |