プロジェクトのプロファイルの取得
説明
指定したIDのプロジェクトのプロファイルを取得します。
プロジェクトのプロファイルとは
各プロジェクトで保持するプロファイルです。
必要権限
なし
URL
GET /project/projects/{projectId}/profile
パスパラメーター
名前 | 型 | 必須か | 説明 |
---|---|---|---|
projectId | string | ○ | プロジェクトID |
クエリパラメーター
名前 | 型 | 必須か | 説明 |
---|---|---|---|
includes | string | × | 追加で取得するプロファイルの詳細情報 ※includesを指定しない場合は、フィールド自体取得されません。 カンマ区切りで以下の値を複数指定できます。 ・ItemTypes:アイテムタイプ ・FieldTypes:フィールドタイプ ・StatusTypes:ステータスタイプ ・ProjectProperties:プロジェクト変数 |
レスポンス
名前 | 型 | 説明 |
---|---|---|
ー | ProjectProfile[] | 取得したプロファイル情報 |
エラーケース
なし
特記事項
なし。
サンプル
ID:27のプロジェクトのプロファイルを取得する
GET /project/projects/27/profile?includes=ItemTypes,FieldTypes,StatusTypes
Response
200 OK
[
{
"statusTypes": [
{
"id": "1",
"groupId": "1",
"name": "未着手",
"color": "#BDBDBD",
"code": "",
"description": "",
"displayOrder": 0.166666666666667
},
・
・
・
],
"itemTypes": [
・
・
・
{
"itemTypeId": "4",
"name": "パッケージ",
"systemName": "Package",
"code": "",
"color": "",
"description": "",
"iconName": "folder",
"baseType": "Task",
"itemTypeCategory": "WorkItem",
"isSystemItemType": true,
"isFolder": true,
"isContentType": false,
"canInputTimeEntry": false,
"config": {
"name": "パッケージ",
"allowedSubItemTypeIds": [
],
"allowedTimeEntryCategoryIds": [
],
"allowedProcessCategoryIds": [
],
"itemTypeId": null
},
"displayOrder": 0.666666666666667,
"initialStatusTypeId": null,
"isDeleted": false,
"fields": [
{
"fieldTypeId": "1",
"displayOrder": 0.0125,
"isDeleted": false,
"config": {
},
"isCustomized": false
},
・
・
・
],
"statusTypes": [
{
"statusTypeId": "1",
"progress": 0.0,
"isDeleted": false
},
・
・
・
],
"formLayouts": [
],
"isCustomized": false,
"isStatusCustomized": false
},
・
・
・
],
"fieldTypes": [
{
"id": "1",
"name": "ID",
"systemName": "Id",
"category": "Common",
"code": "",
"description": "",
"group": "システム",
"fieldCode": "1",
"dataType": "DTItem",
"isSystemField": true,
"isVisible": true,
"isCustomizable": false,
"isQueryable": true,
"allowedFieldCalcTypes": [
"None"
],
"defaultConfig": {
"profileId": "31",
"fieldTypeId": "1",
"name": "ID",
"isRequired": false,
"isEditable": false,
"defaultValue": "",
"allowedValues": "",
"minValue": "",
"maxValue": "",
"minLength": 0,
"maxLength": 0,
"validationRegex": "",
"format": "",
"isExpression": false,
"isChildRelated": false,
"expressions": [
],
"defaultFieldCalcType": "None",
"defaultFieldCalcTypeWithChildren": "None",
"minLines": 0,
"formatCategory": "",
"decimalDigits": 0,
"unitName": "",
"currency": "",
"useDigitSeparators": false,
"isDeleted": false,
"isDerived": true,
"isCustomized": false
}
},
・
・
・
],
"name": "プロファイル",
"versionName": "",
"code": "",
"description": "",
"revisedContent": "",
"profileNumber": "30",
"revision": 1,
"baseProfileId": "30",
"baseProfileNumber": "27",
"baseProfileName": null,
"isProjectPrivate": true,
"privateProjectId": "27",
"isPublished": true,
"profileCategoryId": "0",
"profileCategoryName": null,
"isDeleted": false,
"timeEntryCategoryRequiredInTimeEntry": false,
"processCategoryRequiredInTimeEntry": false,
"lastBaseAppliedAt": "2023-08-14T02:18:57Z",
"configUpdatedAt": "2023-07-29T23:09:12Z",
"isCustomized": false,
"metadata": {
},
"id": "31",
"createdAt": "2023-07-03T06:00:01Z",
"createdBy": "21",
"updatedAt": "2023-07-29T23:09:12Z",
"updatedBy": "21"
}
]