Skip to content

Instantly share code, notes, and snippets.

@sugimomoto
Created August 13, 2020 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sugimomoto/f401a9da0b2ab8882eb2c945ed5bfcfb to your computer and use it in GitHub Desktop.
Save sugimomoto/f401a9da0b2ab8882eb2c945ed5bfcfb to your computer and use it in GitHub Desktop.
Postman Collection for KING OF TIME API
{
"info": {
"_postman_id": "56c4abe2-794a-4136-bbe7-c6313f0c2140",
"name": "KING OF TIME",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "企業情報データを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/company",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"company"
]
}
},
"response": []
},
{
"name": "管理者データの一覧を取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/administrators",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"administrators"
]
}
},
"response": []
},
{
"name": "従業員データの一覧を取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/employees",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"employees"
]
}
},
"response": []
},
{
"name": "指定した従業員のデータを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/employees/1000",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"employees",
"1000"
]
}
},
"response": []
},
{
"name": "所属のデータを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/divisions",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"divisions"
]
}
},
"response": []
},
{
"name": "雇用区分のデータを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/working-types",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"working-types"
]
}
},
"response": []
},
{
"name": "日別勤務データの一覧を取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/daily-workings",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"daily-workings"
]
}
},
"response": []
},
{
"name": "日別打刻データの一覧を取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/daily-workings/timerecord",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"daily-workings",
"timerecord"
]
}
},
"response": []
},
{
"name": "指定した年月日の日別勤務データを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/daily-workings/2020-08-11",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"daily-workings",
"2020-08-11"
]
}
},
"response": []
},
{
"name": "指定した年月日の日別打刻データを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/daily-workings/timerecord/2020-08-11",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"daily-workings",
"timerecord",
"2020-08-11"
]
}
},
"response": []
},
{
"name": "指定した年月の月別勤務データを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/monthly-workings",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"monthly-workings"
]
}
},
"response": []
},
{
"name": "指定した年月のスケジュール申請データを取得",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AccessToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://api.kingtime.jp/v1.0/requests/schedules/2020-08",
"protocol": "https",
"host": [
"api",
"kingtime",
"jp"
],
"path": [
"v1.0",
"requests",
"schedules",
"2020-08"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "c9582b90-bc08-4130-9198-3ea4b84f8372",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "8157057a-e637-4f44-9ef5-4928b236f611",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"id": "004de669-99df-482f-b2b5-478e231158f2",
"key": "AccessToken",
"value": "XXXXXXXXXXX"
}
],
"protocolProfileBehavior": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment