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": "477a1fab-930e-43ba-9fd6-f1d179f45247",
  "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": "dd1925aa-4487-48f2-8613-13eccada94f1",
        "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": "357a3847-8764-409b-a6d1-722f138d0301",
              "codTPA": "sample string 2",
              "nomComercial": "sample string 3",
              "RFC": "sample string 4",
              "nomFiscal": "sample string 5",
              "status": true,
              "fecAlta": "2026-03-22T13:01:48.4697501-04:00",
              "fecBaja": "2026-03-22T13:01:48.4697501-04:00",
              "fecActivacion": "2026-03-22T13:01:48.4697501-04:00",
              "fecInactivacion": "2026-03-22T13:01:48.4697501-04:00",
              "idDireccionComercial": "fb70ed2f-6c5e-4b2f-9e31-71054a476e39",
              "idDireccionFiscal": "3dcd6d20-9a0a-4f92-ae57-9f37cec593ee",
              "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": "229c7b69-ac2f-4ebb-a57e-6900627ea180",
              "RazonSocial1": "sample string 2",
              "RFC": "sample string 3",
              "idTipoPersona": "44f455a9-0b22-4e37-b050-05d2e7ef5266",
              "idDireccionFiscal": "9157db69-d028-44f8-b3c1-d2175c0e040d",
              "Direccion": {
                "$ref": "3"
              },
              "Clientes": {
                "$id": "9",
                "$values": [
                  {
                    "$id": "10",
                    "idCliente": "533be770-5c09-4c16-96ee-e0abd7ddd3f6",
                    "idTPA": "738363d4-6c4b-421b-a262-cc9cc6441755",
                    "codCliente": "sample string 3",
                    "nomComercial": "sample string 4",
                    "idRazonSocial": "7f1122c1-7d99-4333-b424-e2a50960e1aa",
                    "status": true,
                    "fecAlta": "2026-03-22T13:01:48.4697501-04:00",
                    "fecActivacion": "2026-03-22T13:01:48.4697501-04:00",
                    "fecInactivacion": "2026-03-22T13:01:48.4697501-04:00",
                    "idDireccionComercial": "41b291ca-f02e-47bf-8d7b-7d1dce855f26",
                    "sitioWEB": "sample string 10",
                    "Direccion": {
                      "$ref": "3"
                    },
                    "RazonSocial": {
                      "$ref": "8"
                    },
                    "Derhab": {
                      "$id": "11",
                      "$values": [
                        {
                          "$id": "12",
                          "idDerhab": "38ae79c8-38db-4c22-88e7-15b3443bb324",
                          "idCliente": "6548cedc-3d13-4dc0-8e28-1aff3b5da2b0",
                          "idPersona": "f277d884-6de6-449f-ba01-6d20e961b97e",
                          "registro": "sample string 4",
                          "beneficiario": "sample string 5",
                          "idZona": "ac405895-df62-48f2-bb9d-d62f1df7e7be",
                          "idPlaza": "95285777-964b-4d25-8cf4-13ea4555054d",
                          "idCentroCostos": "76e29d56-0dad-4dd4-bda8-4d726e53b8a1",
                          "idDepartamento": "da0e0006-3e3b-45a5-9830-3b86ba3f3e5e",
                          "idPuesto": "9e48e57f-8635-4046-b31e-4f037f12316b",
                          "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": "9d52f31e-d6de-40e1-b11b-470eafef0f80",
  "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": "403eeeaf-1119-49d7-a057-8583a42d895f",
        "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": "98b9b35e-7e2d-44d1-8cc3-63ddd90a6be4",
              "codTPA": "sample string 2",
              "nomComercial": "sample string 3",
              "RFC": "sample string 4",
              "nomFiscal": "sample string 5",
              "status": true,
              "fecAlta": "2026-03-22T13:01:48.4697501-04:00",
              "fecBaja": "2026-03-22T13:01:48.4697501-04:00",
              "fecActivacion": "2026-03-22T13:01:48.4697501-04:00",
              "fecInactivacion": "2026-03-22T13:01:48.4697501-04:00",
              "idDireccionComercial": "8e6f61bd-7533-4a6d-b1d9-f03dac523f00",
              "idDireccionFiscal": "71266c87-6da7-41fe-b24c-835458efb5fc",
              "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": "9a113185-4336-4f32-a570-36fa226f5432",
              "RazonSocial1": "sample string 2",
              "RFC": "sample string 3",
              "idTipoPersona": "903116ff-6edf-4795-a042-ef487034af3f",
              "idDireccionFiscal": "a22fab44-5d42-4a52-adcf-7b5bbaca8341",
              "Direccion": {
                "$ref": "3"
              },
              "Clientes": {
                "$id": "9",
                "$values": [
                  {
                    "$id": "10",
                    "idCliente": "407f3233-2aac-440c-bb03-527aaac397a1",
                    "idTPA": "ba77c47f-59ee-40f9-bffd-3d052e3239b6",
                    "codCliente": "sample string 3",
                    "nomComercial": "sample string 4",
                    "idRazonSocial": "edd26e11-f4a6-4563-b36a-4436b89bac09",
                    "status": true,
                    "fecAlta": "2026-03-22T13:01:48.4697501-04:00",
                    "fecActivacion": "2026-03-22T13:01:48.4697501-04:00",
                    "fecInactivacion": "2026-03-22T13:01:48.4697501-04:00",
                    "idDireccionComercial": "cefbb5ff-b1e5-45e4-b03d-215f791170e2",
                    "sitioWEB": "sample string 10",
                    "Direccion": {
                      "$ref": "3"
                    },
                    "RazonSocial": {
                      "$ref": "8"
                    },
                    "Derhab": {
                      "$id": "11",
                      "$values": [
                        {
                          "$id": "12",
                          "idDerhab": "812a59c2-2c5c-47dd-afdd-a8a03f8ec933",
                          "idCliente": "4de75620-cc6f-4fd2-a1c2-eff7d0cc7ad5",
                          "idPersona": "49da62cf-803e-45fa-9259-98a457e7872d",
                          "registro": "sample string 4",
                          "beneficiario": "sample string 5",
                          "idZona": "20de6746-7c47-4cf5-9a8a-8d3e156ffb49",
                          "idPlaza": "7103188b-6ed2-492a-9fec-75e6a9138768",
                          "idCentroCostos": "d6fd047c-f46d-4c80-94d1-7bc5614eaec5",
                          "idDepartamento": "6a3f07a0-a2ea-4dd6-b913-3bb1af4c40b4",
                          "idPuesto": "6f99f577-f5db-42c5-bf4b-ca0fad50ab2b",
                          "Clientes": {
                            "$ref": "10"
                          }
                        },
                        {
                          "$ref": "12"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "10"
                  }
                ]
              }
            },
            {
              "$ref": "8"
            }
          ]
        },
        "Clientes": {
          "$id": "13",
          "$values": [
            {
              "$ref": "10"
            },
            {
              "$ref": "10"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ]
  }
}