# 出勤參數

查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。

## 取得班別工作時間檔

> \`\`\`\
> shift\_worktime = {\
> &#x20; "CO\_ID": number,      //公司\_ID\
> &#x20; "SHIFT\_ID": number,   //班別\_ID\
> &#x20; "WEEKDAY": number,    //星期別\
> &#x20; "DATA\_TYPE": string,  //資料類別\
> &#x20; "STIME":date,         //時間起\
> &#x20; "ETIME":date,         //時間迄\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/shift_worktime":{"post":{"tags":["出勤參數"],"summary":"取得班別工作時間檔","description":"```\nshift_worktime = {\n  \"CO_ID\": number,      //公司_ID\n  \"SHIFT_ID\": number,   //班別_ID\n  \"WEEKDAY\": number,    //星期別\n  \"DATA_TYPE\": string,  //資料類別\n  \"STIME\":date,         //時間起\n  \"ETIME\":date,         //時間迄\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID","SHIFT_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"},"SHIFT_ID":{"type":"integer","description":"班別ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [shift_worktime, shift_worktime, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得行事曆類別

> \`\`\`\
> calendar\_leave = {\
> &#x20; "CALENDAR\_LEAVE\_ID": number,  //行事曆別\_ID\
> &#x20; "LEAVE\_NAME": string,         //行事曆別名稱\
> &#x20; "LEAVE\_NAME\_JSON": boject,    //行事曆別名稱\_JSON\
> &#x20; "LEAVE\_NAME\_COLOR": string,   //行事曆填滿顏色\
> &#x20; "TEXT\_COLOR": string,         //行事曆文字顏色\
> &#x20; "SORT\_ORDER": number,         //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/calendar_leave":{"post":{"tags":["出勤參數"],"summary":"取得行事曆類別","description":"```\ncalendar_leave = {\n  \"CALENDAR_LEAVE_ID\": number,  //行事曆別_ID\n  \"LEAVE_NAME\": string,         //行事曆別名稱\n  \"LEAVE_NAME_JSON\": boject,    //行事曆別名稱_JSON\n  \"LEAVE_NAME_COLOR\": string,   //行事曆填滿顏色\n  \"TEXT_COLOR\": string,         //行事曆文字顏色\n  \"SORT_ORDER\": number,         //排序\n},\n```\n","responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [calendar_leave, calendar_leave, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得行事曆基本資料

> \`\`\`\
> calendar\_basic = {\
> &#x20; "CALENDAR\_BASIC\_ID": number,//行事曆基本檔\_ID\
> &#x20; "CO\_ID": number,//公司\_ID\
> &#x20; "CALENDAR\_CODE": string,//行事曆代碼\
> &#x20; "CALENDAR\_NAME": string,//行事曆名稱\
> &#x20; "CALENDAR\_NAME\_JSON": boject,//行事曆別名稱\_JSON\
> &#x20; "IS\_ACT": number,//使用狀態\
> &#x20; "SORT\_ORDER": number,//排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/calendar_basic":{"post":{"tags":["出勤參數"],"summary":"取得行事曆基本資料","description":"```\ncalendar_basic = {\n  \"CALENDAR_BASIC_ID\": number,//行事曆基本檔_ID\n  \"CO_ID\": number,//公司_ID\n  \"CALENDAR_CODE\": string,//行事曆代碼\n  \"CALENDAR_NAME\": string,//行事曆名稱\n  \"CALENDAR_NAME_JSON\": boject,//行事曆別名稱_JSON\n  \"IS_ACT\": number,//使用狀態\n  \"SORT_ORDER\": number,//排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [calendar_basic, calendar_basic, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得行事曆日檔

> \`\`\`\
> calendar\_day = {\
> &#x20; "CO\_ID": number,//公司\_ID\
> &#x20; "CALENDAR\_BASIC\_ID": number,//行事曆基本檔\_ID\
> &#x20; "CALENDAR\_DATE":date,//行事曆日期\
> &#x20; "CALENDAR\_WEEK": number,//星期\
> &#x20; "CALENDAR\_LEAVE\_ID": number,//行事曆別\_ID\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/calendar_day":{"post":{"tags":["出勤參數"],"summary":"取得行事曆日檔","description":"```\ncalendar_day = {\n  \"CO_ID\": number,//公司_ID\n  \"CALENDAR_BASIC_ID\": number,//行事曆基本檔_ID\n  \"CALENDAR_DATE\":date,//行事曆日期\n  \"CALENDAR_WEEK\": number,//星期\n  \"CALENDAR_LEAVE_ID\": number,//行事曆別_ID\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID","CALENDAR_BASIC_ID","CALENDAR_YEAR"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"},"CALENDAR_BASIC_ID":{"type":"integer","description":"行事曆基本檔ID"},"CALENDAR_YEAR":{"type":["string","date"],"description":"行事曆年度"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [calendar_day, calendar_day, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得班別代碼

> \`\`\`\
> shift = {\
> &#x20; "SHIFT\_ID": number,               //班別\_ID\
> &#x20; "CO\_ID": number,                  //公司\_ID\
> &#x20; "SHIFT\_CODE": string,             //班別代碼\
> &#x20; "SHIFT\_NAME": string,             //班別名稱\
> &#x20; "SHIFT\_NAME\_JSON": boject,        //班別名稱\_JSON\
> &#x20; "SHIFT\_ABBR\_NAME": string,        //班別簡稱\
> &#x20; "SHIFT\_ABBR\_NAME\_JSON": boject,   //班別簡稱\_JSON\
> &#x20; "IS\_FIX\_SHIFT": number,           //是否為固定班用途\
> &#x20; "IS\_SA\_SHIFT": number,            //是否為排班用途\
> &#x20; "SHIFT\_WORK\_HOUR": number,        //班別實際工時\
> &#x20; "IS\_ACT": number,                 //使用狀態\
> &#x20; "SORT\_ORDER": number,             //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/shift":{"post":{"tags":["出勤參數"],"summary":"取得班別代碼","description":"```\nshift = {\n  \"SHIFT_ID\": number,               //班別_ID\n  \"CO_ID\": number,                  //公司_ID\n  \"SHIFT_CODE\": string,             //班別代碼\n  \"SHIFT_NAME\": string,             //班別名稱\n  \"SHIFT_NAME_JSON\": boject,        //班別名稱_JSON\n  \"SHIFT_ABBR_NAME\": string,        //班別簡稱\n  \"SHIFT_ABBR_NAME_JSON\": boject,   //班別簡稱_JSON\n  \"IS_FIX_SHIFT\": number,           //是否為固定班用途\n  \"IS_SA_SHIFT\": number,            //是否為排班用途\n  \"SHIFT_WORK_HOUR\": number,        //班別實際工時\n  \"IS_ACT\": number,                 //使用狀態\n  \"SORT_ORDER\": number,             //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [shift, shift, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得假勤項目代碼

> \`\`\`\
> leaveitem = {\
> &#x20; "LEAVEITEM\_ID": number,       //假勤項目\_ID\
> &#x20; "CO\_ID": number,              //公司\_ID\
> &#x20; "LEAVEITEM\_CODE":string,      //假勤項目代碼\
> &#x20; "LEAVEITEM\_NAME":string,      //假勤項目名稱\
> &#x20; "LEAVEITEM\_NAME\_JSON":boject, //假勤項目名稱\_JSON\
> &#x20; "SPECIFIC\_CODE":string,       //特定代碼\
> &#x20; "UNIT":string,                //假勤單位\
> &#x20; "UNIT\_VALUE": number,         //假勤單位(數值)\
> &#x20; "PERIOD\_TYPE":string,         //計算期間(種類)\
> &#x20; "SORT\_ORDER": number,         //排序\
> &#x20; "IS\_ACT": number,             //使用狀態\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/leaveitem":{"post":{"tags":["出勤參數"],"summary":"取得假勤項目代碼","description":"```\nleaveitem = {\n  \"LEAVEITEM_ID\": number,       //假勤項目_ID\n  \"CO_ID\": number,              //公司_ID\n  \"LEAVEITEM_CODE\":string,      //假勤項目代碼\n  \"LEAVEITEM_NAME\":string,      //假勤項目名稱\n  \"LEAVEITEM_NAME_JSON\":boject, //假勤項目名稱_JSON\n  \"SPECIFIC_CODE\":string,       //特定代碼\n  \"UNIT\":string,                //假勤單位\n  \"UNIT_VALUE\": number,         //假勤單位(數值)\n  \"PERIOD_TYPE\":string,         //計算期間(種類)\n  \"SORT_ORDER\": number,         //排序\n  \"IS_ACT\": number,             //使用狀態\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [leaveitem, leaveitem, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得出差地點代碼

> \`\`\`\
> bizArea = {\
> &#x20; "BIZ\_AREA\_ID": number,       //出差地點\_ID\
> &#x20; "CO\_ID": number,             //公司\_ID\
> &#x20; "AREA\_CODE": string,         //出差地點代碼\
> &#x20; "AREA\_NAME": string,         //出差地點名稱\
> &#x20; "AREA\_NAME\_JSON": boject,    //出差地點名稱\_JSON\
> &#x20; "IS\_ACT": number,            //使用狀態\
> &#x20; "SORT\_ORDER": number,        //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"499":{"description":"DB錯誤 `{ code: 499, msg: string }`"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/biz_area":{"post":{"tags":["出勤參數"],"summary":"取得出差地點代碼","description":"```\nbizArea = {\n  \"BIZ_AREA_ID\": number,       //出差地點_ID\n  \"CO_ID\": number,             //公司_ID\n  \"AREA_CODE\": string,         //出差地點代碼\n  \"AREA_NAME\": string,         //出差地點名稱\n  \"AREA_NAME_JSON\": boject,    //出差地點名稱_JSON\n  \"IS_ACT\": number,            //使用狀態\n  \"SORT_ORDER\": number,        //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [bizArea, bizArea, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"499":{"$ref":"#/components/responses/499"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得出差性質代碼

> \`\`\`\
> bizProperty = {\
> &#x20; "BIZ\_PROPERTY\_ID": number,       //出差性質\_ID\
> &#x20; "CO\_ID": number,                 //公司\_ID\
> &#x20; "PROPERTY\_CODE": string,         //出差性質代碼\
> &#x20; "PROPERTY\_NAME": string,         //出差性質名稱\
> &#x20; "PROPERTY\_NAME\_JSON": boject,    //出差性質名稱\_JSON\
> &#x20; "IS\_ACT": number,                //使用狀態\
> &#x20; "SORT\_ORDER": number,            //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"499":{"description":"DB錯誤 `{ code: 499, msg: string }`"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/biz_property":{"post":{"tags":["出勤參數"],"summary":"取得出差性質代碼","description":"```\nbizProperty = {\n  \"BIZ_PROPERTY_ID\": number,       //出差性質_ID\n  \"CO_ID\": number,                 //公司_ID\n  \"PROPERTY_CODE\": string,         //出差性質代碼\n  \"PROPERTY_NAME\": string,         //出差性質名稱\n  \"PROPERTY_NAME_JSON\": boject,    //出差性質名稱_JSON\n  \"IS_ACT\": number,                //使用狀態\n  \"SORT_ORDER\": number,            //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [bizProperty, bizProperty, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"499":{"$ref":"#/components/responses/499"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得委辦事項代碼

> \`\`\`\
> bizTodo = {\
> &#x20; "BIZ\_TODO\_ID": number,           //委辦事項\_ID\
> &#x20; "CO\_ID": number,                 //公司\_ID\
> &#x20; "TODO\_CODE": string,             //委辦事項代碼\
> &#x20; "TODO\_NAME": string,             //委辦事項名稱\
> &#x20; "TODO\_NAME\_JSON": boject,        //委辦事項名稱\_JSON\
> &#x20; "IS\_ACT": number,                //使用狀態\
> &#x20; "SORT\_ORDER": number,            //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"499":{"description":"DB錯誤 `{ code: 499, msg: string }`"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/biz_todo":{"post":{"tags":["出勤參數"],"summary":"取得委辦事項代碼","description":"```\nbizTodo = {\n  \"BIZ_TODO_ID\": number,           //委辦事項_ID\n  \"CO_ID\": number,                 //公司_ID\n  \"TODO_CODE\": string,             //委辦事項代碼\n  \"TODO_NAME\": string,             //委辦事項名稱\n  \"TODO_NAME_JSON\": boject,        //委辦事項名稱_JSON\n  \"IS_ACT\": number,                //使用狀態\n  \"SORT_ORDER\": number,            //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [bizTodo, bizTodo, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"499":{"$ref":"#/components/responses/499"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得交通工具代碼

> \`\`\`\
> bizTrans = {\
> &#x20; "BIZ\_TRANS\_ID": number,          //交通工具\_ID\
> &#x20; "CO\_ID": number,                 //公司\_ID\
> &#x20; "TRANS\_CODE": string,            //交通工具代碼\
> &#x20; "TRANS\_NAME": string,            //交通工具名稱\
> &#x20; "TRANS\_NAME\_JSON": boject,       //交通工具名稱\_JSON\
> &#x20; "IS\_ACT": number,                //使用狀態\
> &#x20; "SORT\_ORDER": number,            //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"出勤參數","description":"查詢出勤相關的參數代碼，包括：班別代碼查詢、假勤項目代碼查詢、出差地點代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"499":{"description":"DB錯誤 `{ code: 499, msg: string }`"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/am/biz_trans":{"post":{"tags":["出勤參數"],"summary":"取得交通工具代碼","description":"```\nbizTrans = {\n  \"BIZ_TRANS_ID\": number,          //交通工具_ID\n  \"CO_ID\": number,                 //公司_ID\n  \"TRANS_CODE\": string,            //交通工具代碼\n  \"TRANS_NAME\": string,            //交通工具名稱\n  \"TRANS_NAME_JSON\": boject,       //交通工具名稱_JSON\n  \"IS_ACT\": number,                //使用狀態\n  \"SORT_ORDER\": number,            //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [bizTrans, bizTrans, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"499":{"$ref":"#/components/responses/499"},"500":{"$ref":"#/components/responses/500"}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://104ha-docs.gitbook.io/104-ha-openapi/clients/104-hr-max/chu-qin-can-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
