latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Currencies

This is a shortcut class that will include all 6 resourceful actions part of the DRF ViewSets:

  • list()
  • retrieve()
  • create()
  • update()
  • partial_update()
  • destroy()

If you do not want to expose all 6 of these in your ViewSet, then use the CubeAuthenticatedViewSet and add the appropriate mixins to it (see rest_framework.mixins). This will allow the api to behave appropriately and block requests to unprocessable endpoints. Furthermore, it will make the drf_spectacular documentation be generated more easily.

patch/currencies/system-currencies/{id}

Path parameters

idstring required

Headers

X-Company-IDstring required

Associates request with company

Request body

idinteger
namestring
codestring
symbolstring
descriptionstring nullable
created_atstring date-time
exclusive_to_company_idstring uuid
created_by_idinteger

Response

codestring required