---
agentTools:
  projectIndex: https://moblix.readme.io/llms.txt
---

# /api/Pessoa/GravarPJPortal

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "MilhasApi",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.moblix.com.br"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/Pessoa/GravarPJPortal": {
      "post": {
        "summary": "/api/Pessoa/GravarPJPortal",
        "description": "",
        "operationId": "apipessoagravarpjportal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Contato": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "DDI": {
                          "type": "string"
                        },
                        "Numero": {
                          "type": "string"
                        },
                        "DDD": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "Endereco": {
                    "type": "object",
                    "properties": {
                      "Cep": {
                        "type": "string"
                      },
                      "Logradouro": {
                        "type": "string"
                      },
                      "Numero": {
                        "type": "string"
                      },
                      "Complemento": {
                        "type": "string"
                      },
                      "Bairro": {
                        "type": "string"
                      },
                      "Cidade": {
                        "type": "string"
                      },
                      "Estado": {
                        "type": "string"
                      }
                    }
                  },
                  "Tipo": {
                    "type": "integer",
                    "default": 2,
                    "format": "int32"
                  },
                  "RazaoSocial": {
                    "type": "string"
                  },
                  "Nome": {
                    "type": "string"
                  },
                  "CNPJ": {
                    "type": "string"
                  },
                  "Email": {
                    "type": "string"
                  },
                  "Cpf": {
                    "type": "string"
                  },
                  "Sexo": {
                    "type": "string"
                  },
                  "Nascimento": {
                    "type": "string",
                    "format": "date"
                  },
                  "Senha": {
                    "type": "string"
                  },
                  "ConfirmaSenha": {
                    "type": "string"
                  },
                  "Ativo": {
                    "type": "boolean",
                    "default": true
                  },
                  "IdPermissao": {
                    "type": "integer",
                    "default": 4,
                    "format": "int32"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "Id": 0,
                    "valido": false,
                    "Contato": [
                      {
                        "DDI": "55",
                        "Numero": "3045-5285",
                        "DDD": "61"
                      }
                    ],
                    "Endereco": {
                      "Cep": "72.120-600",
                      "Logradouro": "QND 60",
                      "Numero": "",
                      "Complemento": "",
                      "Bairro": "Taguatinga Norte (Taguatinga)",
                      "Cidade": "Brasília",
                      "Estado": "DF"
                    },
                    "Tipo": 2,
                    "RazaoSocial": "Teste Moblix LTDA",
                    "Nome": "Testes Moblix",
                    "CNPJ": "20179907000177",
                    "Email": "testecnpj@hotmail.com",
                    "Senha": "Joaop153153",
                    "ConfirmaSenha": "Joaop153153",
                    "Ativo": true,
                    "IdPermissao": 4
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61043635c20fdd006aa1a72f:63332a4037a46d0016434b3e"
}
```