> ## Documentation Index
> Fetch the complete documentation index at: https://bmpdocs.moneyp.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# 3 - Consultar Solicitações

Este método permite consultar solicitações de análise de crédito, sempre que ocorrerem alterações na situação/status.


## OpenAPI

````yaml post /SolicitacaoAnalise/ConsultarSolicitacoes
openapi: 3.0.1
info:
  title: BMPDigitalCore.ApiExterna.SolicitacaoAnalise.API
  version: '1.0'
servers:
  - url: https://api.bmpdigital.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /SolicitacaoAnalise/ConsultarSolicitacoes:
    post:
      tags:
        - SolicitacaoAnalise
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolicitacoesAnaliseCreditoCommand'
          text/json:
            schema:
              $ref: '#/components/schemas/SolicitacoesAnaliseCreditoCommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SolicitacoesAnaliseCreditoCommand'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SolicitacoesAnaliseCreditoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SolicitacoesAnaliseCreditoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SolicitacoesAnaliseCreditoResponse'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ResponseBase'
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBase'
            text/json:
              schema:
                $ref: '#/components/schemas/ResponseBase'
components:
  schemas:
    SolicitacoesAnaliseCreditoCommand:
      type: object
      properties:
        dto:
          $ref: '#/components/schemas/SolicitacoesAnaliseCreditoDTO'
      additionalProperties: false
    SolicitacoesAnaliseCreditoResponse:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        hasError:
          type: boolean
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
        solicitacoes:
          type: array
          items:
            $ref: '#/components/schemas/SolicitacoesAnaliseCredito'
          nullable: true
      additionalProperties: false
    ResponseBase:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        hasError:
          type: boolean
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
      additionalProperties: false
    SolicitacoesAnaliseCreditoDTO:
      required:
        - documentoCliente
      type: object
      properties:
        documentoCliente:
          maxLength: 20
          minLength: 0
          type: string
          description: Refere-se ao número do documento federal do cliente.
          nullable: true
      additionalProperties: false
    Message:
      type: object
      properties:
        messageType:
          $ref: '#/components/schemas/ErrorType'
        code:
          type: string
          nullable: true
        context:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        field:
          type: string
          nullable: true
      additionalProperties: false
    SolicitacoesAnaliseCredito:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
          nullable: true
        identificador:
          type: string
          nullable: true
        situacao:
          type: integer
          format: int32
        dtInclusao:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    ErrorType:
      enum:
        - 1
        - 2
        - 3
      type: integer
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Informe o token
      name: Authorization
      in: header

````