Main Web API Documentation Information
|
|
Actual Page/Function Name:
|
getAllPartsCategories |
Human Readable Name or Caption:
|
Get All Parts Categories |
Page/Function Description:
|
This web service will get all parts and general inventory categories. |
Page/Function Output Type:
|
API - JSON or WDDX |
Categories:
|
eComm,parts |
Extra Page/Function Notes:
|
Parameters
|
|||||||
Scope | Name | Type | Default | Description | Required | Alternates | Known Values |
Arguments | CORP_KEY_ID | String | Pass in the corporation key. This is a combination of 3 letters from the corporation name, a dash, and then the actual corp id number. Ex: PLA-0053, XYZ-0123. As a note, the corporation ID may be padded with zeros. This is not required, but it will be added if the number is system-generated (the numbers will be stripped off later). | Yes |
Results
|
||||||||||||
RET_STATUS | RET_MAIN_MESSAGE | RET_SECOND_MESSAGE | Redirect Link | Description | ||||||||
ok | success | |||||||||||
|
||||||||||||
logicProblem | Unable to connect to the database. Missing general lookup values for the search page. | Use your back button and try again. | This is a catch for any errors that happen while querying the part category id and part category name values. | |||||||||
zeroCategories | Sorry, unable to find any parts and general inventory categories associated with the corporation requested. | Use your back button and try again. | This is returned if no records were returned from the query. |
Samples
|
|
Caption | Text |
JSON |
{"API_CALL_FUNCTION_NAME":"getallpartscategories","CORP_KEY_ID":"PLA-0053","API_CORP_KEY_ID":"PLA-0053","API_USER_NAME":"demo","API_USER_PASSWORD":"1234","API_CURRENT_PAYEE_ID":"3","API_INPUT_OUTPUT_TYPE":"JSON","API_URL_ENCODING":"AUTO"}
|