GET : Select2 - Klasifikasi Has Children

api/1.0/select2/surat/kode_klasifikasi_haschildren?id={id}

Request Information
URI Parameters
NameDescriptionTypeAdditional information
id

ID Klasifikasi

integer

Required


Body Parameters
None.
Response Information
Resource Description
NameDescriptionTypeAdditional information
text

Text option yang ditampilkan

string

None.

value

Value option

string

None.


Response Formats
  • application/json, text/json
    Sample:

    [
      {
        "text": "sample string 1",
        "value": "sample string 2"
      },
      {
        "text": "sample string 1",
        "value": "sample string 2"
      }
    ]
    

  • text/html
    Sample:

    [{"text":"sample string 1","value":"sample string 2"},{"text":"sample string 1","value":"sample string 2"}]
    

  • application/xml, text/xml
    Sample:

    <ArrayOfTextValue_VM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Untidar.Core.Models">
      <TextValue_VM>
        <text>sample string 1</text>
        <value>sample string 2</value>
      </TextValue_VM>
      <TextValue_VM>
        <text>sample string 1</text>
        <value>sample string 2</value>
      </TextValue_VM>
    </ArrayOfTextValue_VM>