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": "0c71c82b-03fc-44d5-8115-19911f4555cf",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "0373bd09-05ec-480b-8d6f-a8fd5fc35a3b",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-06-18T03:19:33.3642646+00:00",
        "finVigencia": "2026-06-18T03:19:33.3642646+00:00",
        "idTipoProveedor": "a6936d48-254e-4308-8915-cc50afad27de",
        "fecAlta": "2026-06-18T03:19:33.3642646+00:00",
        "status": true,
        "idTipoPersona": "9b6ae2c8-3293-4ca2-82e6-b491ce4bb2e5",
        "fecBaja": "2026-06-18T03:19:33.3642646+00:00",
        "idDireccionComercial": "f8d41bd4-c5f3-4ab1-aebb-dc035be89f56",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "9ead8e96-67c2-4260-899f-fbe9fada3b5c",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "92295356-6c47-4f7b-99a3-6755bdcc5b60",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "7eb6010a-94af-412a-896c-ee0ab3223f7c",
                  "idTipoArchivo": "91ee6839-a073-4f0b-9115-4b1bc884fd37",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "eb0d1c3f-6d93-4e23-a41a-43404387d358",
              "idProveedor": "9fc69f11-2c4e-47a9-8038-5ca3e5d7e336",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "82cebad4-84f8-4038-b0d1-4fec1e5607f6",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "d607a1ce-8001-4789-a3de-58ab8adb8790",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "ccbb7c0f-c1b0-4da0-a0f9-1062cf5433a2",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "894d53d7-f55b-4ec8-8f5e-bdddfed7a399",
                "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": "c4d50358-d232-46cd-b0f5-491181bb2391",
              "idImpuesto": "55666e28-8173-4df4-966c-0f5e95c6cb91",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "4d14c2b9-454c-4b78-9b9a-42fb65d006ee",
                "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": "040fc9ae-de63-451e-ba5d-7bb83c878e8f",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "26d31869-9f17-4acb-831c-532d214b7bc1",
                    "nomProducto": "sample string 2",
                    "idRed": "4f531cc3-88d8-4c6a-937f-91129d247bef",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "f5b39775-e958-4f25-9048-77dd0aa9fef8",
                          "idProducto": "42f8578c-c34e-4988-b036-14208923a0c9",
                          "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": "6568de2b-fdd8-4181-9f8e-01ea9037d816",
              "idProveedor": "ff886fcf-e154-4a42-9608-867a1018accb",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "f8cc6419-7523-4808-bb5b-63e6f989326f",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "a848343e-35d7-40ed-aa84-94e7e337ad89",
              "idProveedor": "9cf1f2e2-115f-4c1d-8469-3b6eb87845ad",
              "idPersona": "7daa55f4-7ddb-4a52-9eb3-fce88d0e8aca",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "e93b28a6-74c0-436e-9e86-f48f9ccc5cda",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "a200a1ed-b3a2-4a25-9311-dc9733052ee6",
          "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": "7f525e9e-c02a-44ba-b6a2-0b845775f228",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "9b9b4337-b82a-45cc-b186-bd690268f440",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-06-18T03:19:33.3642646+00:00",
        "finVigencia": "2026-06-18T03:19:33.3642646+00:00",
        "idTipoProveedor": "bec20bf4-0091-4c2e-9f0f-737148d5955f",
        "fecAlta": "2026-06-18T03:19:33.3642646+00:00",
        "status": true,
        "idTipoPersona": "ed8881d4-ee0d-4389-bc07-2976a859a2c7",
        "fecBaja": "2026-06-18T03:19:33.3642646+00:00",
        "idDireccionComercial": "1e85a931-1d80-4f0c-ae09-2bbf730ebdbe",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "e6b0abe1-84f8-4ebc-b4a8-b43e963fabf3",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "cf34f36c-304b-41af-8671-13651093b49c",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "30e857c1-6bf6-4745-82ef-4927b0174d4e",
                  "idTipoArchivo": "876e598d-7315-4d60-93f5-58f31f1dabdf",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "f6896b22-6e2a-4fb0-8ec4-7716b8fa06ce",
              "idProveedor": "45ba7e08-d6b0-423d-bed7-1551c7732afb",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "763a2180-d34e-41b9-999e-c87c3c5a4f76",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "e39a1f77-99c3-48d7-bb36-f3be41676590",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "20b7b62a-02b5-4604-b618-850f4e7537ca",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "754facc3-02b0-4cb5-a66b-c3fbdf483093",
                "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": "6c20b8b2-7a60-424a-8ed6-98d69cb332d2",
              "idImpuesto": "895c88dc-ec93-4f01-9c97-26e6afc4cbc0",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "82835eee-d657-481e-b755-fedb7de74260",
                "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": "f155eb0f-03a8-4a2c-a920-d91bff9cff81",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "1b2ee2c6-3c51-47bc-8fe0-46680ae274ad",
                    "nomProducto": "sample string 2",
                    "idRed": "99307c13-350e-4896-9f2b-1132a61c08f5",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "94133e97-805e-4e87-8e61-864a5884a98a",
                          "idProducto": "d1cfd800-923e-46ef-b595-dd869aaa8fab",
                          "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": "abe8705d-7741-4aaa-8193-2132cd0ef8a7",
              "idProveedor": "d8e04673-d8ae-48af-8cbe-60785fc7a25e",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "5202686a-1190-4eee-90c5-47c14e3bcc7a",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "449c51d8-7735-458c-bd47-7d5f128fdeae",
              "idProveedor": "b6c288b8-8a49-40ed-a052-01005478a40e",
              "idPersona": "bec81231-903d-4b4e-8f4b-b92577b085a6",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "ebba452b-589b-48a1-8427-e631427b46a0",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "790a5d87-96a1-458b-8549-b08f6326b363",
          "DatosGenerales": 2,
          "DatosFiscales": 3,
          "DatosArchivos": 4,
          "Proveedor": {
            "$ref": "3"
          }
        },
        "Archivos": {
          "$id": "33",
          "$values": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}