POST
/
v1
/
holder
/
{holderId}
/
organization
/
{organizationId}
/
partner
/
process
cURL
curl --request POST \
  --url https://search.tratum.com.br/v1/holder/{holderId}/organization/{organizationId}/partner/process \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "documentType": "<string>",
  "documentNumber": "<string>"
}'
{
  "success": true,
  "reason": "<string>",
  "total": 123,
  "result": [
    {
      "accessPauseMonitor": true,
      "documentInfo": "<string>",
      "dayPauseMonitor": 123,
      "documentType": "<string>",
      "documentNumber": "<string>",
      "consume": 123,
      "typePlan": "<string>",
      "userPlanConsumeUniqueId": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "planChangedAt": "2023-11-07T05:31:56Z",
      "dtAvailablePause": "2023-11-07T05:31:56Z",
      "typeSearch": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

holderId
integer
required

ID do parceiro

organizationId
integer
required

ID da organização

Body

application/json

Corpo da requisição

The body is of type object.

Response

200
application/json

Resultado do consumo de plano do usuário

The response is of type object.