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": "b3c2144c-84bb-46ed-8ca1-3a5170354158",
"idTPA": "c5bcc818-fd8f-431f-8744-71d9e1fdf7c0",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "eadb1796-1b5d-4c4d-b74e-73274790f030",
"status": true,
"fecAlta": "2026-07-10T14:06:25.5434967+00:00",
"fecActivacion": "2026-07-10T14:06:25.5434967+00:00",
"fecInactivacion": "2026-07-10T14:06:25.5434967+00:00",
"idDireccionComercial": "e6767db5-2460-47eb-8565-d7b31ec5056d",
"sitioWEB": "sample string 10",
"Direccion": {
"$id": "3",
"idDireccion": "b9cc74fe-3f2d-4f79-9088-e450874116cb",
"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": "3524d0a2-3894-4049-a344-8c66435f544e",
"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": "ce7e5828-7581-4239-b97e-4a1e4f8d136a",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-07-10T14:06:25.5591294+00:00",
"fecBaja": "2026-07-10T14:06:25.5591294+00:00",
"fecActivacion": "2026-07-10T14:06:25.5591294+00:00",
"fecInactivacion": "2026-07-10T14:06:25.5591294+00:00",
"idDireccionComercial": "e38c73c4-5dff-4036-ac05-b56701229caf",
"idDireccionFiscal": "06d8e74d-9b5c-4018-8238-c69a11cb4591",
"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": "8efdc5a4-8f4a-42dd-ab8b-bacf95c485da",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "824a41d5-9b06-4f8d-a54d-8dd033d34a0f",
"idDireccionFiscal": "1f9f95da-4bbb-4ffa-9cc5-acde533c0443",
"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": "db9c9ae2-bc74-499c-84b7-f2eb5d4e375c",
"idCliente": "11451d85-2591-45df-bfe8-cba4f90b6a08",
"idPersona": "15b792dd-ca8f-44ff-90fe-cbd8a0594cef",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "732780d9-999c-436e-b5e6-b8ebfd45ca94",
"idPlaza": "0d825d77-e03a-430f-b1f0-bf83d60b9e2b",
"idCentroCostos": "83063e4a-e616-4c57-9e17-c83bf55c1f6f",
"idDepartamento": "58aa1558-da90-42ce-8e94-cc0dc4bb07cc",
"idPuesto": "7c691b58-0991-44b0-ac7f-dbf5ab111208",
"Clientes": {
"$ref": "2"
}
},
{
"$ref": "14"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.