Skip to content

/action endpoint | fetching job action details : notes attribute is not properly structed #228

@resatcaner

Description

@resatcaner

Issue:

Category: Issue

Area: API

Description: ['actionBody']['responses'][i]['notes'] node is not properly structured as json.

request: https://api2.kaiza.la/v1/groups/{{Group GUID}}/actions/{{ActionId-GUID}}?getDetails=true

response
{
"actionType": "Job",
"actionId": "ACTIONID",
"creatorId": "CREATORID",
"creatorName": "XXXX",
"actionDetails": {
"dueDate": "2020-11-04T20:59:59Z",
"title": "Test job",
"responseCount": 1,
"assigneeCount": 1,
"assignee": [
{
"mobileNumber": "+XXXXXXXXXXXXXX",
"name": "XXXXX"
}
],
"responses": [
{
"assignee": "+XXXX",
"response": "XXXXXXXX",
"notes": "[{\"UPDATE_TYPE\":\"STATUS_UPDATED\",\"UPDATE_TEXT\":\"In Progress\",\"UPDATE_TIME\":\"Tue 3 Nov, 10:40\",\"UPDATE_TIME_EPOCH\":1604396444045,\"ATTACHMENT\":\"\"}]",
"attachments": []
}
]
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions