Parts and Inventory | Classify Part
Overview
URL | api/{tenantKey}/{orgKey}/inventoryCore/classifyParts |
Methods Supported | GET, POST |
All Operations
This service includes the following operations:
- GET:
- POST:
All Resources
This service uses the following resources:
GET Classify Part
Returns the list of entity records that can be processed by the 'PartSubTypes' service.
The following elements are required:
pageIndex | (int) The index of the page of the list that should be returned. |
pageSize | (int) The number of page elements that should be returned (max. is 1000). |
toApplyPartSubType | (string) Part Subtype. |
showOnlyUnclassifiedParts | (bool) Show Only Unclassified Parts. |
Response:
When successful, the response body contains the list of entity records available for processing. See ClassifyPartLine. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
api/{tenantKey}/{orgKey}/inventoryCore/classifyParts/{pageIndex}/{pageSize}
GET /inventoryCore/classifyParts/{pageIndex}/{pageSize}
POST Classify Part
Instructs the 'PartSubTypes' service to process the specified entity records.
The following elements are required:
list | (ClassifyPartLine) List of the entity records that should be processed. See ClassifyPartLine. |
companyKey | (string) The company key. |
Response:
When successful, the response body is empty. The URL of the processed items is returned in the response location header. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
api/{tenantKey}/{orgKey}/inventoryCore/classifyParts/{companyKey}
POST /inventoryCore/classifyParts/{companyKey}
Resources
ClassifyPart
The following elements are required:
selectedCount | (int) Selected Count. |
toApplyPartSubType | (string) Part Subtype. |
showOnlyUnclassifiedParts | (bool) Show Only Unclassified Parts. |
ClassifyPartLine
The following elements are required:
selected | (bool) Selected. |
part | (string) Part. |
unit | (string) Unit. |
inventoryPartId | (Guid) Inventory Part Id. |
The following elements are optional:
description | (string) Description. |
partSubType | (string) Part Subtype. |