GET : Select2 - Pegawai Golongan

api/1.0/select2/pegawai/golongan

Request Information
URI Parameters

None.


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>