Get Program Enrollment
get
https://server:port/rest/apis/cross/digitalAssets/programEnrollments/enroll/{Enrollment Id}
This REST web service retrieves the status of a customer's enrollment request on a program from Oracle Utilities Digital Asset Cloud Service.
Request
Path Parameters
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : X1-DAEnroll
Type:
Show Source
object-
appointmentSlots: object
appointmentSlots
-
assetInfo: object
assetInfo
-
customerInfo: object
customerInfo
-
deviceSetup: object
deviceSetup
-
enrollmentId: string
Maximum Length:
4A unique identifer created by the application for each Enrollment request -
enrollmentSource: string
Allowed Values:
[ "X1BY", "X1CC", "X1SS" ]Program Enrollment Source: * `X1BY` - Bring Your Own, * `X1CC` - Contact Center, * `X1SS` - Self Service -
exception: object
exception
-
locationInfo: object
locationInfo
-
programInfo: object
programInfo
- relatedObjects: object relatedObjects
-
status: string
Maximum Length:
12Status of the program enrollment based on business object lifecycle -
transactionId: string
Maximum Length:
120External transaction identifier created initially by the external source application, such as the Grid Edge Distributed Energy Resource Management System
Nested Schema : assetInfo
Type:
Show Source
object-
assetList: array
assetList
-
assetOwnership: string
Allowed Values:
[ "W1CO", "W1OW" ]Installation method, along with asset ownership, is used to determine device setup actions to perform during the enrollment. For Bring Your Own (installation method), Customer Owned (asset ownership) enrollments, details of the controllable device (specification, asset type, NIC Id, head end system) must be provided for the enrollment process to create the device record and attach it to the device location. * `W1CO` - Customer Owned, * `W1OW` - Utility Owned -
installationMethod: string
Allowed Values:
[ "X1RE", "X1SD", "X1SI", "X1UI" ]Installation method, along with asset ownership, is used to determine device setup actions to perform during the enrollment. For Bring Your Own (installation method), Customer Owned (asset ownership) enrollments, details of the controllable device (specification, asset type, NIC Id, head end system) must be provided for the enrollment process to create the device record and attach it to the device location. * `X1RE` - Re-enroll, * `X1SD` - Ship Device, * `X1SI` - Bring Your Own, * `X1UI` - Utility Installation
Nested Schema : customerInfo
Type:
Show Source
object-
businessPhone: string
Maximum Length:
24The business phone of the customer. Used to derive the existing customer and metered service record associated to the enrollment. -
cisAccountId: string
Maximum Length:
30The CIS Account Id associated to the metered service point. Used to derive the existing customer and metered service record associated to the enrollment. Optional, if name is provided. -
cisPersonId: string
Maximum Length:
30The CIS Person Id associated to the metered service point. Used to derive the existing customer and metered service record associated to the enrollment. Optional, if name is provided. -
email: string
Maximum Length:
254The email address of the customer. Used to derive the existing customer and metered service record associated to the enrollment. -
homePhone: string
Maximum Length:
24The home phone of the customer. Used to derive the existing customer and metered service record associated to the enrollment. -
name: string
Maximum Length:
254The name of the customer. Used to derive the existing customer and metered service record associated to the enrollment. -
questions: object
questions
Nested Schema : exception
Type:
Show Source
object-
expandedMessage: string
Maximum Length:
60Expanded message parameter -
messageCategory: string
Maximum Length:
5Message Category -
messageNumber: string
Maximum Length:
5Message Number
Nested Schema : locationInfo
Type:
Show Source
object-
address1: string
Maximum Length:
254The first line of the address. Used to derive the metered service point associated to the enrollment. -
address2: string
Maximum Length:
254The second line of the address. Used to derive the metered service point associated to the enrollment. -
address3: string
Maximum Length:
254The third line of the address. Used to derive the metered service point associated to the enrollment. -
address4: string
Maximum Length:
254The fourth line of the address. Used to derive the metered service point associated to the enrollment. -
cisPremiseId: string
Maximum Length:
60The CIS Premise Id associated to the metered service point. Used to derive the metered service point associated to the enrollment. Optional, if address information is provided. -
cisServicePointID: string
Maximum Length:
60The CIS Service Point Id associated to the metered service point. Used to derive the metered service point associated to the enrollment. Optional, if address information is provided. -
city: string
Maximum Length:
90The city of the address. Used to derive the metered service point associated to the enrollment. -
country: string
Maximum Length:
3The country of the address. Used to derive the metered service point associated to the enrollment. -
county: string
Maximum Length:
90The county of the address. Used to derive the metered service point associated to the enrollment. -
division: string
Maximum Length:
30Division is used to define the jurisdiction in which the customer is located. -
postal: string
Maximum Length:
12The postal code of the address. Used to derive the metered service point associated to the enrollment. -
state: string
Maximum Length:
6The state of the address. Used to derive the metered service point associated to the enrollment. -
timeZone: string
Maximum Length:
10Time Zone
Nested Schema : programInfo
Type:
Show Source
object-
cisServiceAgreementId: string
Maximum Length:
12The CIS Service Agreement ID associated to the metered service. Optional. -
programCode: string
Maximum Length:
120Program Code of the program being enrolled -
startDate: string
(date)
The desired application date of the enrollment.
Nested Schema : items
Type:
Show Source
object-
activityType: string
Maximum Length:
30Activity Type define the main attributes for activities of a certain type and act as a model and template for Activity records -
crewId: string
Maximum Length:
12Crew identifier for primary and secondary crew members that are assigned a particular work activity -
crewShiftId: string
Maximum Length:
14Crew Shift identifier that identifies a planned period of time in which a crew (one or more workers) is scheduled to perform work -
endDateTime: string
(date-time)
Appointment End Date and Time for the scheduled work
-
startDateTime: string
(date-time)
Appointment Start Date and Time for the scheduled work
-
workAvailabilityDuration: number
Minimum Value:
0Maximum Value:99999999999.99Work Availability expressed in Hours for the particular crew
Nested Schema : items
Type:
Show Source
object-
assetId: string
Maximum Length:
12System generated unique identifier created for each individual Asset -
assetType: string
Maximum Length:
30Specification, along with the asset type, is used to to define the type of controllable device. For customer owned devices, these values are required for the enrollment process to create the controllable device record. -
badgeNo: string
Maximum Length:
60Badge number of the controllable device. This value is optional; when provided, this value is recorded on the controllable device record for bring your own device enrollments. -
headEndSystem: string
Maximum Length:
30Head end system, along with the NIC Id, is used to uniquely identify the device. For customer owned devices, these values are required for the enrollment process to create the controllable device record. -
nicId: string
Maximum Length:
100Head end system, along with the Network Interface Card Identifier, is used to uniquely identify the device. For customer owned devices, these values are required for the enrollment process to create the controllable device record. -
sequence: number
Minimum Value:
0Maximum Value:999Sequence -
serialNo: string
Maximum Length:
60Serial number of the controllable device. This value is optional; when provided, this value is recorded on the controllable device record for bring your own device enrollments. -
specification: string
Maximum Length:
30Specification, along with the asset type, is used to to define the type of controllable device. For customer owned devices, these values are required for the enrollment process to create the controllable device record.
Nested Schema : items
Type:
Show Source
object-
answer: string
(answer)
-
question: string
(question)
-
response: string
(response)
Nested Schema : items
Type:
Show Source
object-
answer: string
(answer)
-
question: string
(question)
-
response: string
(response)
Nested Schema : items
Type:
Show Source
object-
activityId: string
Maximum Length:
14A system generated unique identifer associated to each Activity that is created -
activityType: string
Maximum Length:
30Activity Type define the main attributes for activities of a certain type and act as a model and template for Activity records -
fieldTaskType: string
Allowed Values:
[ "X1-InvestigateControllableDevice", "X1-InstallControllableDevice" ]Field Task Type: * `X1-InvestigateControllableDevice` - Investigate Controllable Device, * `X1-InstallControllableDevice` - Install Controllable Device -
sequence: number
Minimum Value:
0Maximum Value:999Sequence -
setupAction: string
Allowed Values:
[ "X1AC", "X1DC", "X1NA", "X1TD", "X1WO" ]Setup Action: * `X1AC` - Create Activity, * `X1DC` - Initiate Controllable Device Command, * `X1NA` - No Action Needed, * `X1TD` - Create To Do, * `X1WO` - Create Work Order -
templateWorkOrderId: string
Maximum Length:
12A unique identifer of a Work Order created as template for generating work orders -
toDoId: string
Maximum Length:
14To Do refers to certain events that occur within the system and trigger messages describing work that requires attention -
toDoRole: string
Maximum Length:
10To Do Roles are assigned to users and are referenced by a To Do Entry created by the system -
toDoType: string
Maximum Length:
8To Do Type refer to the categorization of certain events that occur within the system and trigger messages describing work that requires attention -
workOrderId: string
Maximum Length:
14A system generated unique identifer associated to each Work Order that is created
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.