POST Flow/Tickets/Count

Returns the number of Flow Tickets that are pending approval. For more information, see Flow Ticket status codes.

Requirements

  • Token scope:  Any valid scope, such as Agent, Certificate, or SSH

Headers

  • Content type: Content-Type:application/json.

  • Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.

Parameters

None

Returns

Response description

Name

Description

Count

The number of Flow Tickets that are pending approval.

Error

The reason the HTTP 400 Bad Request occurred.

Message

If the operation was successful, the string is empty. Otherwise, the reason why the operation failed is displayed, along with a Result.

Result

The Result code of this API call. For more information, see Flow Ticket result codes.

Example: Show the total number of tickets that are pending approval

Request

POST https://tpp.venafi.example/vedsdk/Flow/Tickets/Count
Authorization:Bearer 4MyGeneratedBearerTknz==
{
}

Response

HTTP/1.1 200 OK
{
   "Count": 8,
   "Message": ""
}