Skip to main content
Last updated on
Version: v0.9

Set project config

Change the configuration of eTask in the current channel.

POST api/_configs/project
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data-binary [ConfigObject] |

URL Endpoint

api/_configs/project

Method

POST.

Parameters

No support OData Filter syntax.

Request

Header

--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

x-appvity-channelId, x-appvity-teamid, Cookie is required.

Body

{
"Title": "",
"eTasks": {
"enable": true,
"displayName": ""
},
"Microsoft.Planner": {
"enable": false,
"sourceId": "",
"displayName": "",
"replayName": ""
},
"Jira": {
"enable": true,
"projects": [
{
"enable": true,
"enableBug": true,
"primary": false,
"_id": "5f680e6d4d596392f55e0553",
"displayName": "",
"hostname": "anadea.atlassian.net",
"username": "oliver@anadea.com",
"password": "p9yLpfemRKa1EP72a1hP2286",
"projectId": "10108",
"projectName": "J Anadea Project",
"source": "Jira",
"sourceId": "10108",
"tenantId": "df7abg9c-c05a-4fc9-b958-64faered911d",
"createdAt": "2020-09-21T02:22:37.655Z",
"createdBy": {
"name": "Oliver Neal",
"username": "oliver@anadea.com",
"sourceId": "5083cb81-35f4-4abd-ba2d-e7b9965c1f89"
},
"updatedAt": "2020-09-21T04:50:37.615Z",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"groupId": "f87faa71-57a8-4c14-91f0-517f54645106",
"entityId": "eTask.30c4d651-af40-4739-f9a1-5da75d4fbb4b",
"__v": 1
}
]
},
"Microsoft.Vsts": {
"enable": true,
"projects": [
{
"enable": true,
"enableBug": true,
"primary": false,
"_id": "5f602e074d596392f53d456c",
"displayName": "",
"hostname": "https://anadea.visualstudio.com",
"token": "oimst7dmtlpzxnqhvhbbyuyntgeqqwhzldmsrqonqyxlli7t546a",
"projectId": "1db34929-5779-4a21-b986-b9846ab1f4b4",
"projectName": "Z Anadea Project",
"source": "Microsoft.Vsts",
"sourceId": "1db34929-5779-4a21-b986-b9846ab1f4b4",
"tenantId": "df7abg9c-c05a-4fc9-b958-64faered911d",
"createdAt": "2020-09-15T02:59:19.292Z",
"createdBy": {
"name": "Oliver Neal",
"username": "oliver@anadea.com",
"sourceId": "5083cb81-35f4-4abd-ba2d-e7b9965c1f89"
},
"updatedAt": "2020-09-15T02:59:57.915Z",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"groupId": "f87faa71-57a8-4c14-91f0-517f54645106",
"entityId": "eTask.30c4d651-af40-4739-f9a1-5da75d4fbb4b",
"__v": 1
}
]
},
"projectSetting": {
"projectName": "",
"displayName": "",
"color": "#16e754ff",
"status": "New",
"startDate": "",
"closedDate": "",
"defineFields": {
"startDate": {
"required": false,
"method": "none"
},
"dueDate": {
"required": true,
"method": "none"
},
"dateReminderDS": 4
},
"channelId": ""
},
"userManagement": [],
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2"
}

Response

Returns 200 OK if successfully.

Was this page helpful?