{
  "v": 2,
  "name": "apiMsg",
  "folders": [
    {
      "v": 2,
      "name": "send",
      "folders": [],
      "requests": [
        {
          "v": "1",
          "name": "to-all (전체 근로자 발송)",
          "method": "POST",
          "endpoint": "<<BASE_URL>>/api/musago/apiMsg.php",
          "headers": [],
          "params": [],
          "auth": { "authType": "none", "authActive": false },
          "body": {
            "contentType": "application/x-www-form-urlencoded",
            "body": [
              { "active": true,  "key": "cmd",        "value": "send",               "description": "" },
              { "active": true,  "key": "opt",        "value": "to-all",             "description": "" },
              { "active": true,  "key": "gCompCd",    "value": "100",                "description": "본점 코드" },
              { "active": true,  "key": "title",      "value": "공지사항 제목",      "description": "메세지 제목" },
              { "active": true,  "key": "content",    "value": "공지 내용입니다.",   "description": "메세지 내용" },
              { "active": true,  "key": "issueID",    "value": "admin01",            "description": "발송자 ID" },
              { "active": false, "key": "expireDate", "value": "2026-07-01 00:00:00","description": "유효기간 (선택, 비우면 무제한)" }
            ]
          },
          "preRequestScript": "",
          "testScript": ""
        },
        {
          "v": "1",
          "name": "to-worker (특정 근로자 발송)",
          "method": "POST",
          "endpoint": "<<BASE_URL>>/api/musago/apiMsg.php",
          "headers": [],
          "params": [],
          "auth": { "authType": "none", "authActive": false },
          "body": {
            "contentType": "application/x-www-form-urlencoded",
            "body": [
              { "active": true,  "key": "cmd",             "value": "send",               "description": "" },
              { "active": true,  "key": "opt",             "value": "to-worker",          "description": "" },
              { "active": true,  "key": "gCompCd",         "value": "100",                "description": "본점 코드" },
              { "active": true,  "key": "title",           "value": "개인 메세지 제목",   "description": "메세지 제목" },
              { "active": true,  "key": "content",         "value": "개인 메세지 내용.",  "description": "메세지 내용" },
              { "active": true,  "key": "issueID",         "value": "admin01",            "description": "발송자 ID" },
              { "active": true,  "key": "targetWorkerSeq", "value": "123",                "description": "대상 근로자 workerSeq" },
              { "active": false, "key": "expireDate",      "value": "2026-07-01 00:00:00","description": "유효기간 (선택, 비우면 무제한)" }
            ]
          },
          "preRequestScript": "",
          "testScript": ""
        }
      ]
    },
    {
      "v": 2,
      "name": "read",
      "folders": [],
      "requests": [
        {
          "v": "1",
          "name": "inbox (수신함 목록 조회)",
          "method": "POST",
          "endpoint": "<<BASE_URL>>/api/musago/apiMsg.php",
          "headers": [],
          "params": [],
          "auth": { "authType": "none", "authActive": false },
          "body": {
            "contentType": "application/x-www-form-urlencoded",
            "body": [
              { "active": true, "key": "cmd",       "value": "read", "description": "" },
              { "active": true, "key": "opt",       "value": "inbox","description": "" },
              { "active": true, "key": "gCompCd",   "value": "100",  "description": "본점 코드" },
              { "active": true, "key": "workerSeq", "value": "123",  "description": "근로자 workerSeq" }
            ]
          },
          "preRequestScript": "",
          "testScript": ""
        },
        {
          "v": "1",
          "name": "inbox-mark (읽음 처리)",
          "method": "POST",
          "endpoint": "<<BASE_URL>>/api/musago/apiMsg.php",
          "headers": [],
          "params": [],
          "auth": { "authType": "none", "authActive": false },
          "body": {
            "contentType": "application/x-www-form-urlencoded",
            "body": [
              { "active": true, "key": "cmd",       "value": "read",        "description": "" },
              { "active": true, "key": "opt",       "value": "inbox-mark",  "description": "" },
              { "active": true, "key": "msgSeq",    "value": "1",           "description": "읽음 처리할 메세지 시퀀스" },
              { "active": true, "key": "workerSeq", "value": "123",         "description": "근로자 workerSeq (본인 확인)" }
            ]
          },
          "preRequestScript": "",
          "testScript": ""
        }
      ]
    }
  ],
  "requests": []
}
