Categories
CRUD endpoints for a user's categories
Please note that in all urls & code samples you'll need to replace:username
and :corporation
with appropriate values
Get All Categories
GET
/v2/organization/:corporation/staff/:username/category
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
Response
Code
Get Individual Category
GET
/v2/organization/:corporation/staff/:username/category/:id
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
id | number | Category ID |
Response
Code
Create Category
POST
/v2/organization/:corporation/staff/:username/category
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
Body
Name | Type | Description |
---|---|---|
name* | string | Category Name |
Response
Code
Delete Category
DELETE
/v2/organization/:corporation/staff/:username/category/:id
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
id | number | Category ID |
Response
Code
Last updated