Create the GitFax item by passing AxeFax brand, model and submodel IDs, serial number and/or RFID value, and any specific traits identified on this particular instrument. Note that a serial number or RIFD value is required, and cannot be changed once the record is created.
Code | Description |
---|---|
400 |
curl -X POST -d '{"brand_id": 2, "model_id": 239, "serial_number": "AAA1A34", "head_inlay":926}' -H "Content-type: application/json" -H "Authorization: XXXXX" "https://api.gitfax.com/items" // Returns the newly created record
Param name | Description |
---|---|
name optional |
Validations:
|
customer_id optional |
When using the Appraisals API, provide the customer ID which owns the GitFax instrument Validations:
|
brand_id required |
The brand ID of the instrument. You may also provide a brand name by passing ‘brand` instead. Validations:
|
brand required |
The brand name of the instrument. You may also provide a brand ID by passing ‘brand_id` instead. Validations:
|
model_id optional |
The model ID of the instrument within it’s brand. Validations:
|
model optional |
The model name of the instrument within it’s brand. Validations:
|
submodel_id optional |
The submodel ID of the instrument within it’s brand. Validations:
|
submodel optional |
The submodel name of the instrument within it’s brand. Validations:
|
year optional |
The year of manufacture. Validations:
|
serial_number required |
The serial number of the instrument that uniquely idenfities it. You may pass ‘rfid_value` instead if you are not using serial numbers. Validations:
|
rfid_value required |
The RFID tag value of the instrument that uniquely idenfities it. You may pass ‘serial_number` instead if you are not using RFIDs. Validations:
|