POST api/PostPersonaMoral

Request Information

URI Parameters

None.

Body Parameters

Collection of Persona_Moral
NameDescriptionTypeAdditional information
idPersonaMoral

globally unique identifier

None.

idProveedor

globally unique identifier

None.

RFC

string

None.

RazonSocial

string

None.

FolioCedulaFiscal

string

None.

idDireccionFiscal

globally unique identifier

None.

ConstanciaFiscal

Collection of byte

None.

OpinionCumplimiento

Collection of byte

None.

banCF

boolean

None.

banOC

boolean

None.

Proveedor

Proveedor

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "idPersonaMoral": "65150e5f-7263-4c48-a946-07749c83ea64",
    "idProveedor": "7bdf07ab-a06d-491f-a34a-9af6ef1d64c2",
    "RFC": "sample string 3",
    "RazonSocial": "sample string 4",
    "FolioCedulaFiscal": "sample string 5",
    "idDireccionFiscal": "045ac8fc-f0a2-4bd8-8223-c28bb60a9da6",
    "ConstanciaFiscal": "QEA=",
    "OpinionCumplimiento": "QEA=",
    "banCF": true,
    "banOC": true,
    "Proveedor": {
      "$id": "3",
      "idProveedor": "76c13540-851b-49f5-95e5-c1e94ee6d2b1",
      "numProveedor": "sample string 2",
      "nomComercial": "sample string 3",
      "iniVigencia": "2026-03-13T20:36:00.5497856+00:00",
      "finVigencia": "2026-03-13T20:36:00.5497856+00:00",
      "idTipoProveedor": "d21a080b-9720-4e01-8449-bb96529ee692",
      "fecAlta": "2026-03-13T20:36:00.5497856+00:00",
      "status": true,
      "idTipoPersona": "d802e048-dfb5-44bc-9f20-0cd8704ae877",
      "fecBaja": "2026-03-13T20:36:00.5497856+00:00",
      "idDireccionComercial": "c23ca9f7-ac39-4c9e-b416-415aea375bfe",
      "catTipoPersona": {
        "$id": "4",
        "idTipoPersona": "60e35ab7-f48d-4a82-ab36-494260f52d5c",
        "codTipoPersona": "sample string 2",
        "nomTipoPersona": "sample string 3",
        "Proveedor": {
          "$id": "5",
          "$values": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        }
      },
      "catTipoProveedor": {
        "$id": "6",
        "idTipoProveedor": "38efe0f9-a78e-4ab7-aad3-b2a5c2de720f",
        "codTipoProveedor": "sample string 2",
        "nomTipoProveedor": "sample string 3",
        "Proveedor": {
          "$id": "7",
          "$values": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        },
        "catTipoArchivo": {
          "$id": "8",
          "$values": [
            {
              "$id": "9",
              "idTipoArchivo": "cc1e5381-2d4a-432f-808d-e708775c380c",
              "nomTipoArchivo": "sample string 2",
              "catTipoProveedor": {
                "$id": "10",
                "$values": [
                  {
                    "$ref": "6"
                  },
                  {
                    "$ref": "6"
                  }
                ]
              },
              "Archivos": {
                "$id": "11",
                "idArchivo": "43931167-dda7-4e57-946f-2803748ffd91",
                "idTipoArchivo": "f2dfcf05-1746-4ec9-81aa-d973271b5f7c",
                "nomArchivo": "sample string 3",
                "Archivo": "QEA=",
                "catTipoArchivo": {
                  "$ref": "9"
                },
                "Proveedor": {
                  "$ref": "3"
                }
              }
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      "Proveedor_Cedulas": {
        "$id": "12",
        "$values": [
          {
            "$id": "13",
            "idCedula": "1f285953-45d7-4826-b3a1-deaf1de34762",
            "idProveedor": "b3873064-487a-446c-8e5b-007204a1816f",
            "identificador": "sample string 3",
            "numCedula": "sample string 4",
            "Titulo": "sample string 5",
            "idGenero": "6bdd1c2e-0075-4b8e-ac35-7cc351497da4",
            "Institucion": "sample string 7",
            "Nombre": "sample string 8",
            "Paterno": "sample string 9",
            "Materno": "sample string 10",
            "anioRegistro": 1,
            "Tipo": "sample string 11",
            "idEspecialidad": "0cc72eb3-d2a0-4752-90df-da5ee563d3f2",
            "catEspecialidades": {
              "$id": "14",
              "idEspecialidad": "a25731b8-76d2-446f-b9ee-b9a2283c06de",
              "nomEspecialidad": "sample string 2",
              "padre": 3,
              "hijo": 4,
              "Proveedor_Cedulas": {
                "$id": "15",
                "$values": [
                  {
                    "$ref": "13"
                  },
                  {
                    "$ref": "13"
                  }
                ]
              }
            },
            "catGenero": {
              "$id": "16",
              "idGenero": "5b772513-1941-4a93-a05f-cfb1ef6a934f",
              "codGenero": "sample string 2",
              "nomGenero": "sample string 3",
              "Proveedor_Cedulas": {
                "$id": "17",
                "$values": [
                  {
                    "$ref": "13"
                  },
                  {
                    "$ref": "13"
                  }
                ]
              }
            },
            "Proveedor": {
              "$ref": "3"
            }
          },
          {
            "$ref": "13"
          }
        ]
      },
      "catImpuesto_Det": {
        "$id": "18",
        "$values": [
          {
            "$id": "19",
            "idImpuestoDet": "3ad649b6-0453-4efb-a1bb-8d2b79fb848c",
            "idImpuesto": "fa337dfb-c0f0-4f5b-91bc-2f7055ed90b7",
            "codImpuestoDet": "sample string 3",
            "nomImpuestoDet": "sample string 4",
            "valImpuestoDet": 5.1,
            "catImpuestos": {
              "$id": "20",
              "idImpuesto": "946f5ec6-bd72-49c6-9578-6ea7dc51352f",
              "codImpuesto": "sample string 2",
              "nomImpuesto": "sample string 3",
              "catImpuesto_Det": {
                "$id": "21",
                "$values": [
                  {
                    "$ref": "19"
                  },
                  {
                    "$ref": "19"
                  }
                ]
              }
            },
            "Proveedor": {
              "$id": "22",
              "$values": [
                {
                  "$ref": "3"
                },
                {
                  "$ref": "3"
                }
              ]
            }
          },
          {
            "$ref": "19"
          }
        ]
      },
      "Redes": {
        "$id": "23",
        "$values": [
          {
            "$id": "24",
            "idRed": "ab28ee57-01f7-401e-897b-247a1a113e37",
            "nomRed": "sample string 2",
            "base": 1.0,
            "Producto": {
              "$id": "25",
              "$values": [
                {
                  "$id": "26",
                  "idProducto": "71a0a355-8a2e-444d-955d-c51a74221dad",
                  "nomProducto": "sample string 2",
                  "idRed": "970664ab-ad14-4d72-ae3a-99e6e920a2e7",
                  "Redes": {
                    "$ref": "24"
                  },
                  "Producto_rel_ClienteCorp": {
                    "$id": "27",
                    "$values": [
                      {
                        "$id": "28",
                        "idClienteCorp": "c8ff3094-8a41-4022-8124-73a58547cbc9",
                        "idProducto": "291c971b-c319-4064-8ee2-00fee622cdeb",
                        "Producto": {
                          "$ref": "26"
                        }
                      },
                      {
                        "$ref": "28"
                      }
                    ]
                  }
                },
                {
                  "$ref": "26"
                }
              ]
            },
            "Proveedor": {
              "$id": "29",
              "$values": [
                {
                  "$ref": "3"
                },
                {
                  "$ref": "3"
                }
              ]
            }
          },
          {
            "$ref": "24"
          }
        ]
      },
      "Persona_Moral": {
        "$id": "30",
        "$values": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ]
      },
      "PersonaFisica": {
        "$id": "31",
        "$values": [
          {
            "$id": "32",
            "idPersonaFisica": "c1832217-677e-41b4-84ff-9053be63d7ef",
            "idProveedor": "89166cbc-67f7-4587-9fab-f39ba67e1e39",
            "idPersona": "f04cc488-bb15-4b25-8840-1231e891766e",
            "RFC": "sample string 4",
            "RazonSocial": "sample string 5",
            "FolioCedulaFiscal": "sample string 6",
            "idDireccionFiscal": "64678fca-d379-40bf-9d46-e9e1ba3466ee",
            "ConstanciaFiscal": "QEA=",
            "OpinionCumplimiento": "QEA=",
            "banCF": true,
            "banOC": true,
            "Proveedor": {
              "$ref": "3"
            }
          },
          {
            "$ref": "32"
          }
        ]
      },
      "ProgresoProv": {
        "$id": "33",
        "idProveedor": "0a2e136a-606a-4a86-baf0-0e37a983cf73",
        "DatosGenerales": 2,
        "DatosFiscales": 3,
        "DatosArchivos": 4,
        "Proveedor": {
          "$ref": "3"
        }
      },
      "Archivos": {
        "$id": "34",
        "$values": [
          {
            "$ref": "11"
          },
          {
            "$ref": "11"
          }
        ]
      }
    }
  },
  {
    "$ref": "2"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.