Pular para o conteúdo

Change default_template value of the orchestration template

Requisição

Changes default_template value of the orchestration template.

Segurança
Bearer
Caminho
namestring, (String), <= 64 charactersobrigatório

The name of the orchestration template you want to retrieve.

Corpoapplication/jsonobrigatório
default_templatebooleanobrigatório

Is orchestration template default.

Padrão:false
Exemplo:true
curl -i -X PUT \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/config/template/{name}/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "default_template": true
  }'

Respostas

Successfully created orchestration template.

Corpoapplication/json
namestring, <= 64 charactersobrigatório

Orchestration template name.

Exemplo:"custom_orchestration_template_v1"
payment_typestring

The payment type for which the template is to be used.

Enum:"REGULAR""RETURN""REVERSAL"
connector_rolestring

The connector role for which the template is to be used.

Enum:"SENDING""RECEIVING""INTERMEDIARY"
default_templateboolean

Is orchestration template default.

Padrão:false
Exemplo:true
orchestration_template_descriptionstring, <= 255 characters

Orchestration template description.

activity_orderArray of objectsobrigatório

Activity order list.

Resposta
{ "name": "custom_orchestration_template_v1", "payment_type": "REGULAR", "connector_role": "SENDING", "default_template": true, "orchestration_template_description": "string", "activity_order": [ { … } ] }