POST api/catTipoPersonas

Request Information

URI Parameters

None.

Body Parameters

catTipoPersona
NameDescriptionTypeAdditional information
idTipoPersona

globally unique identifier

None.

codTipoPersona

string

None.

nomTipoPersona

string

None.

Proveedor

Collection of Proveedor

None.

Request Formats

application/json, text/json

Sample:
{
  "idTipoPersona": "4a6ca8e6-a14f-4825-9798-44bc21558335",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "cf8054c7-bccd-437d-86eb-d22f347c57d7",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-08-12T14:51:42.5818867+00:00",
        "finVigencia": "2026-08-12T14:51:42.5818867+00:00",
        "idTipoProveedor": "f4c0ef9e-6b1d-4f10-a8e0-51b8eb24e44d",
        "fecAlta": "2026-08-12T14:51:42.5818867+00:00",
        "status": true,
        "idTipoPersona": "161efc41-9621-4b4b-9624-9b2773c6a9d2",
        "fecBaja": "2026-08-12T14:51:42.5818867+00:00",
        "idDireccionComercial": "f74fa120-84d8-441e-804d-ecc0c9df5108",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "59a5e6cb-5da0-45da-835c-9bafc9264143",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "487a7241-73b3-4540-8f88-ace8692599db",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "9f9b27f1-e2ee-4154-a860-249349a0a610",
                  "idTipoArchivo": "91bba2dd-7777-4591-986a-b45f038ce2d9",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "4aa41e2e-f67d-440b-bf39-12ed29cbe0f3",
              "idProveedor": "85c85a5f-0c1e-4737-bbdd-4df9cf5d7bee",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "daa71cc7-7f86-4823-a586-07cfdf88eb5c",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "91000f1d-f9f0-402c-a9ba-d3ab1aa99672",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "627943fa-8a34-4108-9b41-29a270bd2083",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "fba1e382-2834-4f90-9d39-88797d20afb3",
                "codGenero": "sample string 2",
                "nomGenero": "sample string 3",
                "Proveedor_Cedulas": {
                  "$id": "15",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "11"
            }
          ]
        },
        "catImpuesto_Det": {
          "$id": "16",
          "$values": [
            {
              "$id": "17",
              "idImpuestoDet": "afc1becc-c9f3-4cb8-a2ea-7c3b5769bddf",
              "idImpuesto": "a859ab92-b56f-4d6d-8f84-816309b13f83",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "139ec9e5-1807-46b1-a105-61d6656c308a",
                "codImpuesto": "sample string 2",
                "nomImpuesto": "sample string 3",
                "catImpuesto_Det": {
                  "$id": "19",
                  "$values": [
                    {
                      "$ref": "17"
                    },
                    {
                      "$ref": "17"
                    }
                  ]
                }
              },
              "Proveedor": {
                "$id": "20",
                "$values": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ]
              }
            },
            {
              "$ref": "17"
            }
          ]
        },
        "Redes": {
          "$id": "21",
          "$values": [
            {
              "$id": "22",
              "idRed": "c41dde72-c2da-4e7c-8a31-eab292441b6c",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "d006478c-0b0a-491d-8716-1235a77f89c7",
                    "nomProducto": "sample string 2",
                    "idRed": "17975ed6-f33e-4a45-93c2-82b7d422d551",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "b85444c6-155a-4d6e-8cf9-25bd0a88729c",
                          "idProducto": "2b45fc0f-62df-4930-a798-45042cd71c1d",
                          "Producto": {
                            "$ref": "24"
                          }
                        },
                        {
                          "$ref": "26"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "24"
                  }
                ]
              },
              "Proveedor": {
                "$id": "27",
                "$values": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ]
              }
            },
            {
              "$ref": "22"
            }
          ]
        },
        "Persona_Moral": {
          "$id": "28",
          "$values": [
            {
              "$id": "29",
              "idPersonaMoral": "2b6b59c4-47ba-4c37-b4d9-63e132e4c1dc",
              "idProveedor": "b77a2aa6-4d7a-40a3-94ce-63a9249240cc",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "5c1ece1a-51a7-4294-8a92-2b8a961ed5fd",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "c2f1c23a-ae2d-4da4-81ff-a887477410e9",
              "idProveedor": "7f26bbdc-7278-4c9f-8738-8cd3230fff7a",
              "idPersona": "27e6a49f-5bfe-4772-bef3-42b89898c7cb",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "49da7610-59c2-4d1f-b091-e5f64b929b98",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "c807b03b-77cd-4932-b47f-4e5b6add6ae4",
          "DatosGenerales": 2,
          "DatosFiscales": 3,
          "DatosArchivos": 4,
          "Proveedor": {
            "$ref": "3"
          }
        },
        "Archivos": {
          "$id": "33",
          "$values": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

catTipoPersona
NameDescriptionTypeAdditional information
idTipoPersona

globally unique identifier

None.

codTipoPersona

string

None.

nomTipoPersona

string

None.

Proveedor

Collection of Proveedor

None.

Response Formats

application/json, text/json

Sample:
{
  "idTipoPersona": "7d9002bf-eb96-4b24-bd8a-74e22af3f9de",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "e0e9a32f-ece9-4fc0-b861-ac37ae263c9e",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-08-12T14:51:42.5975703+00:00",
        "finVigencia": "2026-08-12T14:51:42.5975703+00:00",
        "idTipoProveedor": "52fc5e06-3902-4265-b0bc-7b1876d237b5",
        "fecAlta": "2026-08-12T14:51:42.5975703+00:00",
        "status": true,
        "idTipoPersona": "2760ec08-d880-4285-8472-28e34b586b7f",
        "fecBaja": "2026-08-12T14:51:42.5975703+00:00",
        "idDireccionComercial": "40216cdc-e7fd-469c-b524-966b8356b201",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "e5facf9f-8025-4a87-89f2-b55c464ccda7",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "9584a2a0-3eed-4131-8161-eaebdaa648e7",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "dbb6551f-a656-4e68-9400-ee24bf58aa74",
                  "idTipoArchivo": "8dc5e851-c838-43ff-a20a-35caec62c399",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "d897e71c-f2f3-4fa8-9d33-9dc33706395f",
              "idProveedor": "d30a6593-af26-4249-a4b2-f4029a286dd5",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "4c0b0c4a-3261-4965-aeb6-4fb94a9646e2",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "31832bda-70b7-4807-8966-5a23bb906121",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "561f80b6-ae83-4741-b7fa-b3d9fae45270",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "903bfab0-2810-47fe-b324-f22557eab1c5",
                "codGenero": "sample string 2",
                "nomGenero": "sample string 3",
                "Proveedor_Cedulas": {
                  "$id": "15",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "11"
            }
          ]
        },
        "catImpuesto_Det": {
          "$id": "16",
          "$values": [
            {
              "$id": "17",
              "idImpuestoDet": "acdb317a-cb62-4038-8777-66f2c6a82e25",
              "idImpuesto": "671a0a5b-0901-4d89-b73a-2832de493747",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "21ef8427-23c0-4fb4-983b-e7aeb292ed6a",
                "codImpuesto": "sample string 2",
                "nomImpuesto": "sample string 3",
                "catImpuesto_Det": {
                  "$id": "19",
                  "$values": [
                    {
                      "$ref": "17"
                    },
                    {
                      "$ref": "17"
                    }
                  ]
                }
              },
              "Proveedor": {
                "$id": "20",
                "$values": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ]
              }
            },
            {
              "$ref": "17"
            }
          ]
        },
        "Redes": {
          "$id": "21",
          "$values": [
            {
              "$id": "22",
              "idRed": "5c87677d-b5de-47a2-b505-d282bd2207c6",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "9f55c760-1ea5-4c14-bee0-d9c04bf39cd1",
                    "nomProducto": "sample string 2",
                    "idRed": "9ea581d2-a46a-4345-b393-a443097104dc",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "74c88a57-565d-4f28-90fb-e22e29854146",
                          "idProducto": "693e2bb3-06a7-4d1e-b42c-d5fb0f402b32",
                          "Producto": {
                            "$ref": "24"
                          }
                        },
                        {
                          "$ref": "26"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "24"
                  }
                ]
              },
              "Proveedor": {
                "$id": "27",
                "$values": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ]
              }
            },
            {
              "$ref": "22"
            }
          ]
        },
        "Persona_Moral": {
          "$id": "28",
          "$values": [
            {
              "$id": "29",
              "idPersonaMoral": "24b10e00-b16f-478c-b7eb-b3027810ce72",
              "idProveedor": "7c3a94cd-c62c-4836-834b-02c526bfd9e1",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "0214938d-9ea6-4f0f-a746-5df60cb31461",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "f1408be6-afc0-4bfc-84d2-a42eb9a0083c",
              "idProveedor": "bb88a52a-0f6d-4ba5-8a4e-09605a0e5cf2",
              "idPersona": "66cff46f-bd91-42cb-ab86-cc36afd570ef",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "375d5cac-9a83-45a1-88ed-f79b87927a16",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "5eba4926-3876-4053-a2a7-4a2a447f7a52",
          "DatosGenerales": 2,
          "DatosFiscales": 3,
          "DatosArchivos": 4,
          "Proveedor": {
            "$ref": "3"
          }
        },
        "Archivos": {
          "$id": "33",
          "$values": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}