Create account class code

Use case

In this example, we will show how to create an account class code.

Use case data
API parameters

Create a new account class code.

{
"description": "New account class code",
"accountClassCode": "NEW"
    }

Sample API call

To create a new account class code, make the following API call.

https://account-api.sandbox.tuumplatform.com/api/v1/account-class-codes

See more information about the create account class code endpoint in the Tuum developer portal.

Create account class code

POST https://account-api.sandbox.tuumplatform.com/api/v1/account-class-codes

See more information about this endpoint in the Tuum developer portal.

Sample request

Below is an example request body of the API call for creating an account class code.

{
  "description": "New account class code",
  "accountClassCode": "NEW"
}

Sample response

Below you find an example response body to the API call above.

Response
{
    "errors": null,
    "validationErrors": null,
    "data": {
        "description": "New account class code",
        "accountClassCode": "NEW"
    }
}

Result

A new account class code is created.

Last updated

Was this helpful?