POST opendata.1212.mn/api/Package?type={type} / Get statistical data package /

Name Description Type Select
type

Data Type

string JSON XML

Input value

Name Description Type Additional information
tbl_id

Table identification number

string

PERIOD

Time

Collection of string

CODE

Classification code (Age, gender etc)

Collection of string

CODE1

Classification code (Age, gender etc)

Collection of string

CODE2

Classification code (Age, gender etc)

Collection of string

Input value (example) application/json, text/json

[
  {
    "tbl_id": "DT_NSO_0300_062V1",
    "CODE": [
      "12"
    ],
    "CODE1": [
      "101"
    ],
    "PERIOD": [
      "2016"
    ]
  },
  {
    "tbl_id": "DT_NSO_0300_004V5",
    "CODE": [
      "181"
    ],
    "CODE1": [
      "11"
    ],
    "PERIOD": [
      "2016"
    ]
  },
  {
    "tbl_id": "DT_NSO_1001_005V1",
    "CODE": [
      "181"
    ],
    "CODE1": [
      "0101"
    ],
    "PERIOD": [
      "2016"
    ]
  }
] 

Output value

Name Description Type Additional information
PackageList

Collection of DT

Response

string

Output value (example)

            {
  "PackageList": [
    {
      "DataList": [
        {
          "Indicator_RN": "DT_NSO_0300_062V1",
          "Period": "2016",
          "CODE": "12",
          "SCR_MN": "Эмэгтэй",
          "SCR_ENG": "Female",
          "CODE1": "101",
          "SCR_MN1": "0",
          "SCR_ENG1": "0",
          "CODE2": null,
          "SCR_MN2": null,
          "SCR_ENG2": null,
          "DTVAL_CO": "38887"
        }
      ],
      "Response": "success"
    },
    {
      "DataList": [
        {
          "Indicator_RN": "DT_NSO_0300_004V5",
          "Period": "2016",
          "CODE": "181",
          "SCR_MN": "Завхан",
          "SCR_ENG": "Zavkhan",
          "CODE1": "11",
          "SCR_MN1": "Хот",
          "SCR_ENG1": "Urban",
          "CODE2": null,
          "SCR_MN2": null,
          "SCR_ENG2": null,
          "DTVAL_CO": "15756"
        }
      ],
      "Response": "success"
    },
    {
      "DataList": [
        {
          "Indicator_RN": "DT_NSO_1001_005V1",
          "Period": "2016",
          "CODE": "181",
          "SCR_MN": "Завхан",
          "SCR_ENG": "Zavkhan",
          "CODE1": "0101",
          "SCR_MN1": "Адуу",
          "SCR_ENG1": "Horse",
          "CODE2": null,
          "SCR_MN2": null,
          "SCR_ENG2": null,
          "DTVAL_CO": "186.18"
        }
      ],
      "Response": "success"
    }
  ],
  "Response": "success"
}
    
                
            
            <DT>
  <TN_DT>
    <PackageList>
      <DataList>
        <Indicator_RN>DT_NSO_0300_062V1</Indicator_RN>
        <Period>2016</Period>
        <CODE>12</CODE>
        <SCR_MN>Эмэгтэй</SCR_MN>
        <SCR_ENG>Female</SCR_ENG>
        <CODE1>101</CODE1>
        <SCR_MN1>0</SCR_MN1>
        <SCR_ENG1>0</SCR_ENG1>
        <CODE2 />
        <SCR_MN2 />
        <SCR_ENG2 />
        <DTVAL_CO>38887</DTVAL_CO>
      </DataList>
      <Response>success</Response>
    </PackageList>
    <PackageList>
      <DataList>
        <Indicator_RN>DT_NSO_0300_004V5</Indicator_RN>
        <Period>2016</Period>
        <CODE>181</CODE>
        <SCR_MN>Завхан</SCR_MN>
        <SCR_ENG>Zavkhan</SCR_ENG>
        <CODE1>11</CODE1>
        <SCR_MN1>Хот</SCR_MN1>
        <SCR_ENG1>Urban</SCR_ENG1>
        <CODE2 />
        <SCR_MN2 />
        <SCR_ENG2 />
        <DTVAL_CO>15756</DTVAL_CO>
      </DataList>
      <Response>success</Response>
    </PackageList>
    <PackageList>
      <DataList>
        <Indicator_RN>DT_NSO_1001_005V1</Indicator_RN>
        <Period>2016</Period>
        <CODE>181</CODE>
        <SCR_MN>Завхан</SCR_MN>
        <SCR_ENG>Zavkhan</SCR_ENG>
        <CODE1>0101</CODE1>
        <SCR_MN1>Адуу</SCR_MN1>
        <SCR_ENG1>Horse</SCR_ENG1>
        <CODE2 />
        <SCR_MN2 />
        <SCR_ENG2 />
        <DTVAL_CO>186.18</DTVAL_CO>
      </DataList>
      <Response>success</Response>
    </PackageList>
    <Response>success</Response>
  </TN_DT>
</DT>