Cases

Update information on a specific case.

Update case

post/cases/{id}

Request

  • Base URL: https://apigateway.jpmorgan.com/tsapi/ef/v1
  • URL: https://apigateway.jpmorgan.com/tsapi/ef/v1/cases/{id}
  • Auth: none declared

Path parameters

idstring required

Case ID. The unique identifier for a case.

Headers

tokenstring

JWT Client token

Request body

status'CLOSED' | 'REOPEN'

The status you want the case to have as a result of this request. To close a case, use CLOSED. To reopen a case, use REOPEN.

commentstring required

A comment on the case. Can be the reason for updating the status of a case.

Example request

{
  "status": "REOPEN",
  "comment": "I'm still having issues with one of my Debit cards. I would like to have a new card re-issued."
}

Response

Updated.

idstring required

Case identifier.

type'ACCOUNT' | 'CARD' | 'ENROLLMENT_OR_SIGNUP' | 'OTHER' | 'PROFILE' | 'STATEMENT' | 'SUSPICIOUS_ACTIVITY' | 'TRANSACTION' required

Case category

status'CLOSED' | 'REOPEN' | 'OPEN' required

Current status on case.

origin'PHONE' | 'FORM' | 'EMAIL' required

How the case was originally reported. This can be by form, phone, or email.

subjectstring required

Subject of a case.

descriptionstring required

More detailed description of the case.

createdDatestring required

Date/Time the case was opened

updatedDatestring required

Date/Time the case was closed

Example response

{
  "id": "100001154",
  "type": "ACCOUNT",
  "status": "OPEN",
  "origin": "FORM",
  "subject": "Issue with a payment made on 2/23/2022",
  "description": "I noticed that I mistakenly made a payment to the wrong supplier. I would like to revert the charges and send the correct one.",
  "createdDate": "2022-02-22T18:02:23.000+0000",
  "updatedDate": "2022-02-24T19:02:23.000+0000",
  "createdBy": {
    "name": "Service Agent"
  },
  "comments": [
    {
      "createdDate": "2022-01-06T21:53:27.000+0000",
      "comment": "Hi, sorry to hear you're having problems making a payment. Could you please confirm the amount that was paid?",
      "commentedBy": {
        "name": "Service Agent"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.