POST api/PostClientes
Request Information
URI Parameters
None.
Body Parameters
Collection of Clientes| Name | Description | Type | Additional information |
|---|---|---|---|
| idCliente | globally unique identifier |
None. |
|
| idTPA | globally unique identifier |
None. |
|
| codCliente | string |
None. |
|
| nomComercial | string |
None. |
|
| idRazonSocial | globally unique identifier |
None. |
|
| status | boolean |
None. |
|
| fecAlta | date |
None. |
|
| fecActivacion | date |
None. |
|
| fecInactivacion | date |
None. |
|
| idDireccionComercial | globally unique identifier |
None. |
|
| sitioWEB | string |
None. |
|
| Direccion | Direccion |
None. |
|
| RazonSocial | RazonSocial |
None. |
|
| Derhab | Collection of Derhab |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"idCliente": "12981c50-508a-4a99-8631-bdfb8822f5a6",
"idTPA": "f08ebd79-febf-45ef-bf4d-61115edb955c",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "ffadeaac-8049-4681-9d92-052af6edc946",
"status": true,
"fecAlta": "2026-03-13T20:34:28.0623945+00:00",
"fecActivacion": "2026-03-13T20:34:28.0623945+00:00",
"fecInactivacion": "2026-03-13T20:34:28.0623945+00:00",
"idDireccionComercial": "2f0e5156-9faa-4f0e-ab26-a600a0841e57",
"sitioWEB": "sample string 10",
"Direccion": {
"$id": "3",
"idDireccion": "a156fb9a-185d-47ac-8e94-74a7b05f46a1",
"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": "b4f488dd-b404-4d46-8546-492cd3bbb688",
"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": "1338caac-b6dc-4810-b61e-8c123eeb83c0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-13T20:34:28.0780066+00:00",
"fecBaja": "2026-03-13T20:34:28.0780066+00:00",
"fecActivacion": "2026-03-13T20:34:28.0780066+00:00",
"fecInactivacion": "2026-03-13T20:34:28.0780066+00:00",
"idDireccionComercial": "da00efb4-4022-48a5-9b83-c12bfcfd0538",
"idDireccionFiscal": "139af5b1-a8ad-4676-bc06-abbf514b9243",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "3"
},
"Direccion1": {
"$ref": "3"
}
},
{
"$ref": "7"
}
]
},
"TPA1": {
"$id": "8",
"$values": [
{
"$ref": "7"
},
{
"$ref": "7"
}
]
},
"RazonSocial": {
"$id": "9",
"$values": [
{
"$id": "10",
"idRazonSocial": "347d9025-48bd-48ea-82f8-38ee46737404",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "e93804b6-68f9-4b41-9951-099d7e702afe",
"idDireccionFiscal": "2297d8ab-e475-4b16-8ad9-4359c3dfab26",
"Direccion": {
"$ref": "3"
},
"Clientes": {
"$id": "11",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
},
{
"$ref": "10"
}
]
},
"Clientes": {
"$id": "12",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
},
"RazonSocial": {
"$ref": "10"
},
"Derhab": {
"$id": "13",
"$values": [
{
"$id": "14",
"idDerhab": "e41c1511-78e3-49d3-835b-723447acc13d",
"idCliente": "f474909f-c003-4055-81a2-650285833c92",
"idPersona": "a6b3600f-88b4-41e4-8334-9d117a3ca351",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "3d12a9b3-1024-4181-a254-a15c373be675",
"idPlaza": "1f24b92e-5daf-49d6-b891-22f88d95ed03",
"idCentroCostos": "4e94f74a-ae03-4f63-a64a-c40ffd1d71bb",
"idDepartamento": "859cf7f4-d43e-4bf8-ab29-25665ae155ba",
"idPuesto": "24bfda66-205b-4382-9459-081cf5ddb94f",
"Clientes": {
"$ref": "2"
}
},
{
"$ref": "14"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.