6.2 - Expire Proposals

POST - /v2.1/process/expire_proposals/:id

Expires proposals that were previously created

Path Params:

id: Pipeline id (string)

CURL Request Example

curl --request POST \
     --url https://demo-api.easycredito.com.br/api/external/v2.1/process/expire_proposals/vm%2Cn%20dzvcbnsdafnfdsajkfkjusdfnjakfsdfjhdsakjffjsafh \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRfaWQiOjc1LCJ0YWdfbmFtZSI6ImQ3ZDI5ZWViLTNiMDctNDFiZC05MDQ4LWM1MWIxZjNkYmNlYyIsInNjb3BlIjpbImFwaS1leHRlcm5hbCJdLCJpYXQiOjE2NjY2NDQ5NTcsImV4cCI6MTY2NjczMTM1N30.NAKwoqT22Gdq8JgF5E3O_xP6hP89LHs1m_SaWkgcKJDQc72qFMCGEdCbQ0QAYmaTnX2d-Lelm8wNEO4wk6OPp-6ZkGaenZljTB-as7fhTwl4QwKPy8qGVFUS3dDnq30k1XmJ4sV_TBVuRfiI_QCELOdOigMc4QJtM5KqZBQ1ZelunYnsu84mhlealQsiKT5KrNQ1GSLEiMo-ImsghHNT-WFULZ-nr0gjQert6CYokXnIW9hPm3iPFKjk3kM1st7ZeFcHkcJCJ0zUpZlZV0vzLXsQ2o6xCAf1U7z_wd-9aLgFshVgfqdynZnfUfv-n8acHbCL8wDTjkhb9eZ3ZVi9QBYh_bGtJ0AHMoMmksRYi7Doiv05P_eNo4rgfZ5YjguRWMMPO0kEJZC6HXGOcAMjoStsrb7P_ACx58M_NCrkmBox3iRYPjy6EX4Ev8STu0gVgSUBbWoNc52d9sYtqHfU8_Xvi4Td5e_ykuu2tkjrjNxb22C6lvJQxjxPE10r9o2mLuSeChESv8datNhnyNvUBwtdX2SwIk9XjOyMIdroEHl0Wvptj58DvjGqJn7R3TXU7PI2fAAW8AV761o9cLbhL_gk5UDJBqk8ikV7XPlfY7b5t8GE6inZA6CWG4VdrCog42bnacwx0bD9ANuNzYXDPiFG8CaLDH7X-6gySEBZ0Ek'

Response Example

{
  "id": "20190805062216",
  "status": "PROPOSAL_DENIED",
  "cpf": 191,
  "name": "Fulano d'Tal",
  "dateCreated": "2020-10-28T13:50:21.024Z",
  "lastUpdated": "2020-10-28T13:50:21.024Z"
}