Currencies

POST /currencies/system-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.

Request

  • Base URL
    https://api.cubesoftware.com
  • Auth
    OAuth 2
    Authorization code: https://portal.cubesoftware.com/o/authorize/
    Token URL: https://api.cubesoftware.com/o/token/

Headers

X-Company-IDstring required

Associates request with company

Request body

codestring required

Response

codestring required

Changes

No operation changes recorded.