post/licenses

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/licenses
  • Auth
    none required

Request body

namestring required

Name of license being created

seatsinteger required

Number of license seats owned.

category_idinteger required

Valid license category ID

company_idinteger

Id number of company license belongs to

expiration_datestring date

Date of license expiration

license_emailstring

Email address associated with license

license_namestring

Name of license contact person

serialstring
maintainedboolean

Maintained status of license.

manufacturer_idinteger

ID number of manufacturer of license.

notesstring

License Notes

order_numberstring

Order number of license purchase

purchase_costnumber float

Cost of license

purchase_datestring date

Date of license purchase

purchase_orderstring

Purchase Order #

reassignableboolean

Is license reassignable?

supplier_idinteger

ID number of license supplier

termination_datestring date

Termination date for license.

Response

200

statusstring
messagesstring

Example response

{
  "status": "success",
  "messages": "License created successfully.",
  "payload": {
    "name": "TEST License",
    "seats": "25",
    "updated_at": "2018-02-25 18:23:49",
    "created_at": "2018-02-25 18:23:49",
    "id": 9
  }
}

Changes