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 |
---|---|
username required | |
password required |
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 |
---|---|
refresh required |
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 |
---|---|
token required |
company
create
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
company_name required | |
company_ceo required | |
company_address required | |
inception_Date required |
read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A UUID string identifying this company. |
create_0
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 required | |
company_ceo required | |
company_address required | |
inception_Date required |
update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 required | |
company_ceo required | |
company_address required | |
inception_Date required |
partial_update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 |
---|---|
id required | A UUID string identifying this company. |
create-team
create
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
team_lead_name required | |
company required |
get-company
read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
name required |
get-company-details
read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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_name required | |
company required |
read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A UUID string identifying this team. |
create_0
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 required | |
company required |
update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 required | |
company required |
partial_update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | 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 |
---|---|
id required | A UUID string identifying this team. |