Cost Category Jira Project Mapping
Cost Category Jira Project Mapping CRUD APIs.
Bulk sync cost category jira project mappings. This syncs the database to match the provided list by creating new mappings, updating existing ones, and deleting mappings not in the list.
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of all mappings after sync
PUT /gateway/ccm/api/recommendation/cost-category/jira-mapping/bulk?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 347
[
{
"uuid": "text",
"accountId": "text",
"costCategoryName": "text",
"costBucketName": "text",
"jiraProjectDetails": {
"projectId": "text",
"projectName": "text"
},
"createdAt": 1,
"lastUpdatedAt": 1,
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}
]{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}List all cost category jira project mapping
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns list of cost category jira project mapping
GET /gateway/ccm/api/recommendation/cost-category/jira-mapping?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Create cost category jira project mapping
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the created cost category jira mapping id
POST /gateway/ccm/api/recommendation/cost-category/jira-mapping?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 345
{
"uuid": "text",
"accountId": "text",
"costCategoryName": "text",
"costBucketName": "text",
"jiraProjectDetails": {
"projectId": "text",
"projectName": "text"
},
"createdAt": 1,
"lastUpdatedAt": 1,
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get cost category jira project preference by ID
Mapping ID
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the cost category jira project preference
GET /gateway/ccm/api/recommendation/cost-category/jira-mapping/{mappingId}?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update cost category jira project mapping
Mapping ID
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the updated cost category jira project mapping
PUT /gateway/ccm/api/recommendation/cost-category/jira-mapping/{mappingId}?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 345
{
"uuid": "text",
"accountId": "text",
"costCategoryName": "text",
"costBucketName": "text",
"jiraProjectDetails": {
"projectId": "text",
"projectName": "text"
},
"createdAt": 1,
"lastUpdatedAt": 1,
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Delete cost category jira project mapping
Preference ID
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns true if deleted successfully
DELETE /gateway/ccm/api/recommendation/cost-category/jira-mapping/{mappingId}?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?