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": "bc375cc5-ae7a-478c-a738-816cb43fc485",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "85807956-9432-4a85-a1c4-962292464853",
"idDireccionFiscal": "8eeedb42-533c-4de1-ae5c-55f932218ee8",
"Direccion": {
"$id": "3",
"idDireccion": "3d8499f3-c010-41d7-bb1f-ee6393315d92",
"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": "b131effb-02e0-4887-9227-b14df2f5d736",
"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": "f3959fcc-95bc-4446-9e2f-2faa8cd32df2",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-07-10T14:08:23.9992805+00:00",
"fecBaja": "2026-07-10T14:08:23.9992805+00:00",
"fecActivacion": "2026-07-10T14:08:23.9992805+00:00",
"fecInactivacion": "2026-07-10T14:08:23.9992805+00:00",
"idDireccionComercial": "e0124973-701a-4353-ad66-f0525329aaa5",
"idDireccionFiscal": "ed86b472-9e77-4fe9-a803-cf1320c2abd8",
"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": "1124ceb2-cf19-4c12-a975-80c495f08e31",
"idTPA": "cf89b6f6-4e90-4453-af6d-5b501d6b9e77",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "4b7ec89e-b0cd-44c0-9041-d86aa6998bec",
"status": true,
"fecAlta": "2026-07-10T14:08:23.9992805+00:00",
"fecActivacion": "2026-07-10T14:08:23.9992805+00:00",
"fecInactivacion": "2026-07-10T14:08:23.9992805+00:00",
"idDireccionComercial": "c06818a0-afd7-44eb-bd62-a0f695c43405",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "3"
},
"RazonSocial": {
"$ref": "2"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "5d768ee0-7519-4e28-8724-7eb3048dfc66",
"idCliente": "2c646990-b7c8-47b3-9f2f-6790adc93737",
"idPersona": "4e304a60-5310-4598-a93f-5dc461c038ea",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "262f237c-911c-43c7-b47e-753b9764516b",
"idPlaza": "b27feda7-6521-401b-aec1-8acf65570bfe",
"idCentroCostos": "1a770e1f-2d46-4bc3-a8c3-cefe9ece1ecd",
"idDepartamento": "2efe794a-031b-4b9d-997d-09793ab40929",
"idPuesto": "167b56aa-d9f0-4419-84c5-114f04cdf799",
"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.