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": "69eee22b-51ba-4ec2-886e-a36e119b2f35",
"idProveedor": "df5f3019-ccca-41ca-b7d4-0f17755baac5",
"RFC": "sample string 3",
"RazonSocial": "sample string 4",
"FolioCedulaFiscal": "sample string 5",
"idDireccionFiscal": "06194304-0320-46b8-a3cd-f4028b147751",
"ConstanciaFiscal": "QEA=",
"OpinionCumplimiento": "QEA=",
"banCF": true,
"banOC": true,
"Proveedor": {
"$id": "3",
"idProveedor": "c5943d4d-4ba1-44b4-8a27-e40e64ff56cc",
"numProveedor": "sample string 2",
"nomComercial": "sample string 3",
"iniVigencia": "2026-03-21T01:57:18.2442739-04:00",
"finVigencia": "2026-03-21T01:57:18.2442739-04:00",
"idTipoProveedor": "19e81f2a-69ad-45be-8a83-2e16305e2198",
"fecAlta": "2026-03-21T01:57:18.2442739-04:00",
"status": true,
"idTipoPersona": "64fa9b64-861f-4f1c-bb44-12cd8db21eaa",
"fecBaja": "2026-03-21T01:57:18.2442739-04:00",
"idDireccionComercial": "f812ca44-67f2-4f19-bcb4-d33f25c5fabe",
"catTipoPersona": {
"$id": "4",
"idTipoPersona": "fac8e66e-3285-4ab1-b373-a39492bd934f",
"codTipoPersona": "sample string 2",
"nomTipoPersona": "sample string 3",
"Proveedor": {
"$id": "5",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catTipoProveedor": {
"$id": "6",
"idTipoProveedor": "4024c575-911f-4755-b60c-4845951c3469",
"codTipoProveedor": "sample string 2",
"nomTipoProveedor": "sample string 3",
"Proveedor": {
"$id": "7",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"catTipoArchivo": {
"$id": "8",
"$values": [
{
"$id": "9",
"idTipoArchivo": "0c91907c-8c44-4ec5-8dd9-95304d034b5c",
"nomTipoArchivo": "sample string 2",
"catTipoProveedor": {
"$id": "10",
"$values": [
{
"$ref": "6"
},
{
"$ref": "6"
}
]
},
"Archivos": {
"$id": "11",
"idArchivo": "c706df70-af81-47d3-9dec-f909d1d2ca59",
"idTipoArchivo": "1495ca54-86b7-43a5-8016-cf57ddcbb092",
"nomArchivo": "sample string 3",
"Archivo": "QEA=",
"catTipoArchivo": {
"$ref": "9"
},
"Proveedor": {
"$ref": "3"
}
}
},
{
"$ref": "9"
}
]
}
},
"Proveedor_Cedulas": {
"$id": "12",
"$values": [
{
"$id": "13",
"idCedula": "9964c9ea-4e62-4692-9e0b-d76a15470340",
"idProveedor": "04d41117-2aa4-4b5c-8032-9f3d06aadea0",
"identificador": "sample string 3",
"numCedula": "sample string 4",
"Titulo": "sample string 5",
"idGenero": "c6236fd3-c735-4147-9e77-eef60a743129",
"Institucion": "sample string 7",
"Nombre": "sample string 8",
"Paterno": "sample string 9",
"Materno": "sample string 10",
"anioRegistro": 1,
"Tipo": "sample string 11",
"idEspecialidad": "e8170f2a-37f9-4ae6-b19d-5a31938288b5",
"catEspecialidades": {
"$id": "14",
"idEspecialidad": "1945c2e3-6db7-46e2-9135-95ac04d91bae",
"nomEspecialidad": "sample string 2",
"padre": 3,
"hijo": 4,
"Proveedor_Cedulas": {
"$id": "15",
"$values": [
{
"$ref": "13"
},
{
"$ref": "13"
}
]
}
},
"catGenero": {
"$id": "16",
"idGenero": "67ae1301-3b05-4bfe-b075-975ad46343de",
"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": "b9ae83bd-8ee9-4d04-9cfc-b1c185a260f0",
"idImpuesto": "acb802d6-80b9-4a28-9540-a365c260870e",
"codImpuestoDet": "sample string 3",
"nomImpuestoDet": "sample string 4",
"valImpuestoDet": 5.1,
"catImpuestos": {
"$id": "20",
"idImpuesto": "aa44c51f-569a-4ae2-90e8-e5be66d5e6ac",
"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": "b54d3d11-26c2-4cbb-811b-6c9214575b25",
"nomRed": "sample string 2",
"base": 1.0,
"Producto": {
"$id": "25",
"$values": [
{
"$id": "26",
"idProducto": "cc5f0d98-5747-4405-9cec-eed517e59481",
"nomProducto": "sample string 2",
"idRed": "06bd60a5-6c3c-4a07-8ac6-d21ca93a8fb3",
"Redes": {
"$ref": "24"
},
"Producto_rel_ClienteCorp": {
"$id": "27",
"$values": [
{
"$id": "28",
"idClienteCorp": "be4fc22c-a92d-4cdc-a019-e2fa0a0bf901",
"idProducto": "c3a247b0-c63a-4a67-88f8-a9f9b0cb9020",
"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": "805562d3-9a03-48b2-a54d-397c2a4697c5",
"idProveedor": "f32b14be-2d24-42ec-8711-0b4ddbbfc1cf",
"idPersona": "26b01040-e664-46b1-a7ee-309256aeb230",
"RFC": "sample string 4",
"RazonSocial": "sample string 5",
"FolioCedulaFiscal": "sample string 6",
"idDireccionFiscal": "4a5cd82a-b4d1-4d75-82d3-54cd7e92e311",
"ConstanciaFiscal": "QEA=",
"OpinionCumplimiento": "QEA=",
"banCF": true,
"banOC": true,
"Proveedor": {
"$ref": "3"
}
},
{
"$ref": "32"
}
]
},
"ProgresoProv": {
"$id": "33",
"idProveedor": "cd44adeb-3da7-493c-b1a6-83d45191539b",
"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.