Account Types API
Actions
Verb | Path | Action | Description |
---|---|---|---|
GET|POST|PATCH | /api/account_types(/:action(/:id)) | {:copy=>"Copy/Clone existing chart of accounts", :index=>"Query chart of accounts", :create=>"Create chart of accounts", :show=>"Show chart of accounts", :update=>"Updating charts of accounts is not supported", :destroy=>"Deleting chart of accounts is not supported"} | |
POST | /api/account_types/:id/copy | copy | Copy/Clone existing chart of accounts |
POST | /api/account_types | create | Create chart of accounts |
GET | /api/account_types | index | Query chart of accounts |
GET | /api/account_types/:id | show | Show chart of accounts |
PATCH | /api/account_types/:id | update | Updating charts of accounts is not supported |
PUT | /api/account_types/:id | update | Updating charts of accounts is not supported |
Elements
Element | Description | Required Field? | Unique? | Allowable Value | Api_In Field? | Api_Out Field? | Data Type |
---|---|---|---|---|---|---|---|
active | A false value will inactivate the chart of account making it no longer available to users. A true value will make it active and available to users. | yes | yes | boolean | |||
created-at | Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ | yes | datetime | ||||
created-by | User who created | yes | User | ||||
currency | Currency of transaction | yes | yes | yes | Currency | ||
id | Coupa unique identifier | yes | integer | ||||
name | name | yes | yes | yes | yes | string(50) | |
primary-address | Primary Address | yes | yes | Address | |||
primary-contact | Primary Contact | yes | yes | Contact | |||
updated-at | Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ | yes | datetime | ||||
updated-by | User who updated | yes | User |