POST api/Sepomexes

Request Information

URI Parameters

None.

Body Parameters

Sepomex
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

codigo

string

None.

d_codigo

string

None.

d_asenta

string

None.

d_tipo_asenta

string

None.

D_mnpio

string

None.

d_estado

string

None.

d_ciudad

string

None.

d_CP

string

None.

c_estado

string

None.

c_oficina

string

None.

c_CP

string

None.

c_tipo_asenta

string

None.

c_mnpio

string

None.

id_asenta_cpcons

string

None.

d_zona

string

None.

c_cve_ciudad

string

None.

Direccion

Collection of Direccion

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "8168825e-7e80-4721-b55c-39e0d60db5d7",
  "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": "2",
    "$values": [
      {
        "$id": "3",
        "idDireccion": "521558f0-be24-49fd-afae-8e68029707c8",
        "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": {
          "$ref": "1"
        },
        "TPA": {
          "$id": "4",
          "$values": [
            {
              "$id": "5",
              "idTPA": "f0c08b79-1bbf-445a-9227-7593756b66b4",
              "codTPA": "sample string 2",
              "nomComercial": "sample string 3",
              "RFC": "sample string 4",
              "nomFiscal": "sample string 5",
              "status": true,
              "fecAlta": "2026-03-21T03:46:28.9146064-04:00",
              "fecBaja": "2026-03-21T03:46:28.9146064-04:00",
              "fecActivacion": "2026-03-21T03:46:28.9146064-04:00",
              "fecInactivacion": "2026-03-21T03:46:28.9146064-04:00",
              "idDireccionComercial": "b6ebae65-b30c-402c-a4ae-bdeaa5e1f02a",
              "idDireccionFiscal": "1592fb16-13d1-417f-9117-9d307638a259",
              "sitioWEB": "sample string 9",
              "Direccion": {
                "$ref": "3"
              },
              "Direccion1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "5"
            }
          ]
        },
        "TPA1": {
          "$id": "6",
          "$values": [
            {
              "$ref": "5"
            },
            {
              "$ref": "5"
            }
          ]
        },
        "RazonSocial": {
          "$id": "7",
          "$values": [
            {
              "$id": "8",
              "idRazonSocial": "a73b3948-4113-4c46-8d3e-2e1aebc84a65",
              "RazonSocial1": "sample string 2",
              "RFC": "sample string 3",
              "idTipoPersona": "bef115db-c751-4440-8b4b-d801ec54633e",
              "idDireccionFiscal": "c8fd7a1f-d8d1-4471-827e-1a263ffe0937",
              "Direccion": {
                "$ref": "3"
              },
              "Clientes": {
                "$id": "9",
                "$values": [
                  {
                    "$id": "10",
                    "idCliente": "7b54f393-c961-46e8-b3da-50b181ab68e4",
                    "idTPA": "a686f115-cde6-49dc-aa28-e201683b36c5",
                    "codCliente": "sample string 3",
                    "nomComercial": "sample string 4",
                    "idRazonSocial": "f5df36a5-4e87-4b8d-87a3-126f5a9cadff",
                    "status": true,
                    "fecAlta": "2026-03-21T03:46:28.9146064-04:00",
                    "fecActivacion": "2026-03-21T03:46:28.9146064-04:00",
                    "fecInactivacion": "2026-03-21T03:46:28.9146064-04:00",
                    "idDireccionComercial": "a8c188cb-a450-44a3-b5fb-a4117281d2d4",
                    "sitioWEB": "sample string 10",
                    "Direccion": {
                      "$ref": "3"
                    },
                    "RazonSocial": {
                      "$ref": "8"
                    },
                    "Derhab": {
                      "$id": "11",
                      "$values": [
                        {
                          "$id": "12",
                          "idDerhab": "72204872-eda3-42de-afa8-18cdb998ba00",
                          "idCliente": "150ba6e6-7f73-4b0d-adb5-e3f3f88fac57",
                          "idPersona": "d394ba1d-50e7-4a58-aa0f-e79c59a8d03e",
                          "registro": "sample string 4",
                          "beneficiario": "sample string 5",
                          "idZona": "a935e625-0af6-43da-8033-3e004b0be4f4",
                          "idPlaza": "40cea968-d7fb-49ca-98ac-e3da03b74fa3",
                          "idCentroCostos": "f8ae09a5-6537-47b3-bbea-6f75812f3531",
                          "idDepartamento": "4521737b-4c50-4c25-9e53-4fbd97878827",
                          "idPuesto": "ee27a13e-4b20-4226-9f2b-383e64de87dd",
                          "Clientes": {
                            "$ref": "10"
                          }
                        },
                        {
                          "$ref": "12"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "10"
                  }
                ]
              }
            },
            {
              "$ref": "8"
            }
          ]
        },
        "Clientes": {
          "$id": "13",
          "$values": [
            {
              "$ref": "10"
            },
            {
              "$ref": "10"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Sepomex
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

codigo

string

None.

d_codigo

string

None.

d_asenta

string

None.

d_tipo_asenta

string

None.

D_mnpio

string

None.

d_estado

string

None.

d_ciudad

string

None.

d_CP

string

None.

c_estado

string

None.

c_oficina

string

None.

c_CP

string

None.

c_tipo_asenta

string

None.

c_mnpio

string

None.

id_asenta_cpcons

string

None.

d_zona

string

None.

c_cve_ciudad

string

None.

Direccion

Collection of Direccion

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "73ddfb51-aa40-4b27-86af-9266ed7757c9",
  "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": "2",
    "$values": [
      {
        "$id": "3",
        "idDireccion": "df9c3f92-1608-4930-862b-e3d4956efe26",
        "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": {
          "$ref": "1"
        },
        "TPA": {
          "$id": "4",
          "$values": [
            {
              "$id": "5",
              "idTPA": "7d2196d8-e7be-4389-90e5-f860de9e2949",
              "codTPA": "sample string 2",
              "nomComercial": "sample string 3",
              "RFC": "sample string 4",
              "nomFiscal": "sample string 5",
              "status": true,
              "fecAlta": "2026-03-21T03:46:28.9302295-04:00",
              "fecBaja": "2026-03-21T03:46:28.9302295-04:00",
              "fecActivacion": "2026-03-21T03:46:28.9302295-04:00",
              "fecInactivacion": "2026-03-21T03:46:28.9302295-04:00",
              "idDireccionComercial": "4a42e21f-d330-4911-a674-dd0cdbb9316d",
              "idDireccionFiscal": "05e91b96-f64e-4973-b944-546f5a7ba6f1",
              "sitioWEB": "sample string 9",
              "Direccion": {
                "$ref": "3"
              },
              "Direccion1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "5"
            }
          ]
        },
        "TPA1": {
          "$id": "6",
          "$values": [
            {
              "$ref": "5"
            },
            {
              "$ref": "5"
            }
          ]
        },
        "RazonSocial": {
          "$id": "7",
          "$values": [
            {
              "$id": "8",
              "idRazonSocial": "098d6d65-21d5-4c62-9c67-945454b49a83",
              "RazonSocial1": "sample string 2",
              "RFC": "sample string 3",
              "idTipoPersona": "183e61d3-bd5e-4be3-8557-0cfeb822ccfc",
              "idDireccionFiscal": "4518f140-92d0-4f02-bace-dfc6f94c2fb7",
              "Direccion": {
                "$ref": "3"
              },
              "Clientes": {
                "$id": "9",
                "$values": [
                  {
                    "$id": "10",
                    "idCliente": "e404feb6-6ddd-41b9-9112-e1ce054125ef",
                    "idTPA": "dc767bbb-2870-4c60-b5e1-acc36adc3c28",
                    "codCliente": "sample string 3",
                    "nomComercial": "sample string 4",
                    "idRazonSocial": "3b95622d-d734-40c6-97d8-29643c09eb31",
                    "status": true,
                    "fecAlta": "2026-03-21T03:46:28.9302295-04:00",
                    "fecActivacion": "2026-03-21T03:46:28.9302295-04:00",
                    "fecInactivacion": "2026-03-21T03:46:28.9302295-04:00",
                    "idDireccionComercial": "8ca96c00-8015-46b9-a3e4-0fcc696f0d5b",
                    "sitioWEB": "sample string 10",
                    "Direccion": {
                      "$ref": "3"
                    },
                    "RazonSocial": {
                      "$ref": "8"
                    },
                    "Derhab": {
                      "$id": "11",
                      "$values": [
                        {
                          "$id": "12",
                          "idDerhab": "7473f85d-48b1-440f-98e0-0b24460ec3ba",
                          "idCliente": "d68ca8cd-46f7-4d32-9f04-923cd42516ce",
                          "idPersona": "8effc318-618b-4f9f-9c7f-6c41fd5d0a41",
                          "registro": "sample string 4",
                          "beneficiario": "sample string 5",
                          "idZona": "64effd4b-7433-42d1-9b1f-bd7024ddfcd3",
                          "idPlaza": "122d663c-8aca-4f93-992e-f91b113d3a74",
                          "idCentroCostos": "90bbf180-de90-4d64-82fa-c1e25050a06a",
                          "idDepartamento": "81b09fb6-93fa-4190-981c-6f5a22b1493b",
                          "idPuesto": "6d7a8019-202f-49b1-a7db-739ede5a1323",
                          "Clientes": {
                            "$ref": "10"
                          }
                        },
                        {
                          "$ref": "12"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "10"
                  }
                ]
              }
            },
            {
              "$ref": "8"
            }
          ]
        },
        "Clientes": {
          "$id": "13",
          "$values": [
            {
              "$ref": "10"
            },
            {
              "$ref": "10"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}