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": "7d5e12bd-9c42-4cc5-9b2f-475b15fb0b7e",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "f6ce3fb8-1434-47c4-a4cb-7377d7334622",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-07-10T14:10:14.658319+00:00",
        "finVigencia": "2026-07-10T14:10:14.658319+00:00",
        "idTipoProveedor": "e6f1ec07-d9f7-448d-8ec5-546538977d8c",
        "fecAlta": "2026-07-10T14:10:14.658319+00:00",
        "status": true,
        "idTipoPersona": "b2d2713c-0a47-43b1-b73c-c0d8f6075fd3",
        "fecBaja": "2026-07-10T14:10:14.658319+00:00",
        "idDireccionComercial": "4827611f-44a2-40e6-ac54-e962e5a6de0f",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "c0a58d6f-310f-4ea4-aa4d-dd2c971b1cf7",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "3bc697e1-bf40-448d-909f-45cacf4a5d63",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "a38fcdd5-7056-4b29-a54e-671999f20b7d",
                  "idTipoArchivo": "cd98296a-0e7a-416c-ac8d-d1b65ba0c456",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "81e28894-46cf-4e46-b5b3-e6bf3d408190",
              "idProveedor": "189cc138-7778-4622-8dd3-3c01721aaf7a",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "099714ee-b5da-421d-b01e-31e983006072",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "b21f5edf-e1ee-4564-8acf-192772e9306b",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "56d1600b-f1e2-4e87-ad11-c879f848c6df",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "53a9a95a-a4fe-49f2-99d7-71d5dcee4a6e",
                "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": "d8903a65-e35e-4bbc-9a27-89683147df43",
              "idImpuesto": "c19c7ec2-7b14-4602-8a5b-87b22949a0ba",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "74e6323f-1f3f-4654-a0ea-932762808ef9",
                "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": "f3ee831b-8776-4fa0-9afd-ac1598e7a3cf",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "8bc9a54a-a599-4429-8ea5-0f5b724384ad",
                    "nomProducto": "sample string 2",
                    "idRed": "96ed913f-e0b9-4530-9728-e1537be61a41",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "a7434d5d-668b-46f4-86e2-f3979638f765",
                          "idProducto": "b75ea53b-26f0-42b6-94f9-83e1bdf94380",
                          "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": "cd550aeb-b4aa-4a22-9532-505013538eee",
              "idProveedor": "2672d95f-a98c-4092-8e10-439b340ccf25",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "8f2fda72-53ad-4fd0-b358-7a05467d0fe1",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "854cb736-684d-4cd8-8f65-290a6f799e4d",
              "idProveedor": "8ad84447-4631-46e7-a986-220ede649c4f",
              "idPersona": "2b96a513-3206-4eea-b526-5e793562b8b7",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "dff54afb-3f0f-4b09-8e71-78daa352e7cd",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "202072c2-1b7f-427a-9c44-8d01b444cf12",
          "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": "940c98fa-c289-4983-b04f-5d1a33611ba4",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "a02e8650-d5b7-4bb9-b99b-ee22d47eff14",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-07-10T14:10:14.658319+00:00",
        "finVigencia": "2026-07-10T14:10:14.658319+00:00",
        "idTipoProveedor": "0ddb8195-6920-484d-8fbd-1ab440a5f158",
        "fecAlta": "2026-07-10T14:10:14.658319+00:00",
        "status": true,
        "idTipoPersona": "fd79ed15-150f-41ec-b884-9d58023fa104",
        "fecBaja": "2026-07-10T14:10:14.658319+00:00",
        "idDireccionComercial": "d35e0427-99fa-4686-8fe6-1cf015879cdd",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "1a41442e-82bc-4c19-8ec8-ce99b5876991",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "48cb839e-ae8e-479d-b1f3-7c5ada1f6915",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "1898037f-44cd-4864-bbf1-3f5b8c569059",
                  "idTipoArchivo": "0cfaed2a-461f-42ae-8f50-723be907576d",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "c697073f-47a2-4725-bea2-a9f9b3a0431c",
              "idProveedor": "3418b8c9-cdaa-4162-a022-31bd9e98d651",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "b4e865ab-cb0d-47c8-8a7d-7fe0f4f86934",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "40d488c7-8c24-4b85-a68c-49db63bdc2b0",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "79d88eca-6d2a-47f4-9b9d-738df2f13b61",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "310af162-1dc5-4afd-a2a4-61dfdfc5653c",
                "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": "e4610506-71bb-43b6-bd6b-757c6f4eb94f",
              "idImpuesto": "96ef63c7-b71e-46aa-9941-ef673f87f340",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "c1d8020e-bd1f-4c89-b72e-cb221e48af20",
                "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": "50f90190-9a2d-424e-ac7b-7b1367c27d12",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "4c7fdf17-1269-4867-ae1a-c60b6c847804",
                    "nomProducto": "sample string 2",
                    "idRed": "38ed1dc9-f5a8-4e9a-9f89-062dc0ef108e",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "4f904ecd-ffbb-4a6e-9c31-ce62324903fd",
                          "idProducto": "5e34deaa-f35a-4dfd-86f8-49cdde61c726",
                          "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": "b5e9e226-6574-46ab-9f43-29186558736e",
              "idProveedor": "e7d36f0b-4634-4cf2-a26c-89a3fa17bd01",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "e5314dc1-62f8-47ee-8bea-64e3902f6f12",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "542de759-ff05-41dd-987d-cf92425cd8f8",
              "idProveedor": "8b2cb373-a018-4473-a2ab-9b622765a25f",
              "idPersona": "476941e5-7f27-4ede-bd5d-cad857d0b107",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "078de520-d3a8-42c7-a879-8279fdba1333",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "f1c6170a-b19b-4047-8ef7-8d3cafc0f164",
          "DatosGenerales": 2,
          "DatosFiscales": 3,
          "DatosArchivos": 4,
          "Proveedor": {
            "$ref": "3"
          }
        },
        "Archivos": {
          "$id": "33",
          "$values": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}