POST api/Provincias

Request Information

URI Parameters

None.

Body Parameters

General
NameDescriptionTypeAdditional information
TOKEN

string

None.

PROCESO

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TOKEN": "sample string 1",
  "PROCESO": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'General'.

Response Information

Resource Description

Collection of Provincias
NameDescriptionTypeAdditional information
ID

integer

None.

PROVINCIA

string

None.

VALORENVIO

string

None.

Sectores

Collection of Sectores

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "PROVINCIA": "sample string 2",
    "VALORENVIO": "sample string 3",
    "Sectores": [
      {
        "ID": 1,
        "SECTOR": "sample string 2",
        "IDPROVINCIA": 3
      },
      {
        "ID": 1,
        "SECTOR": "sample string 2",
        "IDPROVINCIA": 3
      }
    ]
  },
  {
    "ID": 1,
    "PROVINCIA": "sample string 2",
    "VALORENVIO": "sample string 3",
    "Sectores": [
      {
        "ID": 1,
        "SECTOR": "sample string 2",
        "IDPROVINCIA": 3
      },
      {
        "ID": 1,
        "SECTOR": "sample string 2",
        "IDPROVINCIA": 3
      }
    ]
  }
]