POST api/PostPersonaMoral
Request Information
URI Parameters
None.
Body Parameters
Collection of Persona_Moral| Name | Description | Type | Additional 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": "68734d5c-7d4e-4859-956d-32876dc28509",
"idProveedor": "cc2cb454-6e71-4857-a1b1-02a7a4f4ee11",
"RFC": "sample string 3",
"RazonSocial": "sample string 4",
"FolioCedulaFiscal": "sample string 5",
"idDireccionFiscal": "344a4ddc-2f49-4d58-b708-2814076cc392",
"ConstanciaFiscal": "QEA=",
"OpinionCumplimiento": "QEA=",
"banCF": true,
"banOC": true,
"Proveedor": {
"$id": "3",
"idProveedor": "ad9dc0f4-3efd-40eb-8f40-574f9c026b7e",
"numProveedor": "sample string 2",
"nomComercial": "sample string 3",
"iniVigencia": "2026-06-18T03:16:32.2852049+00:00",
"finVigencia": "2026-06-18T03:16:32.2852049+00:00",
"idTipoProveedor": "bb6471c7-5e33-4852-a689-bd9972a88213",
"fecAlta": "2026-06-18T03:16:32.2852049+00:00",
"status": true,
"idTipoPersona": "b051fe7c-df76-479c-89a0-4783d304d0a1",
"fecBaja": "2026-06-18T03:16:32.2852049+00:00",
"idDireccionComercial": "a31440ec-2392-4db6-91ec-6d0515e7588f",
"catTipoPersona": {
"$id": "4",
"idTipoPersona": "861772f4-b634-435d-bc0b-4248fe4b8e19",
"codTipoPersona": "sample string 2",
"nomTipoPersona": "sample string 3",
"Proveedor": {
"$id": "5",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catTipoProveedor": {
"$id": "6",
"idTipoProveedor": "b6470f87-2156-47f9-95d1-22fe86000e75",
"codTipoProveedor": "sample string 2",
"nomTipoProveedor": "sample string 3",
"Proveedor": {
"$id": "7",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"catTipoArchivo": {
"$id": "8",
"$values": [
{
"$id": "9",
"idTipoArchivo": "ed909ac2-0fef-4b55-8232-6e44e8197b8e",
"nomTipoArchivo": "sample string 2",
"catTipoProveedor": {
"$id": "10",
"$values": [
{
"$ref": "6"
},
{
"$ref": "6"
}
]
},
"Archivos": {
"$id": "11",
"idArchivo": "c1720dad-9111-4f71-b1f3-00563bccf82c",
"idTipoArchivo": "526955b5-820d-41dd-9efd-0586e82bad66",
"nomArchivo": "sample string 3",
"Archivo": "QEA=",
"catTipoArchivo": {
"$ref": "9"
},
"Proveedor": {
"$ref": "3"
}
}
},
{
"$ref": "9"
}
]
}
},
"Proveedor_Cedulas": {
"$id": "12",
"$values": [
{
"$id": "13",
"idCedula": "5f0da58d-bfdb-468a-a306-be85cf18e588",
"idProveedor": "b239a682-9f3d-47b5-ab01-15125eb94eb8",
"identificador": "sample string 3",
"numCedula": "sample string 4",
"Titulo": "sample string 5",
"idGenero": "43224255-20c3-4518-9851-3c5f8610c0db",
"Institucion": "sample string 7",
"Nombre": "sample string 8",
"Paterno": "sample string 9",
"Materno": "sample string 10",
"anioRegistro": 1,
"Tipo": "sample string 11",
"idEspecialidad": "fa8607a6-7e29-4868-8b01-5fd1ac51419c",
"catEspecialidades": {
"$id": "14",
"idEspecialidad": "d874e4ee-a876-4e60-a856-7327682d0d18",
"nomEspecialidad": "sample string 2",
"padre": 3,
"hijo": 4,
"Proveedor_Cedulas": {
"$id": "15",
"$values": [
{
"$ref": "13"
},
{
"$ref": "13"
}
]
}
},
"catGenero": {
"$id": "16",
"idGenero": "e39822c2-e21e-4545-a7ab-24f9a0ede81f",
"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": "24da99d1-7ce5-4951-b0cc-21e111c5ca32",
"idImpuesto": "9d1c5abf-05ac-4376-bd61-8d0ad54aa543",
"codImpuestoDet": "sample string 3",
"nomImpuestoDet": "sample string 4",
"valImpuestoDet": 5.1,
"catImpuestos": {
"$id": "20",
"idImpuesto": "c21900b0-e13a-475a-a4c1-e528c0f31379",
"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": "00d2a333-f6c3-4d06-b648-f75f7de1304d",
"nomRed": "sample string 2",
"base": 1.0,
"Producto": {
"$id": "25",
"$values": [
{
"$id": "26",
"idProducto": "20db8062-0dfa-4589-a76f-e4bac9d38022",
"nomProducto": "sample string 2",
"idRed": "066b6ab0-23f3-42b8-95fb-7ca2929d2080",
"Redes": {
"$ref": "24"
},
"Producto_rel_ClienteCorp": {
"$id": "27",
"$values": [
{
"$id": "28",
"idClienteCorp": "8f1b6ead-2850-42fc-9bb1-35c0014980ad",
"idProducto": "89a7abb2-aef1-4eca-a974-ba20aa872737",
"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": "7c8a2634-366f-4a61-b3c6-de41f3975da1",
"idProveedor": "d401e16b-bb33-4cb3-872c-ec3194590983",
"idPersona": "84076c30-ec92-4a13-9a7f-317ae146e47a",
"RFC": "sample string 4",
"RazonSocial": "sample string 5",
"FolioCedulaFiscal": "sample string 6",
"idDireccionFiscal": "61b8aaeb-0975-4077-a0c9-4bf5cc8ad0a4",
"ConstanciaFiscal": "QEA=",
"OpinionCumplimiento": "QEA=",
"banCF": true,
"banOC": true,
"Proveedor": {
"$ref": "3"
}
},
{
"$ref": "32"
}
]
},
"ProgresoProv": {
"$id": "33",
"idProveedor": "dc5eba39-cf48-4c52-9720-3d42b3fbc509",
"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.