Create Program Event
post
/rest/apis/cross/service/programEvent/
This operation creates a program event.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object-
endDateTime: string
(date-time)
Event end date time indicates the scheduled end time for the event received from the external source application.Example:
10-15-2022 05:00:00PM -
eventExternalIdentifier: string
Maximum Length:
120External Id -
externalIdentifier: string
Maximum Length:
120Unique identifier of the event stage from the external source application.Example:1315 -
programEventCategory: string
Allowed Values:
[ "X1DT", "X1EC", "X1EM", "X1RE" ]Program Event category is defined in the external source application. * `X1DT` - Device Test, * `X1EC` - Economic, * `X1EM` - Emergency, * `X1RE` - Reliability * `X1DT` - Device Test, * `X1EC` - Economic, * `X1EM` - Emergency, * `X1RE` - ReliabilityExample:X1EC -
programExternalIdentifier: string
Maximum Length:
120External Id -
startDateTime: string
(date-time)
Event start date time indicates the scheduled start time for the event received from the external source application.Example:
10-15-2022 01:00:00PM
Root Schema : schema
Type:
Show Source
object-
endDateTime: string
(date-time)
Event end date time indicates the scheduled end time for the event received from the external source application.Example:
10-15-2022 05:00:00PM -
eventExternalIdentifier: string
Maximum Length:
120External Id -
externalIdentifier: string
Maximum Length:
120Unique identifier of the event stage from the external source application.Example:1315 -
programEventCategory: string
Allowed Values:
[ "X1DT", "X1EC", "X1EM", "X1RE" ]Program Event category is defined in the external source application. * `X1DT` - Device Test, * `X1EC` - Economic, * `X1EM` - Emergency, * `X1RE` - Reliability * `X1DT` - Device Test, * `X1EC` - Economic, * `X1EM` - Emergency, * `X1RE` - ReliabilityExample:X1EC -
programExternalIdentifier: string
Maximum Length:
120External Id -
startDateTime: string
(date-time)
Event start date time indicates the scheduled start time for the event received from the external source application.Example:
10-15-2022 01:00:00PM
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.