ApiStatusRepresentation Class

Stores details of the API request such as execution messages, status code, and status message.

runtime_industries_cpq

Contains properties to include the API response details.

The ApiStatusRepresentation class includes these properties.

  • messages

    Get the status messages of the API execution.

  • statusCode

    Get the status code of the API execution.

  • statusMessage

    Get the display label for the API status.

Get the status messages of the API execution.

public List<ConnectApi.CpqMessageOutputRepresentation> messages {get; set;}

Type: List<ConnectApi.CpqMessageOutputRepresentation>

Get the status code of the API execution.

public String statusCode {get; set;}

Type: String

Get the display label for the API status.

public String statusMessage {get; set;}

Type: String