38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
|
|
+ Application Defaults
|
|
o Duty form .init
|
|
o Department form .init
|
|
o RelationshipDutyCompany -> Evyos Ltd -> 78 Super User .init
|
|
O Evyos için duty = bulk duty on every company creation -> 78 Super User can access his companies bulk duties
|
|
|
|
relationship = company_id filter -> Action filter(company_id) relationship_type = Organization
|
|
relationship = company_id filter -> Action filter(company_id) relationship_type = Commercial
|
|
|
|
For every company creation, the following action: Only Create [Organization]
|
|
- Create a (Department) Execution Office & Create a (Duty) General Manager
|
|
- Create a (Department) IT Department & Create a (Duty) Super User & Create a Bulk Duty for Super User
|
|
|
|
EndpointRestrictions:
|
|
Duty: R-> Endpoint: /company/create" name: "Create Company" code: "AR001" method: "POST"
|
|
|
|
Abstract Class:
|
|
o Get class to inherit from it and check which fields are available for each duty given in table
|
|
o Explain the fields ,their usage, and examples
|
|
- PATCH /company/create with [TOKEN] -> BaseModel for this duty and ApiEnumDropdowns [RESPONSE]
|
|
- PATCH /company/update with [TOKEN] -> BaseModel for this duty and ApiEnumDropdowns [RESPONSE]
|
|
|
|
Re arrange TOKEN
|
|
Token (Save AS) => User => Employee => Menu
|
|
+ User ID
|
|
+ People ID
|
|
+ User Info
|
|
+ Employee ID
|
|
+ Request [IP + header]
|
|
+ List of reachable Endpoint Codes [Array]
|
|
+ CompanyId + CompanyUUID
|
|
+ DutyId + DutyUUID [duty_id]
|
|
+ Priority ID, Priority Code [priority_id ,priority_code]
|
|
|
|
|
|
|