Senju Service Manager では、Senju Service Manager のデータにアクセス可能な WEBAPI を提供します。
Senju Service Manager のデータにアクセス可能な WEBAPI を API 連携機能と表現します。
API 連携機能は、WEB サーバーApache と Python で作成された WEB アプリケーションで構成されます。
Senju Service Manager の API は、以下の方式で認証・認可を行います。
注意:認証方式が「SSM 基本認証」のユーザーのみがアクセストークンを発行できます。
Senju Service Manager ログイン時の認証を行い、認証に成功した場合はアクセストークン・リフレッシュトークンを発行します。
cURL を使用する場合のコマンド例を以下に記載します。
curl -X POST \
https://localhost:49152/auth/login \
-H 'Content-Type: application/json' \
-d '{"username":"<ユーザーID>","password":"<パスワード>"}'注意:windows上でcURLを実行する場合は、以下のように読み替えてください。
curl -X POST \
https://localhost:49152/auth/login \
-H "Content-Type: application/json" \
-d "{\"username\":\"<ユーザーID>\",\"password\":\"<パスワード>\"}"認証が成功した場合、アクセストークン・リフレッシュトークンが JSON 形式で返却されます。
{
"access_token": "<アクセストークン>",
"refresh_token": "<リフレッシュトークン>"
}アクセストークン・リフレッシュトークンは Senju Service Manager の API 実行時にリクエストヘッダに指定するため、クライアントで管理する必要があります。
アクセストークンの有効期限が切れた場合、アクセストークン更新APIでアクセストークンを更新する必要があります。
以下のリクエストを送信することにより、アクセストークンを更新できます。
POST メソッドを指定しますhttps://localhost:49152/auth/refresh を指定しますAuthorization ヘッダーに Bearer 方式でリフレッシュトークンを指定しますcurl -X POST \
https://localhost:49152/auth/refresh \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <リフレッシュトークン>'アクセストークンの更新が成功した場合、更新後のアクセストークンが JSON 形式で返却されます。
{
"access_token": "<アクセストークン>"
}注意:
有効期限内のアクセストークンを手動で無効化する場合は、アクセストークン無効化APIを利用します。
以下のリクエストを送信することにより、アクセストークンを無効化できます。
DELETE メソッドを指定しますhttps://localhost:49152/auth/revoke_access を指定しますAuthorization ヘッダーに Bearer 方式でアクセストークンを指定しますcurl -X DELETE \
https://localhost:49152/auth/revoke_access \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <リフレッシュトークン>'アクセストークンの無効化が成功した場合、以下のレスポンスが JSON 形式で返却されます。
{
"message": "access_token revoked"
}有効期限内のリフレッシュトークンを手動で無効化する場合は、リフレッシュトークン無効化APIを利用します。
以下のリクエストを送信することにより、リフレッシュトークンを無効化できます。
DELETE メソッドを指定するhttps://localhost:49152/auth/revoke_refresh を指定するAuthorization ヘッダーに Bearer 方式でリフレッシュトークンを指定するcurl -X DELETE \
https://localhost:49152/auth/revoke_refresh \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <リフレッシュトークン>'リフレッシュトークンの無効化が成功した場合、以下のレスポンスが JSON 形式で返却されます。
{
"message": "refresh_token revoked"
}Senju Service Manager の API でエラー発生時、エラー情報がjson形式のレスポンスとして返却されます。
{
"message": "<メッセージ>, path=<エラー発生箇所>"
}レスポンスボディの path 以降の内容は、リクエストボディの JSON に不備があった場合のみ出力されます。
path以降の内容は下記のように出力されます。
{
"message": "[] is too short, path=deque(['users', 0, 'account_data', 'group_list'])"
} 認証方式が「SSM 基本認証」のユーザーのみがアクセストークンを発行することができます。
基本認証情報
| username required | string ユーザーID |
| password required | string パスワード |
{- "username": "string",
- "password": "string"
}{- "access_token": "string",
- "refresh_token": "string"
}{- "message": "string"
}{- "message": "string"
}Senju Service Manager にユーザーの情報を新規登録します。
有効 のユーザーにのみ行われます。無効 のユーザーには上限はありません。Senju Service Manager のユーザーマスタ管理画面で、ユーザー情報を新規登録する権限が必要です。
登録するユーザー情報
required | Array of objects (UserPost) |
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 1,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 1
}
}
]
}{- "message": "string",
- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に登録されている全てのユーザーの情報を取得します。
Senju Service Manager のユーザーマスタ管理画面で、ユーザー情報を参照する権限が必要です。
curl -X GET 'http://localhost:49152/api/users/user001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に登録されているユーザーの情報を更新します。
有効 のユーザーにのみ行われます。無効 のユーザーには上限はありません。無効 から 有効 に変更したSenju Service Manager のユーザーマスタ管理画面で、ユーザー情報を更新する権限が必要です。
更新するユーザー情報
required | Array of objects (UserPutList) |
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}{- "message": "string",
- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に登録されているユーザーの情報を取得します。
Senju Service Manager のユーザーマスタ管理画面で、ユーザー情報を参照する権限が必要です。
| account_id required | string ユーザーID |
curl -X GET 'http://localhost:49152/api/users/user001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に登録されているユーザーの情報を更新します。
Senju Service Manager のユーザーマスタ管理画面で、ユーザー情報を更新する権限が必要です。
| account_id required | string ユーザーID |
更新するユーザー情報
required | Array of objects (UserPut) |
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}{- "message": "string",
- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に登録されているユーザーの情報を削除します。
Senju Service Manager のユーザーマスタ管理画面で、ユーザー情報を削除する権限が必要です。
| account_id required | string ユーザーID |
curl -X DELETE 'http://localhost:49152/api/users/user001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "users": [
- {
- "account_data": {
- "account_id": "string",
- "authentication_method": 1,
- "password": "string",
- "authentication_setting_name": "string",
- "group_list": [
- "string"
], - "status": 0,
- "display_policy": "string",
- "account_license_type": 1,
- "agency_user_list": [
- "string"
], - "team_and_role_list": [
- {
- "team": "string",
- "role": [
- "string"
]
}
], - "authority_filter": 0,
- "authority_filter_common_list": [
- "string"
], - "authority_filter_system_list": [
- {
- "system": "string",
- "authority": [
- "string"
]
}
]
}, - "personnel_data": {
- "disp_user": "string",
- "user_name": "string",
- "user_name_kana": "string",
- "company": "string",
- "organization": "string",
- "post_name": "string",
- "superior_user": "string",
- "work_contents": "string",
- "tel": [
- {
- "tel_type": 1,
- "number": "string"
}
], - "email": [
- {
- "email_type": 1,
- "address": "string"
}
], - "remark": "string",
- "display_sequence": "string",
- "system_and_duty_list": [
- {
- "system": "string",
- "duty": [
- "string"
]
}
], - "display": 0
}
}
]
}Senju Service Manager に会社の情報を新規登録します。
Senju Service Manager の会社マスタ管理画面で、会社情報を新規登録する権限が必要です。
登録する会社情報
| target_system_name required | string <= 60 characters 対象システム名
|
| company_name required | string <= 60 characters 会社名 |
| company_name_kana required | string <= 60 characters 会社カナ |
| company_short_name | string <= 60 characters 会社略称 |
| color | string <= 30 characters Default: "Black" 色
|
| disp_seq | string <= 8 characters 表示順 |
| company_url | string <= 500 characters 会社URL |
[- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]{- "message": "string",
- "companies": [
- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]
}Senju Service Manager に登録されている会社の情報を取得します。
Senju Service Manager の会社マスタ管理画面で、会社情報を参照する権限が必要です。
API実行ユーザーに権限フィルタが設定されている場合、メンテナンス権限(システム別)が付与されたシステムに紐づく会社のみが表示されます。
curl -X GET 'http://localhost:49152/api/companies/0000000000000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
[- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]Senju Service Manager に登録されている会社の情報を更新します。 - 会社マスタ登録画面と同等の情報を更新することができます。 - 複数会社を一度に更新することができます。 - 処理の途中でエラーが発生した場合、API 実行前の状態にロールバックします。
Senju Service Manager の会社マスタ管理画面で、会社情報を更新する権限が必要です。
更新する会社情報
| company_id required | string <= 16 characters 会社ID
|
| target_system_name | string <= 60 characters 対象システム名
|
| company_name | string <= 60 characters 会社名 |
| company_name_kana | string <= 60 characters 会社カナ |
| company_short_name | string <= 60 characters 会社略称 |
| color | string <= 30 characters Default: "Black" 色
|
| disp_seq | string <= 8 characters 表示順 |
| company_url | string <= 500 characters 会社URL |
[- {
- "company_id": "string",
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]{- "message": "string",
- "companies": [
- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]
}Senju Service Manager に登録されている会社の情報を取得します。
Senju Service Manager の会社マスタ管理画面で、会社情報を参照する権限が必要です。
| company_id required | string 会社ID |
curl -X GET 'http://localhost:49152/api/companies/0000000000000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
[- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]Senju Service Manager に登録されている会社の情報を更新します。 - 会社マスタ登録画面と同等の情報を更新することができます。 - 処理の途中でエラーが発生した場合、API 実行前の状態にロールバックします。
Senju Service Manager の会社マスタ管理画面で、会社情報を更新する権限が必要です。
| company_id required | string 会社ID |
更新する会社情報
| target_system_name | string <= 60 characters 対象システム名
|
| company_name | string <= 60 characters 会社名 |
| company_name_kana | string <= 60 characters 会社カナ |
| company_short_name | string <= 60 characters 会社略称 |
| color | string <= 30 characters Default: "Black" 色
|
| disp_seq | string <= 8 characters 表示順 |
| company_url | string <= 500 characters 会社URL |
[- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]{- "message": "string",
- "companies": [
- {
- "target_system_name": "string",
- "company_name": "string",
- "company_name_kana": "string",
- "company_short_name": "string",
- "color": "string",
- "disp_seq": "string",
- "company_url": "string"
}
]
}Senju Service Manager に登録されている会社の情報および削除対象の会社に紐づく組織情報を削除します。
Senju Service Manager の会社マスタ管理画面で、会社情報を削除する権限が必要です。
| company_id required | string 会社ID |
curl -X DELETE 'http://localhost:49152/api/companies/0000000000000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "message": "string"
}指定された画面・システムに対してプロセスを登録します。
Senju Service Manager の指定された画面・システムに対してプロセスを登録する権限が必要です。
| process_type_id required | string 8 characters 画面ID
|
登録するプロセスオブジェクト
| system_id required | string 16 characters システムID |
| status required | string ステータス |
| sub_status | string サブステータス |
| title required | string [ 1 .. 200 ] characters タイトル |
| current_respondent | Array of strings Default: ["API実行ユーザーのユーザーID"] 現在対応者
|
| creator | string <= 256 characters Default: "API実行ユーザーのユーザーID" 起票者
|
| type | string 種別 |
| impact_level | string インパクト |
| emergency_level | string 緊急度 |
| priority_level | string 優先度 |
| remarks | string <= 4000 characters 備考 |
| reference_url_1 | string <= 4000 characters 参考URL1 |
| reference_url_2 | string <= 4000 characters 参考URL2 |
| reference_url_3 | string <= 4000 characters 参考URL3 |
| reference_url_4 | string <= 4000 characters 参考URL4 |
| reference_url_5 | string <= 4000 characters 参考URL5 |
| reference_url_6 | string <= 4000 characters 参考URL6 |
| reference_url_7 | string <= 4000 characters 参考URL7 |
| text_1 | string <= 4000 characters テキスト1 |
| text_2 | string <= 4000 characters テキスト2 |
| text_3 | string <= 4000 characters テキスト3 |
| text_4 | string <= 4000 characters テキスト4 |
| text_5 | string <= 4000 characters テキスト5 |
| text_6 | string <= 4000 characters テキスト6 |
| text_7 | string <= 4000 characters テキスト7 |
| text_8 | string <= 4000 characters テキスト8 |
| text_9 | string <= 4000 characters テキスト9 |
| text_10 | string <= 4000 characters テキスト10 |
| text_11 | string <= 4000 characters テキスト11 |
| text_12 | string <= 4000 characters テキスト12 |
| text_13 | string <= 4000 characters テキスト13 |
| text_14 | string <= 4000 characters テキスト14 |
| text_15 | string <= 4000 characters テキスト15 |
| text_16 | string <= 4000 characters テキスト16 |
| text_17 | string <= 4000 characters テキスト17 |
| text_18 | string <= 4000 characters テキスト18 |
| text_19 | string <= 4000 characters テキスト19 |
| large_text_1 | string <= 128000 characters ラージテキスト1 |
| large_text_2 | string <= 128000 characters ラージテキスト2 |
| large_text_3 | string <= 128000 characters ラージテキスト3 |
| large_text_4 | string <= 128000 characters ラージテキスト4 |
| combobox_1 | string コンボボックス1 |
| combobox_2 | string コンボボックス2 |
| combobox_3 | string コンボボックス3 |
| combobox_4 | string コンボボックス4 |
| combobox_5 | string コンボボックス5 |
| combobox_6 | string コンボボックス6 |
| combobox_7 | string コンボボックス7 |
| combobox_8 | string コンボボックス8 |
| combobox_9 | string コンボボックス9 |
| combobox_10 | string コンボボックス10 |
| combobox_11 | string コンボボックス11 |
| combobox_12 | string コンボボックス12 |
| combobox_13 | string コンボボックス13 |
| combobox_14 | string コンボボックス14 |
| combobox_15 | string コンボボックス15 |
| combobox_16 | string コンボボックス16 |
| combobox_17 | string コンボボックス17 |
| combobox_18 | string コンボボックス18 |
| combobox_19 | string コンボボックス19 |
| combobox_20 | string コンボボックス20 |
| radio_button_1 | string ラジオボタン1 |
| radio_button_2 | string ラジオボタン2 |
| large_classif | string 大分類 |
| medium_classif | string 中分類 |
| small_classif | string 小分類 |
| 2_level_classif_1_1 | string 2連分類1-1 |
| 2_level_classif_1_2 | string 2連分類1-2 |
| 2_level_classif_2_1 | string 2連分類2-1 |
| 2_level_classif_2_2 | string 2連分類2-2 |
| 3_level_classif_1_1 | string 3連分類1-1 |
| 3_level_classif_1_2 | string 3連分類1-2 |
| 3_level_classif_1_3 | string 3連分類1-3 |
| 3_level_classif_2_1 | string 3連分類2-1 |
| 3_level_classif_2_2 | string 3連分類2-2 |
| 3_level_classif_2_3 | string 3連分類2-3 |
| 5_level_classif_1_1 | string 5連分類1-1 |
| 5_level_classif_1_2 | string 5連分類1-2 |
| 5_level_classif_1_3 | string 5連分類1-3 |
| 5_level_classif_1_4 | string 5連分類1-4 |
| 5_level_classif_1_5 | string 5連分類1-5 |
| 5_level_classif_2_1 | string 5連分類2-1 |
| 5_level_classif_2_2 | string 5連分類2-2 |
| 5_level_classif_2_3 | string 5連分類2-3 |
| 5_level_classif_2_4 | string 5連分類2-4 |
| 5_level_classif_2_5 | string 5連分類2-5 |
| scheduled_response_date_1 | string 8 characters 対応予定日1
|
| scheduled_response_time_1 | string 6 characters 対応予定時刻1
|
| scheduled_response_date_2 | string 8 characters 対応予定日2
|
| scheduled_response_time_2 | string 6 characters 対応予定時刻2
|
| scheduled_response_date_3 | string 8 characters 対応予定日3
|
| scheduled_response_time_3 | string 6 characters 対応予定時刻3
|
| scheduled_response_date_4 | string 8 characters 対応予定日4
|
| scheduled_response_time_4 | string 6 characters 対応予定時刻4
|
| scheduled_response_date_5 | string 8 characters 対応予定日5
|
| scheduled_response_time_5 | string 6 characters 対応予定時刻5
|
| scheduled_results_date_1 | string 8 characters 対応実績日1
|
| scheduled_results_time_1 | string 6 characters 対応実績時刻1
|
| scheduled_results_date_2 | string 8 characters 対応実績日2
|
| scheduled_results_time_2 | string 6 characters 対応実績時刻2
|
| scheduled_results_date_3 | string 8 characters 対応実績日3
|
| scheduled_results_time_3 | string 6 characters 対応実績時刻3
|
| scheduled_results_date_4 | string 8 characters 対応実績日4
|
| scheduled_results_time_4 | string 6 characters 対応実績時刻4
|
| scheduled_results_date_5 | string 8 characters 対応実績日5
|
| scheduled_results_time_5 | string 6 characters 対応実績時刻5
|
| close_date_limit | string 8 characters クローズ期限日
|
| close_time_limit | string 6 characters クローズ期限時刻
|
{- "system_id": "stringstringstri",
- "status": "string",
- "sub_status": "string",
- "title": "string",
- "current_respondent": [
- "API実行ユーザーのユーザーID"
], - "creator": "API実行ユーザーのユーザーID",
- "type": "string",
- "impact_level": "string",
- "emergency_level": "string",
- "priority_level": "string",
- "remarks": "string",
- "reference_url_1": "string",
- "reference_url_2": "string",
- "reference_url_3": "string",
- "reference_url_4": "string",
- "reference_url_5": "string",
- "reference_url_6": "string",
- "reference_url_7": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "text_5": "string",
- "text_6": "string",
- "text_7": "string",
- "text_8": "string",
- "text_9": "string",
- "text_10": "string",
- "text_11": "string",
- "text_12": "string",
- "text_13": "string",
- "text_14": "string",
- "text_15": "string",
- "text_16": "string",
- "text_17": "string",
- "text_18": "string",
- "text_19": "string",
- "large_text_1": "string",
- "large_text_2": "string",
- "large_text_3": "string",
- "large_text_4": "string",
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "combobox_5": "string",
- "combobox_6": "string",
- "combobox_7": "string",
- "combobox_8": "string",
- "combobox_9": "string",
- "combobox_10": "string",
- "combobox_11": "string",
- "combobox_12": "string",
- "combobox_13": "string",
- "combobox_14": "string",
- "combobox_15": "string",
- "combobox_16": "string",
- "combobox_17": "string",
- "combobox_18": "string",
- "combobox_19": "string",
- "combobox_20": "string",
- "radio_button_1": "string",
- "radio_button_2": "string",
- "large_classif": "string",
- "medium_classif": "string",
- "small_classif": "string",
- "2_level_classif_1_1": "string",
- "2_level_classif_1_2": "string",
- "2_level_classif_2_1": "string",
- "2_level_classif_2_2": "string",
- "3_level_classif_1_1": "string",
- "3_level_classif_1_2": "string",
- "3_level_classif_1_3": "string",
- "3_level_classif_2_1": "string",
- "3_level_classif_2_2": "string",
- "3_level_classif_2_3": "string",
- "5_level_classif_1_1": "string",
- "5_level_classif_1_2": "string",
- "5_level_classif_1_3": "string",
- "5_level_classif_1_4": "string",
- "5_level_classif_1_5": "string",
- "5_level_classif_2_1": "string",
- "5_level_classif_2_2": "string",
- "5_level_classif_2_3": "string",
- "5_level_classif_2_4": "string",
- "5_level_classif_2_5": "string",
- "scheduled_response_date_1": "stringst",
- "scheduled_response_time_1": "string",
- "scheduled_response_date_2": "stringst",
- "scheduled_response_time_2": "string",
- "scheduled_response_date_3": "stringst",
- "scheduled_response_time_3": "string",
- "scheduled_response_date_4": "stringst",
- "scheduled_response_time_4": "string",
- "scheduled_response_date_5": "stringst",
- "scheduled_response_time_5": "string",
- "scheduled_results_date_1": "stringst",
- "scheduled_results_time_1": "string",
- "scheduled_results_date_2": "stringst",
- "scheduled_results_time_2": "string",
- "scheduled_results_date_3": "stringst",
- "scheduled_results_time_3": "string",
- "scheduled_results_date_4": "stringst",
- "scheduled_results_time_4": "string",
- "scheduled_results_date_5": "stringst",
- "scheduled_results_time_5": "string",
- "close_date_limit": "stringst",
- "close_time_limit": "string"
}{- "process_id": "string",
- "system_id": "string",
- "status": "string",
- "sub_status": "string",
- "title": "string",
- "current_respondent": [
- "string"
], - "creator": "string",
- "closer": "string",
- "created_at": "2021-01-11T00:00:00+09:00",
- "updated_at": "2021-01-11T00:00:00+09:00",
- "type": "string",
- "impact_level": "string",
- "emergency_level": "string",
- "priority_level": "string",
- "remarks": "string",
- "reference_url_1": "string",
- "reference_url_2": "string",
- "reference_url_3": "string",
- "reference_url_4": "string",
- "reference_url_5": "string",
- "reference_url_6": "string",
- "reference_url_7": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "text_5": "string",
- "text_6": "string",
- "text_7": "string",
- "text_8": "string",
- "text_9": "string",
- "text_10": "string",
- "text_11": "string",
- "text_12": "string",
- "text_13": "string",
- "text_14": "string",
- "text_15": "string",
- "text_16": "string",
- "text_17": "string",
- "text_18": "string",
- "text_19": "string",
- "large_text_1": "string",
- "large_text_2": "string",
- "large_text_3": "string",
- "large_text_4": "string",
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "combobox_5": "string",
- "combobox_6": "string",
- "combobox_7": "string",
- "combobox_8": "string",
- "combobox_9": "string",
- "combobox_10": "string",
- "combobox_11": "string",
- "combobox_12": "string",
- "combobox_13": "string",
- "combobox_14": "string",
- "combobox_15": "string",
- "combobox_16": "string",
- "combobox_17": "string",
- "combobox_18": "string",
- "combobox_19": "string",
- "combobox_20": "string",
- "radio_button_1": "string",
- "radio_button_2": "string",
- "large_classif": "string",
- "medium_classif": "string",
- "small_classif": "string",
- "2_level_classif_1_1": "string",
- "2_level_classif_1_2": "string",
- "2_level_classif_2_1": "string",
- "2_level_classif_2_2": "string",
- "3_level_classif_1_1": "string",
- "3_level_classif_1_2": "string",
- "3_level_classif_1_3": "string",
- "3_level_classif_2_1": "string",
- "3_level_classif_2_2": "string",
- "3_level_classif_2_3": "string",
- "5_level_classif_1_1": "string",
- "5_level_classif_1_2": "string",
- "5_level_classif_1_3": "string",
- "5_level_classif_1_4": "string",
- "5_level_classif_1_5": "string",
- "5_level_classif_2_1": "string",
- "5_level_classif_2_2": "string",
- "5_level_classif_2_3": "string",
- "5_level_classif_2_4": "string",
- "5_level_classif_2_5": "string",
- "scheduled_response_date_1": "string",
- "scheduled_response_time_1": "string",
- "scheduled_response_date_2": "string",
- "scheduled_response_time_2": "string",
- "scheduled_response_date_3": "string",
- "scheduled_response_time_3": "string",
- "scheduled_response_date_4": "string",
- "scheduled_response_time_4": "string",
- "scheduled_response_date_5": "string",
- "scheduled_response_time_5": "string",
- "scheduled_results_date_1": "string",
- "scheduled_results_time_1": "string",
- "scheduled_results_date_2": "string",
- "scheduled_results_time_2": "string",
- "scheduled_results_date_3": "string",
- "scheduled_results_time_3": "string",
- "scheduled_results_date_4": "string",
- "scheduled_results_time_4": "string",
- "scheduled_results_date_5": "string",
- "scheduled_results_time_5": "string",
- "close_date": "string",
- "close_time": "string",
- "close_date_limit": "string",
- "close_time_limit": "string"
}Senju Service Manager に登録されているプロセス情報を取得します。
Senju Service Manager のプロセス管理画面で、プロセス情報を参照する権限が必要です。
以下の QUERY PARAMETER は ISO8601 形式で指定しますが、
タイムゾーンの指定は無視されAPIサーバーが配置された地域のタイムゾーンが有効となります。
また、タイムゾーンが未指定の場合でもエラーとなりません。
| process_type_id required | string 8 characters 取得対象となるプロセスが属する画面のID
|
| system_id | string 16 characters 取得対象となるプロセスが属するシステムのID
|
| state | string Default: "all" Enum: "all" "opened" "closed" 取得対象となるプロセスオープン・クローズ状況 |
| per_page | integer [ 1 .. 100 ] Default: 20 1ページ当たりの件数 |
| page | integer >= 1 Default: 1 ページ番号 |
| current_respondent_id | string <= 256 characters 取得対象となるプロセスの現在対応者ユーザーID
|
| created_before | string Example: created_before=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の前に新規登録されたプロセス情報を取得します |
| created_after | string Example: created_after=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の後で新規登録されたプロセス情報を取得します |
| updated_before | string Example: updated_before=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の前に更新されたプロセス情報を取得します |
| updated_after | string Example: updated_after=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の後で更新されたプロセス情報を取得します |
curl -X GET 'http://localhost:49152/api/process_types/01000001/processes?system_id=0000000000000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
[- {
- "process_id": "string",
- "system_id": "string",
- "status": "string",
- "sub_status": "string",
- "title": "string",
- "current_respondent": [
- "string"
], - "creator": "string",
- "closer": "string",
- "created_at": "2021-01-11T00:00:00+09:00",
- "updated_at": "2021-01-11T00:00:00+09:00",
- "type": "string",
- "impact_level": "string",
- "emergency_level": "string",
- "priority_level": "string",
- "remarks": "string",
- "reference_url_1": "string",
- "reference_url_2": "string",
- "reference_url_3": "string",
- "reference_url_4": "string",
- "reference_url_5": "string",
- "reference_url_6": "string",
- "reference_url_7": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "text_5": "string",
- "text_6": "string",
- "text_7": "string",
- "text_8": "string",
- "text_9": "string",
- "text_10": "string",
- "text_11": "string",
- "text_12": "string",
- "text_13": "string",
- "text_14": "string",
- "text_15": "string",
- "text_16": "string",
- "text_17": "string",
- "text_18": "string",
- "text_19": "string",
- "large_text_1": "string",
- "large_text_2": "string",
- "large_text_3": "string",
- "large_text_4": "string",
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "combobox_5": "string",
- "combobox_6": "string",
- "combobox_7": "string",
- "combobox_8": "string",
- "combobox_9": "string",
- "combobox_10": "string",
- "combobox_11": "string",
- "combobox_12": "string",
- "combobox_13": "string",
- "combobox_14": "string",
- "combobox_15": "string",
- "combobox_16": "string",
- "combobox_17": "string",
- "combobox_18": "string",
- "combobox_19": "string",
- "combobox_20": "string",
- "radio_button_1": "string",
- "radio_button_2": "string",
- "large_classif": "string",
- "medium_classif": "string",
- "small_classif": "string",
- "2_level_classif_1_1": "string",
- "2_level_classif_1_2": "string",
- "2_level_classif_2_1": "string",
- "2_level_classif_2_2": "string",
- "3_level_classif_1_1": "string",
- "3_level_classif_1_2": "string",
- "3_level_classif_1_3": "string",
- "3_level_classif_2_1": "string",
- "3_level_classif_2_2": "string",
- "3_level_classif_2_3": "string",
- "5_level_classif_1_1": "string",
- "5_level_classif_1_2": "string",
- "5_level_classif_1_3": "string",
- "5_level_classif_1_4": "string",
- "5_level_classif_1_5": "string",
- "5_level_classif_2_1": "string",
- "5_level_classif_2_2": "string",
- "5_level_classif_2_3": "string",
- "5_level_classif_2_4": "string",
- "5_level_classif_2_5": "string",
- "scheduled_response_date_1": "string",
- "scheduled_response_time_1": "string",
- "scheduled_response_date_2": "string",
- "scheduled_response_time_2": "string",
- "scheduled_response_date_3": "string",
- "scheduled_response_time_3": "string",
- "scheduled_response_date_4": "string",
- "scheduled_response_time_4": "string",
- "scheduled_response_date_5": "string",
- "scheduled_response_time_5": "string",
- "scheduled_results_date_1": "string",
- "scheduled_results_time_1": "string",
- "scheduled_results_date_2": "string",
- "scheduled_results_time_2": "string",
- "scheduled_results_date_3": "string",
- "scheduled_results_time_3": "string",
- "scheduled_results_date_4": "string",
- "scheduled_results_time_4": "string",
- "scheduled_results_date_5": "string",
- "scheduled_results_time_5": "string",
- "close_date": "string",
- "close_time": "string",
- "close_date_limit": "string",
- "close_time_limit": "string"
}
]Senju Service Manager に登録されているプロセス情報を取得します。
Senju Service Manager のプロセス管理画面で、プロセス情報を参照する権限が必要です。
| process_type_id required | string 8 characters 取得対象となるプロセスが属する画面のID
|
| process_id required | string [ 1 .. 16 ] characters プロセスID
|
curl -X GET 'http://localhost:49152/api/process_types/01000001/processes/20210101-0000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "process_id": "string",
- "system_id": "string",
- "status": "string",
- "sub_status": "string",
- "title": "string",
- "current_respondent": [
- "string"
], - "creator": "string",
- "closer": "string",
- "created_at": "2021-01-11T00:00:00+09:00",
- "updated_at": "2021-01-11T00:00:00+09:00",
- "type": "string",
- "impact_level": "string",
- "emergency_level": "string",
- "priority_level": "string",
- "remarks": "string",
- "reference_url_1": "string",
- "reference_url_2": "string",
- "reference_url_3": "string",
- "reference_url_4": "string",
- "reference_url_5": "string",
- "reference_url_6": "string",
- "reference_url_7": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "text_5": "string",
- "text_6": "string",
- "text_7": "string",
- "text_8": "string",
- "text_9": "string",
- "text_10": "string",
- "text_11": "string",
- "text_12": "string",
- "text_13": "string",
- "text_14": "string",
- "text_15": "string",
- "text_16": "string",
- "text_17": "string",
- "text_18": "string",
- "text_19": "string",
- "large_text_1": "string",
- "large_text_2": "string",
- "large_text_3": "string",
- "large_text_4": "string",
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "combobox_5": "string",
- "combobox_6": "string",
- "combobox_7": "string",
- "combobox_8": "string",
- "combobox_9": "string",
- "combobox_10": "string",
- "combobox_11": "string",
- "combobox_12": "string",
- "combobox_13": "string",
- "combobox_14": "string",
- "combobox_15": "string",
- "combobox_16": "string",
- "combobox_17": "string",
- "combobox_18": "string",
- "combobox_19": "string",
- "combobox_20": "string",
- "radio_button_1": "string",
- "radio_button_2": "string",
- "large_classif": "string",
- "medium_classif": "string",
- "small_classif": "string",
- "2_level_classif_1_1": "string",
- "2_level_classif_1_2": "string",
- "2_level_classif_2_1": "string",
- "2_level_classif_2_2": "string",
- "3_level_classif_1_1": "string",
- "3_level_classif_1_2": "string",
- "3_level_classif_1_3": "string",
- "3_level_classif_2_1": "string",
- "3_level_classif_2_2": "string",
- "3_level_classif_2_3": "string",
- "5_level_classif_1_1": "string",
- "5_level_classif_1_2": "string",
- "5_level_classif_1_3": "string",
- "5_level_classif_1_4": "string",
- "5_level_classif_1_5": "string",
- "5_level_classif_2_1": "string",
- "5_level_classif_2_2": "string",
- "5_level_classif_2_3": "string",
- "5_level_classif_2_4": "string",
- "5_level_classif_2_5": "string",
- "scheduled_response_date_1": "string",
- "scheduled_response_time_1": "string",
- "scheduled_response_date_2": "string",
- "scheduled_response_time_2": "string",
- "scheduled_response_date_3": "string",
- "scheduled_response_time_3": "string",
- "scheduled_response_date_4": "string",
- "scheduled_response_time_4": "string",
- "scheduled_response_date_5": "string",
- "scheduled_response_time_5": "string",
- "scheduled_results_date_1": "string",
- "scheduled_results_time_1": "string",
- "scheduled_results_date_2": "string",
- "scheduled_results_time_2": "string",
- "scheduled_results_date_3": "string",
- "scheduled_results_time_3": "string",
- "scheduled_results_date_4": "string",
- "scheduled_results_time_4": "string",
- "scheduled_results_date_5": "string",
- "scheduled_results_time_5": "string",
- "close_date": "string",
- "close_time": "string",
- "close_date_limit": "string",
- "close_time_limit": "string"
}指定されたプロセスに対して経過を登録します。
Senju Service Manager の指定されたプロセスに対して経過を登録する権限が必要です。
Senju Service Manager のプロセス詳細画面で登録可能な経過の最大件数は、制御情報の設定値に依存します(上限値:500)。
しかし、本APIでは登録可能な経過の最大件数に上限値はありません。
REQUEST BODY の以下の項目にはステータスが無効のユーザーを指定可能です。
※Senju Service Managerの経過追加と同じ挙動となります。
| process_type_id required | string 8 characters 画面ID
|
| process_id required | string [ 1 .. 16 ] characters プロセスID
|
登録するプロセス経過オブジェクト
Nullable の記載がある項目は、JSONの値に null が指定可能なことを示しています。| title | string <= 80 characters タイトル |
| response_date | string 8 characters Default: "現在日付" 対応日
|
| response_time | string 6 characters Default: "現在時刻" 対応時刻
|
| respondent | string <= 256 characters 対応者
|
| content | string <= 4000 characters 内容 |
| 2_level_multi_classif_1_1 | string マルチ2連分類1-1 |
| 2_level_multi_classif_1_2A | string マルチ2連分類1-2A |
| 2_level_multi_classif_1_2B | string マルチ2連分類1-2B |
| 2_level_multi_classif_1_2C | string マルチ2連分類1-2C |
| 2_level_multi_classif_1_2D | string マルチ2連分類1-2D |
| 2_level_multi_classif_2_1 | string マルチ2連分類2-1 |
| 2_level_multi_classif_2_2A | string マルチ2連分類2-2A |
| 2_level_multi_classif_2_2B | string マルチ2連分類2-2B |
| 2_level_multi_classif_2_2C | string マルチ2連分類2-2C |
| 2_level_multi_classif_2_2D | string マルチ2連分類2-2D |
| response_target | string <= 4000 characters 対応先 |
| from | string <= 4000 characters from |
| to | string <= 4000 characters to |
| cc | string <= 4000 characters cc |
| text_1 | string <= 4000 characters テキスト1 |
| text_2 | string <= 4000 characters テキスト2 |
| text_3 | string <= 4000 characters テキスト3 |
| text_4 | string <= 4000 characters テキスト4 |
| textarea_1 | string <= 4000 characters テキストエリア1 |
| textarea_2 | string <= 4000 characters テキストエリア2 |
| textarea_3 | string <= 4000 characters テキストエリア3 |
| textarea_4 | string <= 4000 characters テキストエリア4 |
| numerical_text_1 | number <= 12 characters Nullable 数値テキスト1 |
| numerical_text_2 | number <= 12 characters Nullable 数値テキスト2 |
| calculational_numerical_text_1 | number <= 12 characters Nullable 計算用数値テキスト1 |
| calculational_numerical_text_2 | number <= 12 characters Nullable 計算用数値テキスト2 |
| calculational_numerical_text_3 | number <= 12 characters Nullable 計算用数値テキスト3 |
| combobox_1 | string コンボボックス1 |
| combobox_2 | string コンボボックス2 |
| combobox_3 | string コンボボックス3 |
| combobox_4 | string コンボボックス4 |
{- "title": "string",
- "response_date": "現在日付",
- "response_time": "現在時刻",
- "respondent": "string",
- "content": "string",
- "2_level_multi_classif_1_1": "string",
- "2_level_multi_classif_1_2A": "string",
- "2_level_multi_classif_1_2B": "string",
- "2_level_multi_classif_1_2C": "string",
- "2_level_multi_classif_1_2D": "string",
- "2_level_multi_classif_2_1": "string",
- "2_level_multi_classif_2_2A": "string",
- "2_level_multi_classif_2_2B": "string",
- "2_level_multi_classif_2_2C": "string",
- "2_level_multi_classif_2_2D": "string",
- "response_target": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "textarea_1": "string",
- "textarea_2": "string",
- "textarea_3": "string",
- "textarea_4": "string",
- "numerical_text_1": 0,
- "numerical_text_2": 0,
- "calculational_numerical_text_1": 0,
- "calculational_numerical_text_2": 0,
- "calculational_numerical_text_3": 0,
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string"
}{- "id": "string",
- "process_id": "string",
- "number": 1,
- "title": "string",
- "response_date": "2021-01-11T00:00:00+09:00",
- "respondent": "string",
- "content": "string",
- "2_level_multi_classif_1_1": "string",
- "2_level_multi_classif_1_2A": "string",
- "2_level_multi_classif_1_2B": "string",
- "2_level_multi_classif_1_2C": "string",
- "2_level_multi_classif_1_2D": "string",
- "2_level_multi_classif_2_1": "string",
- "2_level_multi_classif_2_2A": "string",
- "2_level_multi_classif_2_2B": "string",
- "2_level_multi_classif_2_2C": "string",
- "2_level_multi_classif_2_2D": "string",
- "response_target": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "textarea_1": "string",
- "textarea_2": "string",
- "textarea_3": "string",
- "textarea_4": "string",
- "numerical_text_1": 0,
- "numerical_text_2": 0,
- "calculational_numerical_text_1": 0,
- "calculational_numerical_text_2": 0,
- "calculational_numerical_text_3": 0,
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "date_of_datetime_1": "string",
- "time_of_datetime_1": "string"
}Senju Service Manager に登録されている複数のプロセス経過情報を取得します。
Senju Service Manager のプロセス管理画面で、プロセス情報を参照する権限が必要です。
以下の QUERY PARAMETER は ISO8601 形式で指定しますが、
タイムゾーンの指定は無視されAPIサーバーが配置された地域のタイムゾーンが有効となります。
また、タイムゾーンが未指定の場合でもエラーとなりません。
| process_type_id required | string 8 characters 取得対象となるプロセスが属する画面のID
|
| process_id required | string [ 1 .. 16 ] characters プロセスID
|
| progress_number | integer [ 1 .. 500 ] 指定された番号の経過を返却します
|
| after | integer [ 1 .. 500 ] Default: 0 指定された番号の後の経過を返却します |
| per_page | integer [ 1 .. 100 ] Default: 20 1ページ当たりの件数 |
| page | integer >= 1 Default: 1 ページ番号 |
| created_after | string Example: created_after=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の後で新規登録された経過を返却します |
| updated_after | string Example: updated_after=2021-01-11T00:00:00+09:00 指定された時間(ISO8601形式)の後で更新された経過を返却します |
curl -X GET 'http://localhost:49152/api/process_types/01000001/processes/20210101-0000001/progresses?per_page=100&created_after=2021-01-11T00:00:00Z' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
[- {
- "id": "string",
- "process_id": "string",
- "number": 1,
- "title": "string",
- "response_date": "2021-01-11T00:00:00+09:00",
- "respondent": "string",
- "content": "string",
- "2_level_multi_classif_1_1": "string",
- "2_level_multi_classif_1_2A": "string",
- "2_level_multi_classif_1_2B": "string",
- "2_level_multi_classif_1_2C": "string",
- "2_level_multi_classif_1_2D": "string",
- "2_level_multi_classif_2_1": "string",
- "2_level_multi_classif_2_2A": "string",
- "2_level_multi_classif_2_2B": "string",
- "2_level_multi_classif_2_2C": "string",
- "2_level_multi_classif_2_2D": "string",
- "response_target": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "textarea_1": "string",
- "textarea_2": "string",
- "textarea_3": "string",
- "textarea_4": "string",
- "numerical_text_1": 0,
- "numerical_text_2": 0,
- "calculational_numerical_text_1": 0,
- "calculational_numerical_text_2": 0,
- "calculational_numerical_text_3": 0,
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "date_of_datetime_1": "string",
- "time_of_datetime_1": "string"
}
]Senju Service Manager に登録されているプロセス経過情報を取得します。
Senju Service Manager のプロセス管理画面で、プロセス情報を参照する権限が必要です。
| process_type_id required | string 8 characters 取得対象となるプロセスが属する画面のID
|
| process_id required | string [ 1 .. 16 ] characters プロセスID
|
| progress_id required | string 16 characters 経過ID |
curl -X GET 'http://localhost:49152/api/process_types/01000001/processes/20210101-0000001/progresses/0005000000000001' \ -H 'Authorization: Bearer 9kg8nqrnxprd9jbykqeg4r51hw'
{- "id": "string",
- "process_id": "string",
- "number": 1,
- "title": "string",
- "response_date": "2021-01-11T00:00:00+09:00",
- "respondent": "string",
- "content": "string",
- "2_level_multi_classif_1_1": "string",
- "2_level_multi_classif_1_2A": "string",
- "2_level_multi_classif_1_2B": "string",
- "2_level_multi_classif_1_2C": "string",
- "2_level_multi_classif_1_2D": "string",
- "2_level_multi_classif_2_1": "string",
- "2_level_multi_classif_2_2A": "string",
- "2_level_multi_classif_2_2B": "string",
- "2_level_multi_classif_2_2C": "string",
- "2_level_multi_classif_2_2D": "string",
- "response_target": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "text_1": "string",
- "text_2": "string",
- "text_3": "string",
- "text_4": "string",
- "textarea_1": "string",
- "textarea_2": "string",
- "textarea_3": "string",
- "textarea_4": "string",
- "numerical_text_1": 0,
- "numerical_text_2": 0,
- "calculational_numerical_text_1": 0,
- "calculational_numerical_text_2": 0,
- "calculational_numerical_text_3": 0,
- "combobox_1": "string",
- "combobox_2": "string",
- "combobox_3": "string",
- "combobox_4": "string",
- "date_of_datetime_1": "string",
- "time_of_datetime_1": "string"
}| レスポンスボディ中のメッセージ | 原因/対応 |
|---|---|
| Bad Content-Type header. Expected value 'application/json' | リクエストヘッダのContent-Typeがapplication/jsonでない場合に本メッセージが表示されます。 本APIのすべてのリクエストとレスポンスのメディアタイプは application/json のため、リクエストヘッダのContent-Typeにapplication/json を指定してください。 |
| Expecting value: line 1 column 1 (char 0) | リクエストボディがJSON形式でない場合に本メッセージが表示されます。 本APIのすべてのリクエストのメディアタイプは application/json のため、リクエストボディをJSON形式で指定してください。 |
| utf-8' codec can't decode byte 0x82 in position 14: invalid start byte | リクエストボディがUTF-8 エンコードされていない場合に本メッセージが表示されます。 本API は通信データをUTF-8 エンコードされたバイトストリームとして送受信するため、API を実行するアプリケーションでは、文字コードをUTF-8 に設定してください。 |
| Missing username or password. | リクエストボディにユーザーID またはパスワードが指定されていない場合に本メッセージが表示されます。 ユーザーID またはパスワードの指定が必須のAPIではリクエストボディ内で指定してください。 |
| payload is null. | リクエストボディの指定が必須のAPIでリクエストボディが未指定であった場合に本メッセージが表示されます。 リクエストボディを記述してください。リクエストボディの記述方法は各エンドポイントの記載を参照してください。 |
| duplicate key: <重複するキー> | リクエストボディのJSONキーが重複指定されている場合に本メッセージが表示されます。リクエストボディの内容を確認し、JSONキーが重複しないよう記述してください。 |
| '<必須キー>' is a required property | リクエストボディ内で必須キーが未指定の場合に本メッセージが表示されます。 リクエストボディの内容を確認し、必須キーを指定してください。必須キーの有無、記述方法は各エンドポイントの記載を参照してください。 |
| 'Additional properties are not allowed ('<指定外キー>' was unexpected) | リクエストボディ内で指定外キーが指定された場合に本メッセージが表示されます。本APIでは指定外キーの指定はできません。 リクエストボディの内容を確認し、正しいキーを指定してください。指定可能なキーは各エンドポイントの記載を参照してください。 |
| <指定した値> is not of type '<JSON の型>' | リクエストボディ内で指定した値の型に誤りがある場合に本メッセージが表示されます。 リクエストボディの内容を確認し、正しい型で指定してください。指定可能な型は各エンドポイントの記載を参照してください。 |
| '<指定した値>' is too long | リクエストボディ内で指定した値が指定可能な最大文字列長を超過していた場合に本メッセージが表示されます。 リクエストボディの内容を確認し、最大文字列長以下で指定してください。指定可能な文字列長は各エンドポイントの記載を参照してください。 |
| '<指定した値>' is not one of ['<候補1>', '<候補2>', ..., '<候補n>'] | リクエストボディ内で指定した値が指定可能な候補(複数)以外の値であった場合に本メッセージが表示されます。 リクエストボディの内容を確認し、指定可能な候補の値を指定してください。指定可能な候補の値は各エンドポイントの記載を参照してください。 |
| '<指定した値>' is not ['<候補>'] | リクエストボディ内で指定した値が指定可能な候補以外の値であった場合に本メッセージが表示されます。 リクエストボディの内容を確認し、指定可能な候補の値を指定してください。指定可能な候補の値は各エンドポイントの記載を参照してください。 |
| [] is too short | 1件以上の指定が必須な項目に値が指定されていない場合に本メッセージが表示されます。 リクエストボディの内容を確認し、値を指定してください。 |
| Invalid password. <パスワード> | パスワードの指定が誤っている場合に本メッセージが表示されます。以下の原因が考えられます。 ・パスワード長が最小文字列未満 ・パスワード長が最大文字列超過 ・パスワードに入力不可の記号が含まれている ・パスワードの使用文字種が最小設定値未満 ・パスワードにユーザーID が含まれている ・パスワード履歴に存在するパスワードが指定された リクエストボディの内容を確認し、指定可能なパスワードを指定してください。 |
| ['<組織名>'] not in ['<会社名>'] | リクエストボディ内で、会社に従属しない組織が指定された場合に本メッセージが表示されます。 リクエストボディの内容およびSenju Service Managerの登録情報を確認し、会社に従属する組織を指定してください。 |
| not found target_system_name: <システム名> | Senju Service Manager に登録されていないシステム名が指定された場合に本メッセージが表示されます。 指定したシステム名およびSenju Service Managerの登録情報を確認してください。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| Incorrect username or password | ユーザーIDまたはパスワードに誤りがある場合に本メッセージが表示されます。 入力内容を確認し、正しい値を指定してください。 |
| Your authentic_method is not supported. | 認証方式が「SSM 基本認証」以外のユーザーがAPI を実行した場合に本メッセージが表示されます。 本APIは認証方式が「SSM 基本認証」のユーザーのみご利用いただけます。 |
| Your password has expired. | パスワードの期限が切れている場合に本メッセージが表示されます。 Senju Service Manager 画面からパスワード変更を行ってください。 Senju Service Manager のパスワード期限切れ時、アクセストークン・リフレッシュトークン発行APIのレスポンスは制御情報の設定値に従います。詳細は制限事項を参照してください。 |
| Missing Authorization Header | Authorization ヘッダが指定されていない場合に本メッセージが表示されます。 リクエストヘッダにAuthorizationヘッダを指定してください。 |
| Token has expired | 認証トークンの有効期限が切れている場合に本メッセージが表示されます。 本APIは認証トークンを発行しており、有効期限はデフォルトで1時間です。認証APIでアクセストークンおよびリフレッシュトークンを再発行してください。 |
| Token has been revoked | 無効化されたトークンが指定された場合に本メッセージが表示されます 認証APIでアクセストークンおよびリフレッシュトークンを再発行してください。 |
| Not enough segments | 不正な認証トークンが指定された場合に本メッセージが表示されます。 リクエストヘッダで指定した認証トークンの内容を確認し、正しい値を指定してください。 |
| Only refresh tokens are allowed | Authorizationヘッダにリフレッシュトークンの指定が必要なAPIで、アクセストークンが指定された場合に本メッセージが表示されます。リフレッシュトークンを指定してください。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| You do not have authorization to perform the operation | 対象のAPIを実行する権限を持たないユーザーでAPIが実行された場合に本メッセージが表示されます。API実行ユーザーの権限を確認してください。API実行に必要な権限は、各エンドポイントの権限欄を参照してください。 |
| Forbidden: [limit over]account_license: 1 | ユーザー登録最大件数(エンドユーザー)を超過した場合に本メッセージが表示されます。 Senju Service Managerに登録されているユーザー数を確認し、登録最大件数の範囲内で登録してください。登録可能な「有効」ユーザー数の上限は、ライセンスに依存します。 |
| Forbidden: [limit over]account_license: 2 | ユーザー登録最大件数(エンドユーザー(固定))を超過した場合に本メッセージが表示されます。 Senju Service Managerに登録されているユーザー数を確認し、登録最大件数の範囲内で登録してください。登録可能な「有効」ユーザー数の上限は、ライセンスに依存します。 |
| Forbidden: [limit over]account_license: 3 | ユーザー登録最大件数(エンドユーザー(同時接続))を超過した場合に本メッセージが表示されます。 Senju Service Managerに登録されているユーザー数を確認し、登録最大件数の範囲内で登録してください。登録可能な「有効」ユーザー数の上限は、ライセンスに依存します。 |
| Forbidden: [limit over] agency_approval | 代理承認者の選択可能最大件数を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、選択可能最大件数内で指定してください。選択可能最大件数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] team_user | ユーザー所属可能チーム数の上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー所属可能チーム数の範囲内で指定してください。ユーザー所属可能チーム数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] team_role_user | ユーザー所属可能最大チーム×役割数の上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー所属可能最大チーム×役割数の範囲内で指定してください。ユーザー所属可能最大チーム×役割数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] sv_autnority_common_user | ユーザー割当可能最大メンテナンス権限(共通)数の上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー割当可能最大メンテナンス権限(共通)数の範囲内で指定してください。ユーザー割当可能最大メンテナンス権限(共通)数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] sv_autnority_system_user | ユーザー割当可能最大メンテナンス権限(システム)数の上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー割当可能最大メンテナンス権限(システム)数の範囲内で指定してください。ユーザー割当可能最大メンテナンス権限(システム)数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] system_user | ユーザー所属可能システムのの上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー所属可能システムの範囲内で指定してください。ユーザー所属可能システムの上限はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: [limit over] duty_user | ユーザー所属可能最大システム数×職責数の上限を超過した場合に本メッセージが表示されます。 リクエストボディの内容を確認し、ユーザー所属可能最大システム数×職責数の範囲内で指定してください。ユーザー所属可能最大システム数×職責数はSenju Service Manager画面と同じです。詳細は資料集「1.1.4 画面操作時の件数制限」を参照してください。 |
| Forbidden: can not delete 'SSM' user | 「SSM」ユーザーを削除しようとした場合に本メッセージが表示されます。 インストール時に登録されている「SSM」ユーザーは削除できません。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| Not Found: <アカウントID> | Senju Service Manager に登録されていないアカウントIDが指定された場合に本メッセージが表示されます。 指定したアカウントIDの内容を確認してください。 |
| Not Found authentication_setting_name: <認証サーバー名> | Senju Service Manager に登録されていない認証サーバー名が指定された場合に本メッセージが表示されます。 指定した認証サーバー名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found display_policy: <画面ポリシー名> | Senju Service Manager に登録されていない画面ポリシー名が指定された場合に本メッセージが表示されます。 指定した画面ポリシー名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found group_name: <グループ名> | Senju Service Manager に登録されていないグループ名が指定された場合に本メッセージが表示されます。 指定したグループ名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found team: <チーム名> | Senju Service Manager に登録されていないチーム名が指定された場合に本メッセージが表示されます。 指定したチーム名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found role: <役割名> | Senju Service Manager に登録されていない役割名が指定された場合に本メッセージが表示されます。 指定した役割名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found sv_authority_name: <管理権限名> | Senju Service Manager に登録されていない管理権限名が指定された場合に本メッセージが表示されます。 指定した管理権限名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found system: <システム名> | Senju Service Manager に登録されていないシステム名が指定された場合に本メッセージが表示されます。 指定したシステム名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found company_name: <会社名> | Senju Service Manager に登録されていない会社名が指定された場合に本メッセージが表示されます。 指定した会社名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found duty: <職責名> | Senju Service Manager に登録されていない職責名が指定された場合に本メッセージが表示されます。 指定した職責名およびSenju Service Managerの登録情報を確認してください。 |
| Not Found user_name: <ユーザー名> | Senju Service Manager に登録されていないユーザー名が指定された場合に本メッセージが表示されます。 指定したユーザー名およびSenju Service Managerの登録情報を確認してください。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| Conflict account is already exists. account_id=<ユーザーID> | 既に存在するユーザーID が指定された場合に本メッセージが表示されます。 指定したユーザー名およびSenju Service Managerの登録情報を確認し、重複しない値を指定してください。 |
| Conflict disp_user is already exists. disp_user=<社員番号> | 既に存在する社員番号が指定された場合に本メッセージが表示されます。 指定した社員番号およびSenju Service Managerの登録情報を確認し、重複しない値を指定してください。 |
| Conflict: <アカウントID> is logged in | ログイン中のユーザーを削除しようとた場合に本メッセージが表示されます。 本APIではSenju Service Manager にログイン中のユーザーを削除することはできません。対象ユーザのログアウト後に削除してください。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| Bad Authorization header. Expected value 'Bearer |
Authorization ヘッダの形式が不正の場合に本メッセージが表示されます。 リクエストヘッダの入力内容を確認し、正しい形式でAuthorizationヘッダを指定してください。 |
| レスポンスボディ中のメッセージ | 原因と対応 |
|---|---|
| Internal Server Error | API サーバーで異常が発生した際に本メッセージが表示されます。 管理者にお問い合わせください。 |
Senju Service Manager で提供するAPI 連携機能について制限事項を以下に示します。
認証方式がSSM 基本認証以外のユーザーはSenju Service Manager のAPI を実行することはできません。
ユーザーが複数のアクセストークンを発行することはできません。
以下のAPI が実行された場合、API 実行前のアクセストークンは無効化され使用できなくなります。
Senju Service Manager のパスワードが期限切れの場合、アクセストークン・リフレッシュトークンの発行API のレスポンスは制御情報の設定値に従います。
| 選択値 | アクセストークン・リフレッシュトークンの発行 |
|---|---|
| 変更しない(ログインする) | ○: |
| 変更しない(ログインしない) | ×:発行しない |
| 変更する | ×:発行しない |
| 選択値 | アクセストークン・リフレッシュトークンの発行 |
|---|---|
| 変更しない(ログインする) | ○: |
| 変更しない(ログインしない) | ×:発行しない |
| 変更する | ×:発行しない |
※APIは画面を持たないため、Senju Service Manager画面のように強制的にパスワードを変更させ、変更後のパスワードでログインするのと同等の処理が行えません。
そのため、管理項目の選択値が「変更する」の場合は認証失敗とみなしアクセストークン・リフレッシュトークンを発行しません。
上記の場合、Senju Service Manager 画面からパスワード変更を行ってください。
API サーバーとSSMWEB サーバーで使用しているWEB サーバーが異なるため、Senju Service Manager 画面とSenju Service Manager のAPI で制御情報の設定値が反映されるタイミングが異なります。