| 
								Main Web API Documentation Information
							 | |
| 
								Actual Page/Function Name:
							 | getParentAttributeValueByID | 
| 
								Human Readable Name or Caption:
							 | Get Parent Attribute Value By Id | 
| 
								Page/Function Description:
							 | Get the parent flex attribute value by the part id (main id) and the attribute id (sub id) | 
| 
								Page/Function Output Type:
							 | API - JSON or WDDX | 
| 
								Categories:
							 | parts | 
| 
								Extra Page/Function Notes:
							 | |
| 
								Parameters
							 | |||||||
| Scope | Name | Type | Default | Description | Required | Alternates | Known Values | 
| Arguments | PART_ID | Numeric | Pass in the part or item id (main_id). | Yes | |||
| Arguments | ATTRIBUTE_ID | Numeric | Pass in the parent attribute id (sub_id). | Yes | |||
| 
								Results
							 | ||||
| RET_STATUS | RET_MAIN_MESSAGE | RET_SECOND_MESSAGE | Redirect Link | Description | 
| noDataValue | There was not a data value associated with the submitted information. Meaning a 0 record count. | Please check the input values and resubmit. | 0 record count. | |
| noAttributeFound | Unable to find the parent attribute info that you requested. | Please check the input values and resubmit. | The attribute id passed in did not match a record in the database for this corporation. | |
| ok | successfully returned an attribute value | This means that the query ran successfully. Look for the value in the "ATTRIBUTE_VALUE" key. | ||
| 
								Samples
							 | |
| Caption | Text | 
| JSON | 
									{"API_CALL_FUNCTION_NAME":"getparentattributevaluebyid","API_USER_PASSWORD":"1234","API_CORP_KEY_ID":"PLA-0053","API_URL_ENCODING":"AUTO","API_INPUT_OUTPUT_TYPE":"JSON","ATTRIBUTE_ID":"2","API_CURRENT_PAYEE_ID":"3191","API_USER_NAME":"demo","PART_ID":"225446"}
								 |