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": "fc24ceec-7fab-4499-aba6-9926878ce4a6",
"idTPA": "269a46bc-302e-463a-9c95-be07909d85c9",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "6a846b46-fb9e-4eed-a14e-c6465dca8e8b",
"status": true,
"fecAlta": "2026-08-12T14:47:19.7976808+00:00",
"fecActivacion": "2026-08-12T14:47:19.7976808+00:00",
"fecInactivacion": "2026-08-12T14:47:19.7976808+00:00",
"idDireccionComercial": "d34e383a-814a-4f67-8fe4-85c5beddf154",
"sitioWEB": "sample string 10",
"Direccion": {
"$id": "3",
"idDireccion": "8886a0ed-9c1f-4d2e-ab79-ff1c92986296",
"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": "47615ea4-46a1-4fa9-86b6-ad6e9d62a28a",
"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": "70ed28c6-55e9-40cd-a6c7-fbd1642f7015",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-08-12T14:47:19.7976808+00:00",
"fecBaja": "2026-08-12T14:47:19.7976808+00:00",
"fecActivacion": "2026-08-12T14:47:19.7976808+00:00",
"fecInactivacion": "2026-08-12T14:47:19.7976808+00:00",
"idDireccionComercial": "9f90cedd-c055-4aec-9eb5-fc6e009fe9c4",
"idDireccionFiscal": "fa513bc6-0364-4eaf-bd42-4ff2948d8450",
"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": "05af2655-d7aa-48be-a043-9bc2e8b76439",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "b8a8bbe8-7065-47ba-b216-ae4dd1868f72",
"idDireccionFiscal": "360217c0-e9ee-46c6-a355-a21532c35dee",
"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": "3aa85187-ff67-4c9b-89cf-86fd3200c23b",
"idCliente": "091b5684-a2ef-4261-b8ce-d405f3beb53d",
"idPersona": "7881eee4-89b0-4fcd-a534-c503ca8aee1d",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "84b6d811-f2be-410f-a5a7-dfce21dbd7d1",
"idPlaza": "8c3aff15-4215-47c5-bc78-248d332359fb",
"idCentroCostos": "8e0b76ef-7327-4f18-84bf-70676feafd25",
"idDepartamento": "bc39122a-5c4f-4391-b534-bcb71f03c1d7",
"idPuesto": "31be18ec-c9cc-45dd-84cf-bfb1b2a999ae",
"Clientes": {
"$ref": "2"
}
},
{
"$ref": "14"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.