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": "9ae832d3-b0ae-4635-aae8-0bfe5ba394dc",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "a2aca1df-03e8-4ff7-b0cf-1c57d8fcac29",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-05-08T14:14:23.3492339+00:00",
        "finVigencia": "2026-05-08T14:14:23.3492339+00:00",
        "idTipoProveedor": "1d364cb5-40e6-41c6-a3b9-77f031b010f0",
        "fecAlta": "2026-05-08T14:14:23.3492339+00:00",
        "status": true,
        "idTipoPersona": "60e3c4ce-304c-4b55-a04b-205e5c08fbbc",
        "fecBaja": "2026-05-08T14:14:23.3492339+00:00",
        "idDireccionComercial": "e69be9c3-2530-42cb-9306-2b901272abd0",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "6c2dd5fc-e3d3-4bce-b3db-d99bffd9d8fc",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "50e419ab-37f5-44bb-9791-5fac38a6edd5",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "5f51a1f2-d965-4ad7-a922-187f90637c97",
                  "idTipoArchivo": "4f1b8495-1ae8-4344-a486-a36f47684a46",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "5db7099f-5523-4cc5-8d2a-caa4f892d541",
              "idProveedor": "2818e804-ea1e-4efc-abd7-a213bfdf6abd",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "63d837b3-21f0-410f-a1c4-7807a0929311",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "a53440db-e00a-47ad-991c-faf7f4f24bba",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "705d21f5-8990-48e7-86c6-bbabf73d0f6f",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "a10aace0-1141-4557-96ab-d0ee6cbabcf4",
                "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": "49b1061d-5418-4f1a-bdbf-939f44e6de5d",
              "idImpuesto": "ee85bf74-f00d-4797-a4a4-be54165cedff",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "bb8e9a45-ffac-44d4-8a30-5980a4bdd380",
                "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": "09f7cd1b-d26d-44ba-82de-931be0ad60c9",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "6ad43b98-30df-41c0-abe7-0054258fa750",
                    "nomProducto": "sample string 2",
                    "idRed": "bf849fdf-2701-49d9-894f-3addbff4016a",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "d0369c41-3f5d-4e2c-b169-efd8f8f1f76b",
                          "idProducto": "0ac5eb50-072a-4b30-84e5-dd4e1b898245",
                          "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": "7d9d9011-68ad-4b93-9a12-8ce7da310641",
              "idProveedor": "c4ec4779-906e-44cf-8e55-96d94962f69c",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "0c693959-1d38-4149-822e-4d6fc4ca01e2",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "b42f31a4-c268-4db4-832f-c7c0d00e8b35",
              "idProveedor": "8d1d8d05-1a69-4e4c-b78d-bcdd413fb0c6",
              "idPersona": "0b2fb8c4-0e87-42f3-9cc2-3b19548ed822",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "da28d39a-74b9-42df-8d9c-13764069b5fe",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "50e85f97-1981-4622-87f4-3a8a95dbd952",
          "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": "579e4b84-c898-4376-bfcd-5c579c913e4b",
  "codTipoPersona": "sample string 2",
  "nomTipoPersona": "sample string 3",
  "Proveedor": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idProveedor": "c7a9642b-e443-4699-85a8-01f80c53ac0a",
        "numProveedor": "sample string 2",
        "nomComercial": "sample string 3",
        "iniVigencia": "2026-05-08T14:14:23.3492339+00:00",
        "finVigencia": "2026-05-08T14:14:23.3492339+00:00",
        "idTipoProveedor": "e2873ede-4608-4931-86bf-198b49babc17",
        "fecAlta": "2026-05-08T14:14:23.3492339+00:00",
        "status": true,
        "idTipoPersona": "324a9c17-09b8-42ee-9b38-c987c097d637",
        "fecBaja": "2026-05-08T14:14:23.3492339+00:00",
        "idDireccionComercial": "e55b88b7-f182-401e-86cf-16ff5a958951",
        "catTipoPersona": {
          "$ref": "1"
        },
        "catTipoProveedor": {
          "$id": "4",
          "idTipoProveedor": "0a8a8490-e4f1-4567-abc4-99ff7d68f267",
          "codTipoProveedor": "sample string 2",
          "nomTipoProveedor": "sample string 3",
          "Proveedor": {
            "$id": "5",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "catTipoArchivo": {
            "$id": "6",
            "$values": [
              {
                "$id": "7",
                "idTipoArchivo": "464a726e-8683-4f62-8236-bee63d15fce5",
                "nomTipoArchivo": "sample string 2",
                "catTipoProveedor": {
                  "$id": "8",
                  "$values": [
                    {
                      "$ref": "4"
                    },
                    {
                      "$ref": "4"
                    }
                  ]
                },
                "Archivos": {
                  "$id": "9",
                  "idArchivo": "96e7cbf6-59ff-42e3-9f31-e7d47b6c87f4",
                  "idTipoArchivo": "94b93cc8-62c3-4dc1-9795-7f0be97dfd8c",
                  "nomArchivo": "sample string 3",
                  "Archivo": "QEA=",
                  "catTipoArchivo": {
                    "$ref": "7"
                  },
                  "Proveedor": {
                    "$ref": "3"
                  }
                }
              },
              {
                "$ref": "7"
              }
            ]
          }
        },
        "Proveedor_Cedulas": {
          "$id": "10",
          "$values": [
            {
              "$id": "11",
              "idCedula": "fb8a06ae-c8a6-407c-8ffb-890592f0bdd9",
              "idProveedor": "faf4a99c-115c-4490-8a58-a70d4066ac6b",
              "identificador": "sample string 3",
              "numCedula": "sample string 4",
              "Titulo": "sample string 5",
              "idGenero": "4992397c-ab39-4f62-b15f-3d5113765d59",
              "Institucion": "sample string 7",
              "Nombre": "sample string 8",
              "Paterno": "sample string 9",
              "Materno": "sample string 10",
              "anioRegistro": 1,
              "Tipo": "sample string 11",
              "idEspecialidad": "8bdf286f-a6c7-46f6-b439-64cb08c197ae",
              "catEspecialidades": {
                "$id": "12",
                "idEspecialidad": "08c35c2a-426f-4734-88c4-ddcb926e7994",
                "nomEspecialidad": "sample string 2",
                "padre": 3,
                "hijo": 4,
                "Proveedor_Cedulas": {
                  "$id": "13",
                  "$values": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ]
                }
              },
              "catGenero": {
                "$id": "14",
                "idGenero": "596d5ceb-12af-447d-a20f-79bd24e70840",
                "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": "e493cec1-969f-4d48-8e93-9610aaf69e5c",
              "idImpuesto": "752b118f-85ad-4c9f-b2f0-00056dfa71a2",
              "codImpuestoDet": "sample string 3",
              "nomImpuestoDet": "sample string 4",
              "valImpuestoDet": 5.1,
              "catImpuestos": {
                "$id": "18",
                "idImpuesto": "4b4c782e-0f3a-402f-b486-04dad56695ff",
                "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": "1fc43d1c-2de0-4c3c-bb6c-ea0213b44273",
              "nomRed": "sample string 2",
              "base": 1.0,
              "Producto": {
                "$id": "23",
                "$values": [
                  {
                    "$id": "24",
                    "idProducto": "f2b17773-9917-490a-ac0d-77bd102728be",
                    "nomProducto": "sample string 2",
                    "idRed": "c2fb84ad-8831-451e-9871-91ce6e0613bb",
                    "Redes": {
                      "$ref": "22"
                    },
                    "Producto_rel_ClienteCorp": {
                      "$id": "25",
                      "$values": [
                        {
                          "$id": "26",
                          "idClienteCorp": "e6f03d27-b811-464e-8aa4-bf009eb71c2d",
                          "idProducto": "472c5a2c-d0d5-4428-bf07-925a67ec299b",
                          "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": "2554018f-f15a-40b0-9b33-2c4359fba6bc",
              "idProveedor": "d7067217-2d4e-4c10-b6ff-0d366d3df2f8",
              "RFC": "sample string 3",
              "RazonSocial": "sample string 4",
              "FolioCedulaFiscal": "sample string 5",
              "idDireccionFiscal": "6c863976-b0dd-49c3-80e4-248b3bb368e0",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "29"
            }
          ]
        },
        "PersonaFisica": {
          "$id": "30",
          "$values": [
            {
              "$id": "31",
              "idPersonaFisica": "bcc9dc99-3902-42f1-8b38-62e932386c5f",
              "idProveedor": "745b9d02-578f-4b18-abf5-7671f0637899",
              "idPersona": "0cc0509d-b1c5-48bf-99f5-ff69d72ff9b8",
              "RFC": "sample string 4",
              "RazonSocial": "sample string 5",
              "FolioCedulaFiscal": "sample string 6",
              "idDireccionFiscal": "324f61fb-12eb-4ea0-8f45-be7cba18ab90",
              "ConstanciaFiscal": "QEA=",
              "OpinionCumplimiento": "QEA=",
              "banCF": true,
              "banOC": true,
              "Proveedor": {
                "$ref": "3"
              }
            },
            {
              "$ref": "31"
            }
          ]
        },
        "ProgresoProv": {
          "$id": "32",
          "idProveedor": "8be319a3-064c-4c02-9291-651d45a2bdab",
          "DatosGenerales": 2,
          "DatosFiscales": 3,
          "DatosArchivos": 4,
          "Proveedor": {
            "$ref": "3"
          }
        },
        "Archivos": {
          "$id": "33",
          "$values": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}