Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ISSUE
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZEEME
ISSUE
Commits
a5f567e6
Commit
a5f567e6
authored
May 02, 2018
by
TongZuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete swagger.json
parent
df6caf2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3483 deletions
+0
-3483
swagger.json
swagger.json
+0
-3483
No files found.
swagger.json
deleted
100644 → 0
View file @
df6caf2d
//
20180502100919
//
http
:
//localhost
:
8080
/ZeemeApi/rest/swagger.json
{
"swagger"
:
"2.0"
,
"info"
:
{
"version"
:
"1.0.2"
},
"host"
:
"zeeserver.csc.co.th"
,
"basePath"
:
"/ZeemeApi/rest"
,
"tags"
:
[
{
"name"
:
"employee"
},
{
"name"
:
"Guest"
},
{
"name"
:
"Timestamp"
},
{
"name"
:
"mobile device"
},
{
"name"
:
"Company"
},
{
"name"
:
"image"
},
{
"name"
:
"Employee zone"
},
{
"name"
:
"Zone"
},
{
"name"
:
"News"
},
{
"name"
:
"Member"
}
],
"schemes"
:
[
"https"
],
"paths"
:
{
"/company/branch/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getBranchCompany"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/BranchModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/common-data/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getCommonDataCompany"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/department"
:
{
"post"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"createDepartment"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
},
"put"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"updateDepartment"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/department/{companyId}/{id}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getDepartment"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
},
"delete"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"deleteDepartment"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/departments/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getDepartmentList"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/list/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getListCompany"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/CompanyMiniModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/position"
:
{
"post"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"createPosition"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
},
"put"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"updatePosition"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/position/{companyId}/{id}"
:
{
"delete"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"deletePosition"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/positions/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getPositionList"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/CompanyCommonModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/positions/{companyId}/{id}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getPosition"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/profile"
:
{
"post"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"updateProfile"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyProfileModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/company/profile/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Company"
],
"operationId"
:
"getCompanyProfile"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/CompanyProfileModel"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee"
:
{
"post"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"createNewEmployee"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/NewEmployeeRequestModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee-zone"
:
{
"post"
:
{
"tags"
:
[
"Employee zone"
],
"operationId"
:
"createEmployeeZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/EmployeeZoneModel"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/ResponseState"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee-zone/del/{companyId}/{zoneId}/{id}"
:
{
"delete"
:
{
"tags"
:
[
"Employee zone"
],
"operationId"
:
"deleteZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"zoneId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"id"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/ResponseState"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee-zone/list/{companyId}/{zoneId}"
:
{
"get"
:
{
"tags"
:
[
"Employee zone"
],
"operationId"
:
"getAllEmpInZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"zoneId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeZoneModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/getfull/{companyId}/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getEmployeeFull"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/EmployeeFullModel"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/getfull2/{companyId}/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getEmployeeFullWithBoss"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/EmployeeFullModel"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/list/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getAll"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/notemplate/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getListNoTemplate"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/notimestamp/{companyId}/{bgdate}/{endate}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getEmployeeNoTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"bgdate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"endate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/nozone/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"getListEmployeeNoZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/employee/profile"
:
{
"put"
:
{
"tags"
:
[
"employee"
],
"operationId"
:
"updateProfile"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/EmployeeFullModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/guest/login"
:
{
"post"
:
{
"tags"
:
[
"Guest"
],
"summary"
:
"web login api"
,
"description"
:
"Login api for web"
,
"operationId"
:
"login"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/LoginRequest"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/LoginResponse"
}
},
"404"
:
{
"description"
:
"member not found or login fail"
}
}
}
},
"/guest/mobile-login"
:
{
"post"
:
{
"tags"
:
[
"Guest"
],
"summary"
:
"mobile login api"
,
"description"
:
"Login api for mobile"
,
"operationId"
:
"loginMobile"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/LoginRequestModel"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/LoginResponseModel"
}
},
"404"
:
{
"description"
:
"member not found or login fail"
}
}
}
},
"/guest/mobile-register"
:
{
"post"
:
{
"tags"
:
[
"Guest"
],
"operationId"
:
"register"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/RegisterRequestModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
}
}
},
"/image/company/picture/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getPictureCompany"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/company/qrcode/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getQrcodeCompany"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/company/timestamp/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getPictureTimestampCompany"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/employee/face/{companyId}/{employeecode}/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getFaceEmployeeProfile"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"employeecode"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/employee/picture/{companyId}/{employeecode}/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getPictureEmployeeProfile"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"employeecode"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/member/face/{memberId}/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getFaceMember"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/image/member/picture/{memberId}/{fileid}"
:
{
"get"
:
{
"tags"
:
[
"image"
],
"operationId"
:
"getPictureMember"
,
"produces"
:
[
"image/jpeg"
],
"parameters"
:
[
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"fileid"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"404"
:
{
"description"
:
"image not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/member/default-timestamp/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"Member"
],
"summary"
:
"Get Default company for timestamp"
,
"description"
:
"Default Company for timestamp"
,
"operationId"
:
"getDefaultTimeStamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"description"
:
"memberId"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/MemberDefaultTimestamp"
}
},
"404"
:
{
"description"
:
"member not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
},
"put"
:
{
"tags"
:
[
"Member"
],
"summary"
:
"Save default timestamp"
,
"description"
:
"Save default timestamp member"
,
"operationId"
:
"saveDefaultTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"description"
:
"memberId"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/ActionResponseModel"
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/mobile/currenttime"
:
{
"get"
:
{
"tags"
:
[
"mobile device"
],
"summary"
:
"getCurrentTime Api"
,
"description"
:
"get current timestamp"
,
"operationId"
:
"getCurrentTime"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/CurrentTimeModel"
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/mobile/datahost"
:
{
"get"
:
{
"tags"
:
[
"mobile device"
],
"summary"
:
"LoadMemberDataForHost Api"
,
"description"
:
"Load all data about member login on mobile"
,
"operationId"
:
"loadMemberDataForHost"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/LoadMemberDataForHostRequestModel"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/LoadMemberDataForHostResponseModel"
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/news/get/{companyId}/{newsId}"
:
{
"get"
:
{
"tags"
:
[
"News"
],
"operationId"
:
"getNews"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"newsId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/news/list/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"News"
],
"summary"
:
"list"
,
"description"
:
"news list by company"
,
"operationId"
:
"getNewsLists"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"description"
:
"companyId"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/NewsModel"
}
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/news/new"
:
{
"post"
:
{
"tags"
:
[
"News"
],
"summary"
:
"create news"
,
"description"
:
"create news"
,
"operationId"
:
"createNews"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/NewsModel"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/ResponseState"
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/emp/{companyId}/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"summary"
:
"get timestamp employee by memberid"
,
"description"
:
"get timestamp employee last 30 day by memberid"
,
"operationId"
:
"getEmpTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampModel"
}
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/empfull-between-date/{companyId}/{memberId}/{startDate}/{endDate}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"getEmpfullTimeStampBetweenByMember"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"startDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"endDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/empfull/{companyId}/{memberId}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"summary"
:
"get timestamp employee with employee detail by memberid"
,
"description"
:
"get timestamp employee last 30 day with employee detail by memberid"
,
"operationId"
:
"getEmpfullTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/TimestampLogEmployeeModel"
}
},
"404"
:
{
"description"
:
"member not found"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/employee-between-date/{companyId}/{memberId}/{startDate}/{endDate}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"getTimeStampBetweenByMember"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"memberId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"startDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"endDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/last/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"getLastTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/log7/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"getLogTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampModel"
}
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/mobile"
:
{
"post"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"saveEmployeeTimestamp"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/EmployeeTimeStampRequestModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/timestamp/txt/between-date/{companyId}/{startDate}/{endDate}"
:
{
"get"
:
{
"tags"
:
[
"Timestamp"
],
"operationId"
:
"getTimeStampBetweenByMember"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"text/plain"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"startDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"endDate"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone"
:
{
"post"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"createZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/ZoneModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
},
"put"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"replaceZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/ZoneModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/get/{companyId}/{zoneId}"
:
{
"get"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"getZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"zoneId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/list/{companyId}"
:
{
"get"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"getZoneByCompanyId"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/regen"
:
{
"post"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"genEmployeeZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/GenEmployeeZoneModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/sync"
:
{
"post"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"syncEmployeeZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/GenEmployeeZoneModel"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/upload"
:
{
"post"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"upload"
,
"consumes"
:
[
"multipart/form-data"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"in"
:
"body"
,
"name"
:
"body"
,
"required"
:
false
,
"schema"
:
{
"$ref"
:
"#/definitions/MultipartFormDataInput"
}
}
],
"responses"
:
{
"default"
:
{
"description"
:
"successful operation"
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
},
"/zone/{companyId}/{zoneId}"
:
{
"delete"
:
{
"tags"
:
[
"Zone"
],
"operationId"
:
"deleteZone"
,
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"parameters"
:
[
{
"name"
:
"companyId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
},
{
"name"
:
"zoneId"
,
"in"
:
"path"
,
"required"
:
true
,
"type"
:
"string"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"successful operation"
,
"schema"
:
{
"$ref"
:
"#/definitions/ResponseState"
},
"headers"
:
{
}
}
},
"security"
:
[
{
"local"
:
[
]
}
]
}
}
},
"securityDefinitions"
:
{
"local"
:
{
"type"
:
"apiKey"
,
"name"
:
"Authorization"
,
"in"
:
"header"
}
},
"definitions"
:
{
"EmployeeFullModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"companyId"
:
{
"type"
:
"string"
},
"employeeCode"
:
{
"type"
:
"string"
},
"fullName"
:
{
"type"
:
"string"
},
"position"
:
{
"type"
:
"string"
},
"department"
:
{
"type"
:
"string"
},
"pictureUrl"
:
{
"type"
:
"string"
},
"faceUrl"
:
{
"type"
:
"string"
},
"tel"
:
{
"type"
:
"string"
},
"email"
:
{
"type"
:
"string"
},
"startwork"
:
{
"type"
:
"string"
},
"birthday"
:
{
"type"
:
"string"
},
"branch"
:
{
"type"
:
"string"
},
"firstName"
:
{
"type"
:
"string"
},
"lastName"
:
{
"type"
:
"string"
},
"sex"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"idPeople"
:
{
"type"
:
"string"
},
"passportNo"
:
{
"type"
:
"string"
},
"employeeType"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"nationality"
:
{
"type"
:
"string"
},
"lagacyCode"
:
{
"type"
:
"string"
},
"bossModel"
:
{
"$ref"
:
"#/definitions/EmployeeFullModel"
}
}
},
"EmployeeModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"companyId"
:
{
"type"
:
"string"
},
"employeeCode"
:
{
"type"
:
"string"
},
"fullName"
:
{
"type"
:
"string"
},
"position"
:
{
"type"
:
"string"
},
"department"
:
{
"type"
:
"string"
},
"pictureUrl"
:
{
"type"
:
"string"
},
"faceUrl"
:
{
"type"
:
"string"
},
"tel"
:
{
"type"
:
"string"
},
"bossModel"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
}
}
},
"EmployeeCommonModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"companyId"
:
{
"type"
:
"string"
},
"employeeCode"
:
{
"type"
:
"string"
},
"departmentName"
:
{
"type"
:
"string"
},
"positionName"
:
{
"type"
:
"string"
},
"firstName"
:
{
"type"
:
"string"
},
"lastName"
:
{
"type"
:
"string"
},
"facePictureFileName"
:
{
"type"
:
"string"
},
"profilePictureFileName"
:
{
"type"
:
"string"
},
"bossMajorName"
:
{
"type"
:
"string"
},
"branchId"
:
{
"type"
:
"string"
},
"branchName"
:
{
"type"
:
"string"
},
"profilePicture"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"faceTemplate"
:
{
"$ref"
:
"#/definitions/FaceTemplateCommonModel"
},
"timeStampCriteriaList"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampCriteriaResponseModel"
}
},
"checkWarning"
:
{
"type"
:
"boolean"
,
"default"
:
false
}
}
},
"TimestampLogEmployeeModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"employee"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
},
"timestamps"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TimeStampModel"
}
}
}
},
"MemberDefaultTimestamp"
:
{
"type"
:
"object"
,
"properties"
:
{
"keyTimeStamp"
:
{
"type"
:
"string"
}
}
},
"NewEmployeeRequestModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"email"
:
{
"type"
:
"string"
},
"picture"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"pictureName"
:
{
"type"
:
"string"
},
"firstname"
:
{
"type"
:
"string"
},
"lastname"
:
{
"type"
:
"string"
},
"mobile"
:
{
"type"
:
"string"
},
"sex"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"password"
:
{
"type"
:
"string"
},
"birthdate"
:
{
"type"
:
"string"
},
"citizenId"
:
{
"type"
:
"string"
},
"passport"
:
{
"type"
:
"string"
},
"position"
:
{
"type"
:
"string"
},
"department"
:
{
"type"
:
"string"
},
"branchId"
:
{
"type"
:
"string"
},
"bossMajor"
:
{
"type"
:
"string"
},
"lagacycode"
:
{
"type"
:
"string"
}
}
},
"ActionResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"success"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"message"
:
{
"type"
:
"string"
},
"statusCode"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
}
}
},
"LoginRequest"
:
{
"type"
:
"object"
,
"properties"
:
{
"userName"
:
{
"type"
:
"string"
},
"passWord"
:
{
"type"
:
"string"
}
}
},
"BranchModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"branchId"
:
{
"type"
:
"string"
},
"tdesc"
:
{
"type"
:
"string"
},
"edesc"
:
{
"type"
:
"string"
}
}
},
"CompanyCommonModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"commonId"
:
{
"type"
:
"string"
},
"commonName"
:
{
"type"
:
"string"
},
"commonType"
:
{
"type"
:
"string"
}
}
},
"RegisterRequestModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"firstName"
:
{
"type"
:
"string"
},
"lastName"
:
{
"type"
:
"string"
},
"mobileNumber"
:
{
"type"
:
"string"
},
"sex"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"email"
:
{
"type"
:
"string"
},
"password"
:
{
"type"
:
"string"
},
"birthDate"
:
{
"type"
:
"string"
},
"idCard"
:
{
"type"
:
"string"
},
"passportNo"
:
{
"type"
:
"string"
},
"nationality"
:
{
"type"
:
"string"
},
"profilePhoto"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"faceTemplate"
:
{
"$ref"
:
"#/definitions/FaceTemplateCommonModel"
},
"deviceNo"
:
{
"type"
:
"string"
},
"deviceName"
:
{
"type"
:
"string"
},
"pushInstanceToken"
:
{
"type"
:
"string"
}
}
},
"LoadMemberDataForHostRequestModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"deviceId"
:
{
"type"
:
"string"
},
"deviceName"
:
{
"type"
:
"string"
},
"pushInstanceToken"
:
{
"type"
:
"string"
}
}
},
"NewsModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"newsId"
:
{
"type"
:
"string"
},
"topic"
:
{
"type"
:
"string"
},
"image_url"
:
{
"type"
:
"string"
},
"source_url"
:
{
"type"
:
"string"
},
"detail"
:
{
"type"
:
"string"
},
"createBy"
:
{
"type"
:
"string"
},
"createName"
:
{
"type"
:
"string"
},
"createDatetime"
:
{
"type"
:
"string"
}
}
},
"MemberResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"firstName"
:
{
"type"
:
"string"
},
"lastName"
:
{
"type"
:
"string"
},
"email"
:
{
"type"
:
"string"
},
"mobileNumber"
:
{
"type"
:
"string"
},
"idCard"
:
{
"type"
:
"string"
},
"sex"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"birthDate"
:
{
"type"
:
"string"
},
"passportNo"
:
{
"type"
:
"string"
},
"nationality"
:
{
"type"
:
"string"
},
"profilePhotoFileName"
:
{
"type"
:
"string"
},
"enrollPhotoFileName"
:
{
"type"
:
"string"
},
"password"
:
{
"type"
:
"string"
},
"faceTemplate"
:
{
"$ref"
:
"#/definitions/FaceTemplateCommonModel"
}
}
},
"InputPart"
:
{
"type"
:
"object"
,
"properties"
:
{
"mediaType"
:
{
"$ref"
:
"#/definitions/MediaType"
},
"headers"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
}
},
"bodyAsString"
:
{
"type"
:
"string"
},
"contentTypeFromMessage"
:
{
"type"
:
"boolean"
,
"default"
:
false
}
}
},
"ZoneModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"zoneId"
:
{
"type"
:
"string"
},
"zoneName"
:
{
"type"
:
"string"
},
"detail"
:
{
"type"
:
"string"
},
"image"
:
{
"type"
:
"string"
},
"imageUrl"
:
{
"type"
:
"string"
},
"old_image"
:
{
"type"
:
"string"
}
}
},
"CurrentTimeModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"currentTime"
:
{
"type"
:
"string"
}
}
},
"ResponseState"
:
{
"type"
:
"object"
,
"properties"
:
{
"success"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"message"
:
{
"type"
:
"string"
},
"resultObject"
:
{
"type"
:
"object"
}
}
},
"TimeStampCommonModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"timeStampImage"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"stampFileName"
:
{
"type"
:
"string"
},
"dateTimeMilliSecond"
:
{
"type"
:
"integer"
,
"format"
:
"int64"
},
"swipeType"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"swipeDate"
:
{
"type"
:
"string"
},
"swipeTime"
:
{
"type"
:
"string"
},
"lat"
:
{
"type"
:
"string"
},
"lng"
:
{
"type"
:
"string"
},
"mobile"
:
{
"type"
:
"string"
},
"dayType"
:
{
"type"
:
"string"
},
"errorType"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"remark"
:
{
"type"
:
"string"
},
"sourceType"
:
{
"type"
:
"string"
},
"stampFlag"
:
{
"type"
:
"string"
},
"timeStampType"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"deviceId"
:
{
"type"
:
"string"
},
"authenBy"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"reason"
:
{
"type"
:
"string"
},
"timeStampStatus"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"swipedatetime"
:
{
"type"
:
"string"
}
}
},
"MediaType"
:
{
"type"
:
"object"
,
"properties"
:
{
"type"
:
{
"type"
:
"string"
},
"subtype"
:
{
"type"
:
"string"
},
"parameters"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"string"
}
},
"wildcardType"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"wildcardSubtype"
:
{
"type"
:
"boolean"
,
"default"
:
false
}
}
},
"LoginResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"success"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"statusType"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"currentDatetime"
:
{
"type"
:
"string"
},
"member"
:
{
"$ref"
:
"#/definitions/MemberResponseModel"
},
"token"
:
{
"type"
:
"string"
}
}
},
"GenEmployeeZoneModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"genAll"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"companyId"
:
{
"type"
:
"string"
},
"zoneId"
:
{
"type"
:
"string"
}
}
},
"LoginResponse"
:
{
"type"
:
"object"
,
"properties"
:
{
"token"
:
{
"type"
:
"string"
},
"memberId"
:
{
"type"
:
"string"
},
"fullName"
:
{
"type"
:
"string"
},
"companys"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/CompanyMiniModel"
}
},
"success"
:
{
"type"
:
"boolean"
,
"default"
:
false
}
}
},
"EmployeeTimeStampRequestModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"memberId"
:
{
"type"
:
"string"
},
"companyId"
:
{
"type"
:
"string"
},
"employeeCode"
:
{
"type"
:
"string"
},
"branchId"
:
{
"type"
:
"string"
},
"locationName"
:
{
"type"
:
"string"
},
"deviceNo"
:
{
"type"
:
"string"
},
"timeStamp"
:
{
"$ref"
:
"#/definitions/TimeStampCommonModel"
}
}
},
"CompanyProfileModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"companyName"
:
{
"type"
:
"string"
},
"companyCode"
:
{
"type"
:
"string"
},
"ownerModel"
:
{
"$ref"
:
"#/definitions/EmployeeModel"
},
"pictureCompanyUrl"
:
{
"type"
:
"string"
},
"qrCodeUrl"
:
{
"type"
:
"string"
},
"radius"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"website"
:
{
"type"
:
"string"
},
"suggestion"
:
{
"type"
:
"string"
}
}
},
"LoadMemberDataForHostResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"member"
:
{
"$ref"
:
"#/definitions/MemberResponseModel"
},
"myCompanyList"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/MyCompanyResponseModel"
}
},
"keyTimeStamp"
:
{
"type"
:
"string"
}
}
},
"CompanyMiniModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"companyName"
:
{
"type"
:
"string"
},
"pictureUrl"
:
{
"type"
:
"string"
},
"branchId"
:
{
"type"
:
"string"
},
"branchName"
:
{
"type"
:
"string"
}
}
},
"TimeStampModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"memberId"
:
{
"type"
:
"string"
},
"fullName"
:
{
"type"
:
"string"
},
"employeeCode"
:
{
"type"
:
"string"
},
"swipeDatetime"
:
{
"type"
:
"string"
},
"swipeType"
:
{
"type"
:
"string"
},
"authenBy"
:
{
"type"
:
"string"
},
"latitude"
:
{
"type"
:
"string"
},
"longitude"
:
{
"type"
:
"string"
},
"pictureUrl"
:
{
"type"
:
"string"
}
}
},
"LoginRequestModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"username"
:
{
"type"
:
"string"
},
"password"
:
{
"type"
:
"string"
},
"birthDate"
:
{
"type"
:
"string"
},
"deviceNo"
:
{
"type"
:
"string"
},
"deviceName"
:
{
"type"
:
"string"
}
}
},
"FaceTemplateCommonModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"eyesTemplate1"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"eyesTemplate2"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"eyesTemplate3"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"facialTemplate1"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"facialTemplate2"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"facialTemplate3"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"enrollPhoto"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"byte"
}
},
"enrollPhotoFileName"
:
{
"type"
:
"string"
},
"eyesTemplate1FileName"
:
{
"type"
:
"string"
},
"eyesTemplate2FileName"
:
{
"type"
:
"string"
},
"eyesTemplate3FileName"
:
{
"type"
:
"string"
},
"facialTemplate1FileName"
:
{
"type"
:
"string"
},
"facialTemplate2FileName"
:
{
"type"
:
"string"
},
"facialTemplate3FileName"
:
{
"type"
:
"string"
}
}
},
"TimeStampCriteriaResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"latitude"
:
{
"type"
:
"string"
},
"longitude"
:
{
"type"
:
"string"
},
"mode"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
},
"lineNo"
:
{
"type"
:
"string"
}
}
},
"MultipartFormDataInput"
:
{
"type"
:
"object"
,
"properties"
:
{
"formDataMap"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/InputPart"
}
}
},
"formData"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"$ref"
:
"#/definitions/InputPart"
}
},
"parts"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/InputPart"
}
},
"preamble"
:
{
"type"
:
"string"
}
}
},
"MyCompanyResponseModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"companyName"
:
{
"type"
:
"string"
},
"allowTimeStampRadiusMeter"
:
{
"type"
:
"number"
,
"format"
:
"double"
},
"self"
:
{
"$ref"
:
"#/definitions/EmployeeCommonModel"
},
"subordinateList"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EmployeeCommonModel"
}
},
"locationList"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/CompanyLocationCommonModel"
}
}
}
},
"EmployeeZoneModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"zoneId"
:
{
"type"
:
"string"
},
"memberId"
:
{
"type"
:
"string"
},
"createDatetime"
:
{
"type"
:
"string"
},
"createBy"
:
{
"type"
:
"string"
}
}
},
"CompanyLocationCommonModel"
:
{
"type"
:
"object"
,
"properties"
:
{
"companyId"
:
{
"type"
:
"string"
},
"locationNo"
:
{
"type"
:
"string"
},
"locationName"
:
{
"type"
:
"string"
},
"lat"
:
{
"type"
:
"string"
},
"lng"
:
{
"type"
:
"string"
},
"locationStatus"
:
{
"type"
:
"integer"
,
"format"
:
"int32"
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment