---
# System prepended metadata

title: Untitled

---


`plans` front:
![](https://i.imgur.com/3fhPwmv.png)

`plans` create:
![](https://i.imgur.com/foszpuf.png)

`PlanCreate` request:
![](https://i.imgur.com/Ol4QE80.png)

result:
![](https://i.imgur.com/d2iBVaK.png)

teste 2:
![](https://i.imgur.com/E5jOcFJ.png)
![](https://i.imgur.com/KWCu3oS.png)

![](https://i.imgur.com/IDbbh91.png)




``` lang=json
{
   "operationName":"PlanCreate",
   "variables":{
      "planInput":{
         "name":"Teste do Alef",
         "transaction_cycle":7,
         "minimum_period_contract":7,
         "status":"ACTIVE",
         "description":"Teste do Alef",
         "category":"SEDAN_BASICO",
         "is_zero_km":false,
         "billing_type":"PRE_PAY",
         "kind_configurations":{
            "FINE":{
               "amount":0,
               "installments":1
            },
            "THEFT":{
               "amount":0,
               "installments":1
            },
            "OTHERS":{
               "amount":0,
               "installments":1
            },
            "RECOVER":{
               "amount":0,
               "installments":1
            },
            "RECURRENCY":{
               "amount":44900,
               "installments":0
            },
            "MAINTENANCE":{
               "amount":0,
               "installments":1
            },
            "PRE_PAYMENT":{
               "amount":80000,
               "installments":3
            },
            "FIRST_PAYMENT":{
               "amount":36900,
               "installments":0
            }
         },
         "modifiers":{
            "PAY_PER_MILE":{
               "ranges":[
                  {
                     "start":0,
                     "end":100,
                     "value":15000
                  },
                  {
                     "start":101,
                     "end":500,
                     "value":11000
                  },
                  {
                     "start":501,
                     "end":850,
                     "value":8000
                  },
                  {
                     "start":851,
                     "end":1250,
                     "value":6000
                  },
                  {
                     "start":1250,
                     "end":0,
                     "value":0
                  }
               ]
            }
         }
      }
   },
   "query":"mutation PlanCreate($planInput: PlanInput!) {\n  createPlan(input: $planInput) {\n    id\n    name\n    description\n    transaction_cycle\n    minimum_period_contract\n    status\n    created_at\n    __typename\n  }\n}\n"
}
```

teste 2
``` lang=json
{
   "operationName":"PlanCreate",
   "variables":{
      "planInput":{
         "name":"Teste 2 do Alef",
         "transaction_cycle":7,
         "minimum_period_contract":7,
         "status":"ACTIVE",
         "description":"Teste 2",
         "category":"SEDAN_BASICO",
         "is_zero_km":false,
         "billing_type":"PRE_PAY",
         "kind_configurations":{
            "FINE":{
               "amount":0,
               "installments":1
            },
            "THEFT":{
               "amount":0,
               "installments":1
            },
            "OTHERS":{
               "amount":0,
               "installments":1
            },
            "RECOVER":{
               "amount":0,
               "installments":1
            },
            "RECURRENCY":{
               "amount":44900,
               "installments":0
            },
            "MAINTENANCE":{
               "amount":0,
               "installments":1
            },
            "PRE_PAYMENT":{
               "amount":90000,
               "installments":3
            },
            "FIRST_PAYMENT":{
               "amount":36900,
               "installments":0
            }
         },
         "modifiers":{
            "PAY_PER_MILE":{
               "ranges":[
                  {
                     "start":0,
                     "end":100,
                     "value":19000
                  },
                  {
                     "start":101,
                     "end":500,
                     "value":18000
                  },
                  {
                     "start":501,
                     "end":850,
                     "value":17000
                  },
                  {
                     "start":851,
                     "end":1250,
                     "value":10000
                  },
                  {
                     "start":1250,
                     "end":0,
                     "value":""
                  }
               ]
            }
         }
      }
   },
   "query":"mutation PlanCreate($planInput: PlanInput!) {\n  createPlan(input: $planInput) {\n    id\n    name\n    description\n    transaction_cycle\n    minimum_period_contract\n    status\n    created_at\n    __typename\n  }\n}\n"
}
```