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.

Supported Formats

json

Errors

Code Description
400

Examples

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
      

Params

Param name Description
name
optional

Validations:

  • Must be a String

customer_id
optional

When using the Appraisals API, provide the customer ID which owns the GitFax instrument

Validations:

  • Must be Integer.

brand_id
required

The brand ID of the instrument. You may also provide a brand name by passing ‘brand` instead.

Validations:

  • Must be Integer.

brand
required

The brand name of the instrument. You may also provide a brand ID by passing ‘brand_id` instead.

Validations:

  • Must be a String

model_id
optional

The model ID of the instrument within it’s brand.

Validations:

  • Must be Integer.

model
optional

The model name of the instrument within it’s brand.

Validations:

  • Must be a String

submodel_id
optional

The submodel ID of the instrument within it’s brand.

Validations:

  • Must be Integer.

submodel
optional

The submodel name of the instrument within it’s brand.

Validations:

  • Must be a String

year
optional

The year of manufacture.

Validations:

  • Must be Integer.

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:

  • Must be a String

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:

  • Must be a String