Profile Check-in
    • PDF

    Profile Check-in

    • PDF

    Article summary

    1. Check in a Profile

    The PUT method can be used to check in the user profile that was checked out using the Checkout API. If a profile is not checked in at the end of its expiry, the application automatically checks in the profile. The transactionID that was generated during check-out is required as the input.

    Check-in only the specified access by using the following request:

    PUT{{url}}/api/access/{{txID}}?type=API

    Request Example

    An example PUT request for checking in the checked-out user profile is shown here:

    curl --location --request PUT '{{url}}/api/access/{{txID}}?type=API' \
    --header 'Authorization: TOKEN {{token}}'

    Response Example 

    An example response of the PUT request for checking in the checked-out user profile is shown here:

    Status: 200 OK
    {
        "accessStatusId": 13164,
        "userId": 67,
        "transactionId": "smith-3424rmyuw7ml1rnco24wcym",
        "expiration": "2020-10-14T09:44:12Z",
        "checkedOut": "2020-10-14T08:44:12Z",
        "checkedIn": "2020-10-14T08:50:22Z",
        "currentExtensionIndex": 0,
        "environmentId": "1111",
        "status": "checkedIn",
        "statusText": "Checked In",
        "papId": "13m3ud7zer5o7uge5yle"
    }

    Was this article helpful?