BMA EHR API Document
Loading...
Searching...
No Matches
BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController Class Reference
Inheritance diagram for BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController:
BMA.EHR.Domain.Common.BaseController

Public Member Functions

 InsigniaRequestController (ApplicationDBContext context, MinIOService documentService, InsigniaPeriodsRepository repository, NotificationRepository repositoryNoti, IWebHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor)
 
async Task< ActionResult< ResponseObject > > GetInsignaiRequestBkk (Guid insigniaPeriodId, Guid ocId, string role, string status)
 list รายการคำขอเครื่องราช ผู้ได้รับ,คนไม่ยื่น,คนที่ถูกลบ
 
async Task< ActionResult< ResponseObject > > UpdateInsignaiRequestBkk (Guid insigniaPeriodId)
 คำนวณราชชื่อผู้ได้รับเครื่องราช
 
async Task< ActionResult< ResponseObject > > ApproveChangeStatusToSt3 (Guid id, Guid ocId)
 เปลี่ยน status เป็น st3 การเจ้าหน้าที่อนุมัติ "
 
async Task< ActionResult< ResponseObject > > RejectChangeStatusToSt2 ([FromBody] InsigniaReasonRequest req, Guid id, Guid ocId)
 เปลี่ยน status เป็น st2 การเจ้าหน้าที่ไม่อนุมัติ "
 
async Task< ActionResult< ResponseObject > > ApproveChangeStatusToSt6 (Guid id, Guid ocId)
 เปลี่ยน status เป็น st6 ผอ.หน่วยอนุมัติ "
 
async Task< ActionResult< ResponseObject > > RejectChangeStatusToSt4 ([FromBody] InsigniaReasonRequest req, Guid id, Guid ocId)
 เปลี่ยน status เป็น st4 ผอ.หน่วยไม่อนุมัติ "
 
async Task< ActionResult< ResponseObject > > RejectChangeStatusToSt5 ([FromBody] InsigniaReasonRequest req, Guid id, Guid ocId)
 เปลี่ยน status เป็น st5 สกจ. หน่วยไม่อนุมัติ "
 
async Task< ActionResult< ResponseObject > > RejectProfileInsignia ([FromBody] InsigniaReasonRequest req, Guid insigniaRequestProfileId)
 ย้ายขอมูลไปเป็น คนที่ไม่ยื่นขอ
 
async Task< ActionResult< ResponseObject > > DeleteProfileInsignia ([FromBody] InsigniaReasonRequest req, Guid insigniaRequestProfileId)
 ย้ายขอมูลไปเป็น คนที่ถูกลบออก
 
async Task< ActionResult< ResponseObject > > DashboardInsigniaPeriod (Guid insigniaPeriodId)
 สรุปจำนวนการยื่นขอในแต่ละรอบ
 
async Task< ActionResult< ResponseObject > > ListOrgDontSentUser (Guid insigniaPeriodId)
 หน่วยงานทียังไม่ส่งรายชื่อ
 
async Task< ActionResult< ResponseObject > > GetOrgAgency ()
 หน่วยงานที่อยู่ปัจจุบัน
 
async Task< ActionResult< ResponseObject > > AddUserToRequestInsignia ([FromBody] AddUserRequestInsigniaRequest req)
 เพิ่มรายชื่อผู้ได้รับเครื่องราช
 
async Task< ActionResult< ResponseObject > > UpdateUserToRequestInsignia ([FromBody] UpdateUserRequestInsigniaRequest req, Guid insigniaRequestProfileId)
 แก้ไขรายชื่อผู้ได้รับเครื่องราช
 
async Task< ActionResult< ResponseObject > > SendPeriodToNote ([FromBody] InsigniaNoteNameRequest req, Guid insigniaPeriodId)
 รายชื่อผู้ได้รับเครื่องราชส่งข้อมูลไปบันทึกผลได้รับเครื่องราช
 
async Task< ActionResult< ResponseObject > > GetListNote ()
 list รอบบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > GetListNoteProfile ([FromBody] InsigniaNoteSearchRequest req)
 list รายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > GetListNoteProfile (Guid insigniaNoteProfileId)
 Get รายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > AddNoteProfile ([FromBody] InsigniaNoteRequest req, Guid insigniaNoteId)
 เพิ่ม/แก้ไขรายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > AddDocumentProfile ([FromForm] InsigniaNoteDocRequest req, Guid insigniaNoteId)
 เพิ่มเอกสารบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > GetDocumentProfile (Guid insigniaNoteId)
 List เอกสารบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ
 
async Task< ActionResult< ResponseObject > > ImportReceiceProfile ([FromForm] ImportFileRequest req, Guid insigniaNoteId)
 import บันทึกผลการได้รับเครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > ImportInvoiceProfile ([FromForm] ImportFileRequest req, Guid insigniaNoteId)
 import บันทึกผลใบกำกับเครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > PreviewReceiceProfile ([FromForm] ImportFileRequest req, Guid insigniaNoteId)
 preview บันทึกผลการได้รับเครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > PreviewInvoiceProfile ([FromForm] ImportFileRequest req, Guid insigniaNoteId)
 preview บันทึกผลใบกำกับเครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > DownloadExcalInsignia (Guid RequestId)
 Download รายชื่อข้าราชการสามัญฯ ที่มีสิทธิ์ยื่นขอพระราชทานเครื่องราชอิสริยาภรณ์
 
async Task< ActionResult< ResponseObject > > DownloadExcelInsigniaByFilter ([FromBody] ExportFileInsigniaRequest req, Guid RequestId)
 Download รายชื่อข้าราชการสามัญฯ ที่มีสิทธิ์ยื่นขอพระราชทานเครื่องราชอิสริยาภรณ์
 
async Task< ActionResult< ResponseObject > > UpdatePersonDeferment ([FromForm] ImportFileRequest req, Guid requestId)
 Upload เอกสาร เครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > UpdateReturnNoteInsignia ([FromForm] InsigniaNoteReturnRequest req, Guid insigniaNoteProfileId)
 ยื่นรายการคืนเครื่องราชฯ
 
async Task< ActionResult< ResponseObject > > UpdateReceiveNoteInsignia ([FromForm] InsigniaNoteReturnRequest req, Guid insigniaNoteProfileId)
 ยื่นรายการรับเครื่องราชฯ
 

Additional Inherited Members

- Protected Member Functions inherited from BMA.EHR.Domain.Common.BaseController
virtual ActionResult< ResponseObjectSuccess (string message, object? result=null)
 
virtual ActionResult< ResponseObjectSuccess (object? result=null)
 
virtual ActionResult< ResponseObjectError (string message, string result, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (string message, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (Exception exception, string message, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (Exception exception, int statusCode=StatusCodes.Status500InternalServerError)
 

Constructor & Destructor Documentation

◆ InsigniaRequestController()

BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.InsigniaRequestController ( ApplicationDBContext  context,
MinIOService  documentService,
InsigniaPeriodsRepository  repository,
NotificationRepository  repositoryNoti,
IWebHostEnvironment  hostingEnvironment,
IHttpContextAccessor  httpContextAccessor 
)
inline

Member Function Documentation

◆ AddDocumentProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.AddDocumentProfile ( [FromForm] InsigniaNoteDocRequest  req,
Guid  insigniaNoteId 
)
inline

เพิ่มเอกสารบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ AddNoteProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.AddNoteProfile ( [FromBody] InsigniaNoteRequest  req,
Guid  insigniaNoteId 
)
inline

เพิ่ม/แก้ไขรายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ AddUserToRequestInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.AddUserToRequestInsignia ( [FromBody] AddUserRequestInsigniaRequest  req)
inline

เพิ่มรายชื่อผู้ได้รับเครื่องราช

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ ApproveChangeStatusToSt3()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.ApproveChangeStatusToSt3 ( Guid  id,
Guid  ocId 
)
inline

เปลี่ยน status เป็น st3 การเจ้าหน้าที่อนุมัติ "

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ ApproveChangeStatusToSt6()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.ApproveChangeStatusToSt6 ( Guid  id,
Guid  ocId 
)
inline

เปลี่ยน status เป็น st6 ผอ.หน่วยอนุมัติ "

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ DashboardInsigniaPeriod()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.DashboardInsigniaPeriod ( Guid  insigniaPeriodId)
inline

สรุปจำนวนการยื่นขอในแต่ละรอบ

Parameters
insigniaPeriodIdId รอบการยื่นขอ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ DeleteProfileInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.DeleteProfileInsignia ( [FromBody] InsigniaReasonRequest  req,
Guid  insigniaRequestProfileId 
)
inline

ย้ายขอมูลไปเป็น คนที่ถูกลบออก

Parameters
insigniaRequestProfileIdId รายชื่อคนที่ยื่นของในรอบ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ DownloadExcalInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.DownloadExcalInsignia ( Guid  RequestId)
inline

Download รายชื่อข้าราชการสามัญฯ ที่มีสิทธิ์ยื่นขอพระราชทานเครื่องราชอิสริยาภรณ์

Parameters
RequestIdId รอบเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ DownloadExcelInsigniaByFilter()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.DownloadExcelInsigniaByFilter ( [FromBody] ExportFileInsigniaRequest  req,
Guid  RequestId 
)
inline

Download รายชื่อข้าราชการสามัญฯ ที่มีสิทธิ์ยื่นขอพระราชทานเครื่องราชอิสริยาภรณ์

Parameters
RequestIdId รอบเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetDocumentProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetDocumentProfile ( Guid  insigniaNoteId)
inline

List เอกสารบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetInsignaiRequestBkk()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetInsignaiRequestBkk ( Guid  insigniaPeriodId,
Guid  ocId,
string  role,
string  status 
)
inline

list รายการคำขอเครื่องราช ผู้ได้รับ,คนไม่ยื่น,คนที่ถูกลบ

Parameters
insigniaPeriodIdId รอบเครื่องราช
ocIdId สังกัด
roleชื่อตำแหน่งระหว่างสกจ กับ เขต (ตอนนี้ให้ส่ง officer ก่อน)
statuspending=ผู้ได้รับ, reject=คนไม่ยื่น, delete=คนที่ถูกลบ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetListNote()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetListNote ( )
inline

list รอบบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetListNoteProfile() [1/2]

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetListNoteProfile ( [FromBody] InsigniaNoteSearchRequest  req)
inline

list รายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetListNoteProfile() [2/2]

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetListNoteProfile ( Guid  insigniaNoteProfileId)
inline

Get รายชื่อบันทึกผลการได้รับพระราชทานเครื่องราชอิสริยสภรณ์/การจ่ายใบกำกับ

Parameters
insigniaNoteProfileIdId บุคคลในบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ GetOrgAgency()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.GetOrgAgency ( )
inline

หน่วยงานที่อยู่ปัจจุบัน

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ ImportInvoiceProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.ImportInvoiceProfile ( [FromForm] ImportFileRequest  req,
Guid  insigniaNoteId 
)
inline

import บันทึกผลใบกำกับเครื่องราชฯ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ ImportReceiceProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.ImportReceiceProfile ( [FromForm] ImportFileRequest  req,
Guid  insigniaNoteId 
)
inline

import บันทึกผลการได้รับเครื่องราชฯ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ ListOrgDontSentUser()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.ListOrgDontSentUser ( Guid  insigniaPeriodId)
inline

หน่วยงานทียังไม่ส่งรายชื่อ

Parameters
insigniaPeriodIdId รอบการยื่นขอ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ PreviewInvoiceProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.PreviewInvoiceProfile ( [FromForm] ImportFileRequest  req,
Guid  insigniaNoteId 
)
inline

preview บันทึกผลใบกำกับเครื่องราชฯ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ PreviewReceiceProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.PreviewReceiceProfile ( [FromForm] ImportFileRequest  req,
Guid  insigniaNoteId 
)
inline

preview บันทึกผลการได้รับเครื่องราชฯ

Parameters
insigniaNoteIdId รอบบันทึกผลเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ RejectChangeStatusToSt2()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.RejectChangeStatusToSt2 ( [FromBody] InsigniaReasonRequest  req,
Guid  id,
Guid  ocId 
)
inline

เปลี่ยน status เป็น st2 การเจ้าหน้าที่ไม่อนุมัติ "

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ RejectChangeStatusToSt4()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.RejectChangeStatusToSt4 ( [FromBody] InsigniaReasonRequest  req,
Guid  id,
Guid  ocId 
)
inline

เปลี่ยน status เป็น st4 ผอ.หน่วยไม่อนุมัติ "

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ RejectChangeStatusToSt5()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.RejectChangeStatusToSt5 ( [FromBody] InsigniaReasonRequest  req,
Guid  id,
Guid  ocId 
)
inline

เปลี่ยน status เป็น st5 สกจ. หน่วยไม่อนุมัติ "

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ RejectProfileInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.RejectProfileInsignia ( [FromBody] InsigniaReasonRequest  req,
Guid  insigniaRequestProfileId 
)
inline

ย้ายขอมูลไปเป็น คนที่ไม่ยื่นขอ

Parameters
insigniaRequestProfileIdId รายชื่อคนที่ยื่นของในรอบ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ SendPeriodToNote()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.SendPeriodToNote ( [FromBody] InsigniaNoteNameRequest  req,
Guid  insigniaPeriodId 
)
inline

รายชื่อผู้ได้รับเครื่องราชส่งข้อมูลไปบันทึกผลได้รับเครื่องราช

Parameters
insigniaPeriodIdId รอบการยื่นขอ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ UpdateInsignaiRequestBkk()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.UpdateInsignaiRequestBkk ( Guid  insigniaPeriodId)
inline

คำนวณราชชื่อผู้ได้รับเครื่องราช

Parameters
insigniaPeriodIdId รอบเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ UpdatePersonDeferment()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.UpdatePersonDeferment ( [FromForm] ImportFileRequest  req,
Guid  requestId 
)
inline

Upload เอกสาร เครื่องราชฯ

Parameters
requestIdId รอบเครื่องราช
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ UpdateReceiveNoteInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.UpdateReceiveNoteInsignia ( [FromForm] InsigniaNoteReturnRequest  req,
Guid  insigniaNoteProfileId 
)
inline

ยื่นรายการรับเครื่องราชฯ

Parameters
insigniaNoteProfileIdId บุคคลบันทึกผลเครื่องราชฯ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ UpdateReturnNoteInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.UpdateReturnNoteInsignia ( [FromForm] InsigniaNoteReturnRequest  req,
Guid  insigniaNoteProfileId 
)
inline

ยื่นรายการคืนเครื่องราชฯ

Parameters
insigniaNoteProfileIdId บุคคลบันทึกผลเครื่องราชฯ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

◆ UpdateUserToRequestInsignia()

async Task< ActionResult< ResponseObject > > BMA.EHR.Insignia.Service.Controllers.InsigniaRequestController.UpdateUserToRequestInsignia ( [FromBody] UpdateUserRequestInsigniaRequest  req,
Guid  insigniaRequestProfileId 
)
inline

แก้ไขรายชื่อผู้ได้รับเครื่องราช

Parameters
insigniaRequestProfileIdId รายชื่อคนที่ยื่นของในรอบ
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>


The documentation for this class was generated from the following file: