---
title: "[Sandbox] Transition RFI status"
method: PUT
path: "/sandbox/customer_profile/{cp_id}/rfi-requests/{rfi_id}/transition"
---

# \[Sandbox\] Transition RFI status

`PUT /sandbox/customer_profile/{cp_id}/rfi-requests/{rfi_id}/transition`

## Request

- Base URL: `https://api-sandbox.straitsx.com/v1`
- URL: `https://api-sandbox.straitsx.com/v1/sandbox/customer_profile/{cp_id}/rfi-requests/{rfi_id}/transition`
- Auth: API key in header `X-XFERS-APP-API-KEY`

[Available in Sandbox environment only] Simulate approving or expiring an RFI request.

## Path parameters

- `cp_id` string, required
- `rfi_id` string, required

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Request body

- object
  - `data` object, required
    - `attributes` object, required
      - `status` string, required: Accepts `completed` or `expired`

## Response `200`

- object
  - `data` object
    - `id` string: Unique RFI ID.
    - `type` string: Request type.
    - `attributes` object
      - `customerProfileId` string: Unique Customer Profile ID.
      - `activeRfiRequest` object
        - `createdAt` string: Date and time when the RFI was created.
        - `status` string: Status of outstanding RFI.
        - `rfiQuestions` object[]
          - `id` integer: Unique question ID.
          - `question` string: RFI question.
          - `optional` boolean: `true` indicates an optional question, `false` indicates a mandatory question.
          - `replyType` string: Question type. Accepts `TEXT`, `DOC` and `CHECKBOX` only.
          - `questionStatus` string: This shows the status of the RFI question.
          - `requiresAction` boolean: `true` indicates a mandatory question, `false` indicated an optional question.
          - `checkboxOptions` string[]: Only applicable for checkbox question types. This shows the acceptable options.
      - `rfiProgressSummary` object
        - `expiryDate` string, date-time: This shows the date and time that the RFI will expire.
        - `daysUntilExpiry` integer: This shows the number of days left before the RFI expires.
        - `daysExpired` integer: This shows the number of days passed since the RFI expired.
        - `completionPercentage` integer: This shows the completion percentage of the RFI.
        - `totalQuestions` integer: This shows the total number of questions in the RFI.
        - `acceptedQuestions` integer: This shows the number of questions that are accepted.
        - `pendingQuestions` integer: This shows the number of questions that are still pending.
        - `rejectedQuestions` integer: This shows the number of questions that are rejected.

---

[API](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url.md) - [All operations](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url/llms.txt) - [OpenAPI document](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url/revisions/d17239d67150?raw)
