Implemented ReceiveRelease_API.
Added OI Wizard Webview form to launch into OI Wizard from OI and auto-login the user. Added menu items to NDW_MAIN to launch the OI Wizard webview form and navigated to the appropriate page.
This commit is contained in:
@ -44,6 +44,7 @@ Declare Subroutine Logging_Services
|
||||
$insert APP_INSERTS
|
||||
$insert API_SETUP
|
||||
$insert HTTP_INSERTS
|
||||
|
||||
LogDate = Oconv(Date(), 'D4/')
|
||||
LogTime = Oconv(Time(), 'MTS')
|
||||
LogPath = Environment_Services('GetApplicationRootPath') : '\LogFiles\API\Materials\WO_MAT'
|
||||
@ -54,6 +55,8 @@ LoggingDTM = LogDate : ' ' : LogTime
|
||||
ResponseCode = ''
|
||||
ResponseMessage = ''
|
||||
LogData = ''
|
||||
Response = ''
|
||||
|
||||
GoToAPI else
|
||||
// The specific resource endpoint doesn't have a API handler yet.
|
||||
HTTP_Services('SetResponseStatus', 204, 'This is a valid endpoint but a web API handler has not yet been created.')
|
||||
@ -67,14 +70,6 @@ Return Response OR ''
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
API wo_mat.HEAD
|
||||
API wo_mat.GET
|
||||
|
||||
HTTP_Resource_Services('LoremIpsum')
|
||||
|
||||
end api
|
||||
|
||||
|
||||
API wo_mat.ID.HEAD
|
||||
API wo_mat.ID.GET
|
||||
|
||||
@ -82,6 +77,12 @@ API wo_mat.ID.GET
|
||||
|
||||
end api
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Internal GoSubs
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
CreateHalItem:
|
||||
|
||||
ResponseCode = 200
|
||||
@ -119,4 +120,6 @@ CreateHalItem:
|
||||
LogData<4> = ResponseCode
|
||||
LogData<5> = ResponseMessage
|
||||
Logging_Services('AppendLog', ObjLog, LogData, @RM, @FM)
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user