POST api/PostRazonSocial
Request Information
URI Parameters
None.
Body Parameters
Collection of RazonSocial| Name | Description | Type | Additional information |
|---|---|---|---|
| idRazonSocial | globally unique identifier |
None. |
|
| RazonSocial1 | string |
None. |
|
| RFC | string |
None. |
|
| idTipoPersona | globally unique identifier |
None. |
|
| idDireccionFiscal | globally unique identifier |
None. |
|
| Direccion | Direccion |
None. |
|
| Clientes | Collection of Clientes |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"idRazonSocial": "291d11b3-c86e-460d-a9b5-3cc1265efa29",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "afe09b0c-2ac1-440a-8081-f9a33e1ac588",
"idDireccionFiscal": "4ece5585-b9ad-41f4-9757-0512167866b8",
"Direccion": {
"$id": "3",
"idDireccion": "e4749191-b785-436b-a56e-f2bcb27a7782",
"calle": "sample string 2",
"numExterior": "sample string 3",
"numInterior": "sample string 4",
"EntreCalle1": "sample string 5",
"EntreCalle2": "sample string 6",
"codSepomex": "sample string 7",
"latitud": 1.1,
"longitud": 1.1,
"Sepomex": {
"$id": "4",
"id": "0f9adc6c-37cf-4dc4-808c-82060cd2b1fb",
"codigo": "sample string 2",
"d_codigo": "sample string 3",
"d_asenta": "sample string 4",
"d_tipo_asenta": "sample string 5",
"D_mnpio": "sample string 6",
"d_estado": "sample string 7",
"d_ciudad": "sample string 8",
"d_CP": "sample string 9",
"c_estado": "sample string 10",
"c_oficina": "sample string 11",
"c_CP": "sample string 12",
"c_tipo_asenta": "sample string 13",
"c_mnpio": "sample string 14",
"id_asenta_cpcons": "sample string 15",
"d_zona": "sample string 16",
"c_cve_ciudad": "sample string 17",
"Direccion": {
"$id": "5",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"TPA": {
"$id": "6",
"$values": [
{
"$id": "7",
"idTPA": "501868da-7e0c-4dee-a921-48b63a0e96e0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-06-18T03:29:33.6816452+00:00",
"fecBaja": "2026-06-18T03:29:33.6816452+00:00",
"fecActivacion": "2026-06-18T03:29:33.6816452+00:00",
"fecInactivacion": "2026-06-18T03:29:33.6816452+00:00",
"idDireccionComercial": "dc1afac7-5ef3-4fbd-9866-0486c96de4e7",
"idDireccionFiscal": "4240617c-97a6-4444-9303-19794e1fe0b5",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "3"
},
"Direccion1": {
"$ref": "3"
}
},
{
"$ref": "7"
}
]
},
"TPA1": {
"$id": "8",
"$values": [
{
"$ref": "7"
},
{
"$ref": "7"
}
]
},
"RazonSocial": {
"$id": "9",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "482f4566-e465-4ae3-bb14-c36280015d97",
"idTPA": "2ae5beab-a209-4c87-a817-544e345f8fe9",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "07eb3dcc-6fe9-4201-846d-4beba72bddaf",
"status": true,
"fecAlta": "2026-06-18T03:29:33.6816452+00:00",
"fecActivacion": "2026-06-18T03:29:33.6816452+00:00",
"fecInactivacion": "2026-06-18T03:29:33.6816452+00:00",
"idDireccionComercial": "300cb305-cb92-4aee-ae49-91f3ddce55d4",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "3"
},
"RazonSocial": {
"$ref": "2"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "1ea8aae5-2b09-4852-8e55-24b2cdb5b2ff",
"idCliente": "7e359bdc-c058-4085-8207-141dc507ee6d",
"idPersona": "371be50f-c38c-490e-9ede-24c77e938a4a",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "e0d96478-9735-434e-811f-c13b4a88bef1",
"idPlaza": "0098b680-6fd4-4e81-a96d-1cfb13b44bf5",
"idCentroCostos": "b43889ad-b539-47b8-bfbc-18c73e8f7d20",
"idDepartamento": "01992425-df63-4446-a3c9-9e9ac89f03f5",
"idPuesto": "dd4f57ea-f082-43c5-8349-a3f9d8490b73",
"Clientes": {
"$ref": "11"
}
},
{
"$ref": "13"
}
]
}
},
{
"$ref": "11"
}
]
}
},
"Clientes": {
"$id": "14",
"$values": [
{
"$ref": "11"
},
{
"$ref": "11"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.