Company Management API
auth
generate-token > create
Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| usernamerequired | |
| passwordrequired | 
refresh-token > create
Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| refreshrequired | 
verify-token > create
Takes a token and indicates if it is valid. This view provides no information about a token's fitness for a particular use.
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| tokenrequired | 
company
create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| company_namerequired | |
| company_ceorequired | |
| company_addressrequired | |
| inception_Daterequired | 
read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
create_0
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| company_namerequired | |
| company_ceorequired | |
| company_addressrequired | |
| inception_Daterequired | 
update
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| company_namerequired | |
| company_ceorequired | |
| company_addressrequired | |
| inception_Daterequired | 
partial_update
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| company_name | |
| company_ceo | |
| company_address | |
| inception_Date | 
delete
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
create-team
create
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| team_lead_namerequired | |
| companyrequired | 
get-company
read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| namerequired | 
get-company-details
read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this company. | 
get-team
team
create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| team_lead_namerequired | |
| companyrequired | 
read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this team. | 
create_0
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this team. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| team_lead_namerequired | |
| companyrequired | 
update
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this team. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| team_lead_namerequired | |
| companyrequired | 
partial_update
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this team. | 
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description | 
|---|---|
| team_lead_name | |
| company | 
delete
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description | 
|---|---|
| idrequired | A UUID string identifying this team. |