POST Flow/Tickets/CountApproved

Returns the number of approved Flow Tickets. 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 approved Flow Tickets.

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 number of approved Flow Tickets

Request

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

Response

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