Get all programs
get
/fscmRestApi/resources/11.13.18.05/maintenancePrograms
Request
Query Parameters
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- PrimaryKey: Finds maintenance programs according to the program identifier.
Finder Variables:- MaintenanceProgramId; integer; Value that uniquely identifies the maintenance program.
- PrimaryKey: Finds maintenance programs according to the program identifier.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- ActiveEndDate; string; Date when the maintenance program stops forecasting. The end date is optional and can be updated after its creation.
- ActiveStartDate; string; Date when the maintenance program is eligible to start forecasting. The start date is required and can be updated after its creation.
- AllowGlobalAssetsFlag; boolean; Indicates that assets across other organizations can be considered by the maintenance forecast in a program. The optional value can be updated until work orders are created for the program.
- Code; string; Abbreviation that identifies the maintenance program. The code can be updated after its creation.
- Description; string; Description of the maintenance program. The description can be updated after its creation.
- ForecastWindowInDays; integer; Value that represents the number of days into the future that the maintenance forecast will be created for a program. If it's not defined, then either the value at the work requirement or the organization parameter is used. The optional value can be updated.
- InProcessFlag; boolean; Value that uniquely identifies the in-process flag for a maintenance program. Valid values are true or false. If true, the maintenance program is in progress; otherwise, it's not.
- LastForecastDate; string; Date when the last forecast was recorded.
- LastUpdateDate; string; Date when the user most recently updated the program.
- MaintenanceProgramId; integer; Value that uniquely identifies a maintenance program. The application generates this value and is referenced during retrieval and update of a maintenance program definition. This value can't be updated after its creation.
- Name; string; Name that identifies the maintenance program. The name can be updated after its creation.
- OrganizationCode; string; Abbreviation that identifies the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a program. This value can't be updated after its creation.
- OrganizationId; integer; Value that uniquely identifies the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a maintenance program. This value can't be updated after its creation.
- OrganizationName; string; Name of the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a program. This value can't be updated after its creation.
- ProgramReference; string; Value for a reference to the program. The optional value can be updated.
- ProgramSubType; string; Name that identifies the user-defined subtype of maintenance program. This value is read-only.
- ProgramSubTypeCode; string; Abbreviation that identifies the user-defined subtype of maintenance program. Valid values are optional and are defined in the lookup ORA_MNT_MX_PROGRAM_SUB_TYPE. The code can be updated.
- ProgramType; string; Name that identifies the user-defined type of maintenance program. This value is read-only.
- ProgramTypeCode; string; Abbreviation that identifies the user-defined type of maintenance program. Valid values are optional and are defined in the lookup ORA_MNT_MX_PROGRAM_TYPE. The code can be updated.
- ReviewComments; string; Comments provided by the user who most recently reviewed the program. The comments can be updated after its creation.
- ReviewedBy; string; Name of the user who most recently reviewed the program. The name can be updated after its creation.
- ReviewedOn; string; Date when the user most recently reviewed the program. The date can be updated after its creation.
- SuppressMergeCode; string; Abbreviation that specifies if concurrent requirements will merge or suppress during work order creation. Valid values are ORA_SUPPRESS or ORA_MERGE. The default value is ORA_SUPPRESS. The code can be updated after its creation.
- SuppressMergeCodeDescription; string; Name that describes if concurrent requirements will merge or suppress during work order creation. This value is derived from the suppress merge code.
- WorkOrderStartTime; string; Value that represents the starting time of day for all work orders created for the program. If it's not defined, the start time is set to 8:00 AM. The optional value can be updated.
- WorkOrderTimezone; string; Value that represents the time zone for all work orders created for the program. If it's not defined, the time zone is set to UTC. The optional value can be updated.
- WorkOrderTimezoneCode; string; Abbreviation that identifies the time zone for all work orders that were created for the program. If it's not defined, the time zone is set to UTC. The optional value can be updated.
- WorkOrderWindowInDays; integer; Value that represents the number of days into the future that work orders for the maintenance forecast will be created for a program. If it's not defined, then either the value at the work requirement or the organization parameter is used. The optional value can be updated.
- WorkOrdersCreatedFlag; boolean; Value that indicates whether any work orders have been created for the maintenance program. Valid values are true or false. If true, work orders exist; if false, no work orders have been created for this maintenance program.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : maintenancePrograms
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : maintenancePrograms-item-response
Type:
Show Source
object-
ActiveEndDate: string
(date)
Title:
End DateDate when the maintenance program stops forecasting. The end date is optional and can be updated after its creation. -
ActiveStartDate: string
(date)
Title:
Start DateDate when the maintenance program is eligible to start forecasting. The start date is required and can be updated after its creation. -
AllowGlobalAssetsFlag: boolean
Title:
Allow assets from other organizationsMaximum Length:1Default Value:falseIndicates that assets across other organizations can be considered by the maintenance forecast in a program. The optional value can be updated until work orders are created for the program. -
attachments: array
Attachments
Title:
AttachmentsAttachment management capabilities: view, create, and update. -
calendarPatterns: array
Calendar Patterns
Title:
Calendar PatternsThe Calendar Patterns resource allows defining unique calendar patterns in a maintenance program. Patterns are used in a work requirement as the basis for creating a maintenance program forecast. -
Code: string
Title:
CodeMaximum Length:30Abbreviation that identifies the maintenance program. The code can be updated after its creation. -
CountOfAffectedAssets: integer
Read Only:
trueThis value identifies the assets count included the maintenance program. -
CountOfOpenWorkOrders: integer
(int64)
Read Only:
trueThis value identifies the open work orders count included the maintenance program. -
CountOfWorkRequirements: integer
Read Only:
trueThis value identifies the work requirements counts included the maintenance program. -
Description: string
Title:
DescriptionMaximum Length:240Description of the maintenance program. The description can be updated after its creation. -
ForecastWindowInDays: integer
(int32)
Title:
Forecast Window in DaysValue that represents the number of days into the future that the maintenance forecast will be created for a program. If it's not defined, then either the value at the work requirement or the organization parameter is used. The optional value can be updated. -
InProcessFlag: boolean
Read Only:
trueMaximum Length:1Value that uniquely identifies the in-process flag for a maintenance program. Valid values are true or false. If true, the maintenance program is in progress; otherwise, it's not. -
LastForecastDate: string
(date)
Title:
Last Forecast DateDate when the last forecast was recorded. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate when the user most recently updated the program. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaintenanceProgramId: integer
(int64)
Value that uniquely identifies a maintenance program. The application generates this value and is referenced during retrieval and update of a maintenance program definition. This value can't be updated after its creation.
-
Name: string
Title:
NameMaximum Length:120Name that identifies the maintenance program. The name can be updated after its creation. -
OrganizationCode: string
Title:
OrganizationAbbreviation that identifies the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a program. This value can't be updated after its creation. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a maintenance program. This value can't be updated after its creation.
-
OrganizationName: string
Name of the organization where the maintenance program is managed. This attribute is a foreign key. Either the Organization ID or Code can be used during creation of a program. This value can't be updated after its creation.
-
ProgramReference: string
Title:
Program ReferenceMaximum Length:80Value for a reference to the program. The optional value can be updated. -
ProgramSubType: string
Title:
Program SubtypeRead Only:trueMaximum Length:80Name that identifies the user-defined subtype of maintenance program. This value is read-only. -
ProgramSubTypeCode: string
Title:
Program Subtype CodeMaximum Length:30Abbreviation that identifies the user-defined subtype of maintenance program. Valid values are optional and are defined in the lookup ORA_MNT_MX_PROGRAM_SUB_TYPE. The code can be updated. -
ProgramType: string
Title:
Program TypeRead Only:trueMaximum Length:80Name that identifies the user-defined type of maintenance program. This value is read-only. -
ProgramTypeCode: string
Title:
Program Type CodeMaximum Length:30Abbreviation that identifies the user-defined type of maintenance program. Valid values are optional and are defined in the lookup ORA_MNT_MX_PROGRAM_TYPE. The code can be updated. -
ReviewComments: string
Title:
Review CommentsMaximum Length:240Comments provided by the user who most recently reviewed the program. The comments can be updated after its creation. -
ReviewedBy: string
Title:
Program Reviewed ByMaximum Length:80Name of the user who most recently reviewed the program. The name can be updated after its creation. -
ReviewedOn: string
(date)
Title:
Review DateDate when the user most recently reviewed the program. The date can be updated after its creation. -
SuppressMergeCode: string
Title:
Concurrent RequirementsMaximum Length:30Default Value:ORA_SUPPRESSAbbreviation that specifies if concurrent requirements will merge or suppress during work order creation. Valid values are ORA_SUPPRESS or ORA_MERGE. The default value is ORA_SUPPRESS. The code can be updated after its creation. -
SuppressMergeCodeDescription: string
Title:
Concurrent RequirementsName that describes if concurrent requirements will merge or suppress during work order creation. This value is derived from the suppress merge code. -
WorkOrdersCreatedFlag: boolean
Read Only:
trueMaximum Length:255Value that indicates whether any work orders have been created for the maintenance program. Valid values are true or false. If true, work orders exist; if false, no work orders have been created for this maintenance program. -
WorkOrderStartTime: string
Title:
Work Order Start TimeMaximum Length:5Value that represents the starting time of day for all work orders created for the program. If it's not defined, the start time is set to 8:00 AM. The optional value can be updated. -
WorkOrderTimezone: string
Title:
Work Order Time ZoneRead Only:trueMaximum Length:255Value that represents the time zone for all work orders created for the program. If it's not defined, the time zone is set to UTC. The optional value can be updated. -
WorkOrderTimezoneCode: string
Title:
Work Order Time ZoneMaximum Length:30Abbreviation that identifies the time zone for all work orders that were created for the program. If it's not defined, the time zone is set to UTC. The optional value can be updated. -
WorkOrderWindowInDays: integer
(int32)
Title:
Work Order Window in DaysValue that represents the number of days into the future that work orders for the maintenance forecast will be created for a program. If it's not defined, then either the value at the work requirement or the organization parameter is used. The optional value can be updated. -
workRequirements: array
Work Requirements
Title:
Work RequirementsThe Work Requirements resource allows defining unique work requirements in a maintenance program. Work requirements define how often maintenance will be due and what work will be required for one or more assets. -
WorkRequirementsCreatedFlag: boolean
Read Only:
trueMaximum Length:255Value that uniquely identifies the work requirement created flag. Valid values are true or false. If true, the work requirement exists; if false, the work requirements haven't yet been created. The default value is false. This value can't be updated.
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsAttachment management capabilities: view, create, and update.
Show Source
Nested Schema : Calendar Patterns
Type:
arrayTitle:
Calendar PatternsThe Calendar Patterns resource allows defining unique calendar patterns in a maintenance program. Patterns are used in a work requirement as the basis for creating a maintenance program forecast.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Work Requirements
Type:
arrayTitle:
Work RequirementsThe Work Requirements resource allows defining unique work requirements in a maintenance program. Work requirements define how often maintenance will be due and what work will be required for one or more assets.
Show Source
Nested Schema : maintenancePrograms-attachments-item-response
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute used exclusively by Attachment UI components to assist with file uploads. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdThe unique identifier of the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30The category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255The user who created the record. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueThe user name who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEA value that indicates the data type. -
Description: string
Title:
DescriptionMaximum Length:255The description of the attachment. -
DmDocumentId: string
Maximum Length:
255Indicates the source document ID for the attachment. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Indicates the source folder path for the attachment. -
DmVersionNumber: string
Maximum Length:
255The version number of the document used as the source for the attachment. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string that contains information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeThe error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageThe error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateThe expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File ContentsThe contents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048The file name of the attachment. -
FileUrl: string
Title:
File UrlThe URI of the file. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueBase64-encoded representation of the file, rendered in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255The user who last updated the record. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueThe user name who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after the attachment is uploaded. -
Title: string
Title:
TitleThe title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeThe content type of the attachment. -
UploadedFileLength: integer
Title:
File SizeThe size of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameThe name to assign to a new attachment file. -
UploadedText: string
Title:
Uploaded TextThe text content for a new text attachment. -
Uri: string
Title:
UriMaximum Length:4000The URI of a Topology Manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000The URL of a web page type attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255The login credentials of the user who created the attachment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : maintenancePrograms-calendarPatterns-item-response
Type:
Show Source
object-
CalendarPatternId: integer
(int64)
Value that uniquely identifies a calendar pattern. The application generates this value when it creates a calendar pattern. The calendar pattern ID and its attributes can't be updated after its creation.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MonthlySpecificDay: integer
(int32)
Value of the specific numerical day in a month when a monthly calendar pattern is due. This value can't be updated after its creation.
-
MonthlyWeekday: string
Maximum Length:
30Name of the specific day of the week when a monthly calendar pattern is due. The name is used with an ordinal value to define which day in the month the monthly calendar pattern is due. This value can't be updated after its creation. -
MonthlyWeekdayOrdinal: string
Maximum Length:
30Value that's used to define the specific ordinal day names, such as second Monday and last Monday. For each day of a week, the first, second, third, fourth, or last day of the month can be provided. This value can't be updated after its creation. -
Name: string
Title:
Schedule PatternMaximum Length:120Name that uniquely identifies the calendar pattern in a maintenance program. This value can't be updated after its creation. -
RepeatDailyEveryWeekdayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the daily calendar pattern is due during days that are identified as weekdays. If false, then the daily calendar pattern is due all seven days of the week. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDayFridayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Friday. If false, then the weekly calendar pattern isn't due on Friday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDayMondayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Monday. If false, then the weekly calendar pattern isn't due on Monday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDaySaturdayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Saturday. If false, then the weekly calendar pattern isn't due on Saturday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDaySundayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Sunday. If false, then the weekly calendar pattern isn't due on Sunday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDayThursdayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Thursday. If false, then the weekly calendar pattern isn't due on Thursday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDayTuesdayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Tuesday. If false, then the weekly calendar pattern isn't due on Tuesday. The default value is false. This value can't be updated after its creation. -
RepeatWeeklyDayWednesdayFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the weekly calendar pattern is due on Wednesday. If false, then the weekly calendar pattern isn't due on Wednesday. The default value is false. This value can't be updated after its creation. -
Type: string
Title:
FrequencyMaximum Length:30Value that specifies the frequency of a calendar pattern. Valid values include ORA_DAILY, ORA_WEEKLY, ORA_MONTHLY, or ORA_YEARLY. The default value is ORA_WEEKLY. This value can't be updated after its creation. -
YearlyMonth: string
Maximum Length:
30Value of the month in which a numerical date is due for a yearly calendar pattern. You must define the numerical date and ordinal value. This value can't be updated after its creation. -
YearlySpecificDay: integer
(int32)
Value of the specific numerical date in a month for which a yearly calendar pattern is due. You must define the specific month. This value can't be updated after its creation.
-
YearlySpecificMonth: string
Maximum Length:
30Value of the specific month for which a yearly calendar pattern is due. You must define the specific numerical date in the month. This value can't be updated after its creation. -
YearlyWeekday: string
Maximum Length:
30Name of the specific day of the week for which a yearly calendar pattern is due. The name is used with an ordinal value to define which day with a month the yearly calendar pattern is due. This value can't be updated after its creation. -
YearlyWeekdayOrdinal: string
Maximum Length:
30Value that's used to define the specific ordinal day names, such as second Monday and last Monday. For each day of a week, the first, second, third, fourth, or last day of the month can be provided with the weekday name. This value can't be updated after its creation.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : maintenancePrograms-workRequirements-item-response
Type:
Show Source
object-
ActiveEndDate: string
(date)
Title:
End DateDate when the work requirement stops forecasting. This value can be updated after its creation. -
ActiveStartDate: string
(date)
Title:
Start DateDate when the work requirement begins forecasting. This value can be updated after its creation. -
affectedAssets: array
Affected Assets
Title:
Affected AssetsThe Affected Assets resource allows defining which assets are to be included or excluded from the forecast of a work requirement. -
AllowWorkOrdersFlag: boolean
Title:
Allow Work OrdersRead Only:trueMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then work orders are allowed to be created for the applicable asset in the work requirement. If false, then work orders can't be created for the applicable asset. The default value is false. This value can't be updated. -
AssetId: integer
(int64)
Value that uniquely identifies the asset for which the work requirement is effective. The value is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
AssetNumber: string
Number that uniquely identifies the asset for which the work requirement is effective. The number is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
CalendarBasedFlag: boolean
Title:
Calendar patternMaximum Length:1Contains one of the following values: true or false. If true, then a calendar pattern is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is true, therefore a calendar pattern must be defined and selected to generate a forecast. This value can be updated after its creation. -
CalendarPatternId: integer
(int64)
Title:
Schedule PatternValue of the calendar pattern that's used to forecast the work requirement. The value is required if the calendar-based flag is true. This value can be updated after its creation. -
CalendarPatternName: string
Name of the calendar pattern that's used to forecast the work requirement. The name is required if the calendar based flag is true. This value can be updated after its creation.
-
ConditionBasedFlag: boolean
Title:
Condition eventMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then a condition event code can be used to create a work order from the work requirement by using a service. If false, then this method is considered during maintenance work order creation by using a service. The default value is false. This value can be updated after its creation. -
conditionEvents: array
Condition Events
Title:
Condition EventsThe Condition Events resource allows defining condition events in a maintenance program. Condition events are used by IoT (Internet of Things) to create incident based work orders. -
CreateWorkOrderOption: string
Title:
Create Work Orders OptionRead Only:trueMaximum Length:80Name that identifies if work orders will be automatically or manually created for the work requirement. This value is read-only. -
CreateWorkOrderOptionCode: string
Title:
Create Work Orders Option CodeMaximum Length:30Default Value:ORA_AUTOMATICAbbreviation that identifies if work orders will be automatically or manually created for the work requirement. Valid values are ORA_AUTOMATIC and ORA_MANUALLY as defined in the lookup ORA_MNT_MX_PROGRAM_WO_CREATE. The default value is Automatic and the value can be updated. -
DayBasedFlag: boolean
Title:
Day Based IndicatorMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then a day interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
DayCalculateNextDue: string
Title:
Method to Calculate Next DueRead Only:trueMaximum Length:255Meaning of the method used to calculate the next due occurrence of the day interval in the work requirement forecast. -
DayCalculateNextDueCode: string
Title:
Method to Calculate Next DueMaximum Length:30Code of the method used to calculate the next due occurrence of the day interval in the work requirement forecast. -
DayInterval: number
Title:
Day IntervalNumber of days between cycle intervals in the forecast when day interval is used. -
ForecastUsingACycleFlag: boolean
Title:
Forecast using a cycleMaximum Length:1Default Value:trueContains one of the following values: true or false. If true, then the forecast considers cycle intervals. If false, then there's only one repeating interval. The default value is true, therefore the number of intervals in a cycle must also be defined. This value can be updated after its creation. -
ForecastWindowInDays: integer
(int32)
Title:
Forecast Window in DaysValue that represents the number of days into the future that the maintenance forecast will be created for a work requirement. If it's not defined, then either the value at the program header or the organization parameter is used. The optional value can be updated. -
HierarchyCode: string
Maximum Length:
255Alternate primary key for the logical hierarchy entity. -
HierarchyDescription: string
Title:
DescriptionRead Only:trueMaximum Length:240The detailed description of the logical hierarchy. -
HierarchyId: integer
(int64)
Value that uniquely identifies the Asset Route Business Object. This is defined as a special type of Asset Logical Hierarchy.
-
HierarchyName: string
Title:
NameRead Only:trueMaximum Length:120The name of the logical hierarchy. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed DateHistorical date of accomplishment of the work requirement from an external system. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed IntervalHistorical cycle interval of accomplishment of the work requirement from an external system. -
IncludeAssets: string
Title:
Include AssetsRead Only:trueMaximum Length:255Meaning of the option that enables users to select if assets in an item-based work requirement are automatically or manually included. -
IncludeAssetsCode: string
Title:
Include Assets CodeMaximum Length:300ption that enables users to select if assets in an item-based work requirement are automatically or manually included. -
IntervalsInTheCycle: number
Title:
Number of Intervals per CycleNumber of intervals within a single cycle. The value is required if the forecast using a cycle flag is true. This value can be updated after its creation. -
InventoryItemId: integer
(int64)
Title:
Asset or ItemValue that uniquely identifies the item for which the work requirement is effective. The value is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation. -
InventoryItemNumber: string
Number that uniquely identifies the item for which the work requirement is effective. The number is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
ItemDescription: string
Title:
Item DescriptionRead Only:trueMaximum Length:240Description of the asset item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MeterBasedFlag: boolean
Title:
Meter intervalMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then a meter interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
meters: array
Meters
Title:
MetersThe Meters resource allows defining meters in a maintenance program. Meters are used in a work requirement as the basis for creating a maintenance program forecast. -
Name: string
Title:
NameMaximum Length:120Name that uniquely identifies the work requirement. This value can be updated after its creation. -
NextWorkOrderOnlyFlag: boolean
Title:
Next Work Order OnlyMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then only the next work order is created by the forecast. If false, then all work orders within the defined number of days for the organization are created. The default value is false. This value can be updated after its creation. -
OverrideSuppressMergeFlag: boolean
Title:
Override for this requirementMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then the work requirement overrides the suppress merge option at the maintenance program header. If false, then the header level option is used. The default value is false. If true, then the override option must be defined. This value can be updated after its creation. -
ProgramSuppressMergeCode: string
Read Only:
trueMaximum Length:255Abbreviation that indicates the default merge or suppress option for the maintenance program. Valid values are ORA_SUPPRESS or ORA_MERGE. The value is read only. -
ProgramSuppressMergeCodeDescription: string
Read Only:
trueMaximum Length:255Name of the default merge or suppress option for the maintenance program. The value is read only. -
RequirementReference: string
Title:
Requirement ReferenceMaximum Length:80Value for a reference to the work requirement. The optional value can be updated. -
RouteCompletionCode: string
Read Only:
trueMaximum Length:30Code used by the work order completion process to complete the assets that are part of the asset route. Valid values are Automatic (ORA_AUTOMATIC) or Manual (ORA_MANUAL). -
RouteCompletionMeaning: string
Title:
MeaningRead Only:trueMaximum Length:80Meaning of the mode used in the work order completion process. -
RouteSkipAllowedFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the assets included in the asset route can be skipped during the work order completion process. -
Status: string
Title:
StatusRead Only:trueMaximum Length:255Meaning of the status of the work requirement. -
StatusCode: string
Title:
Status CodeMaximum Length:30Status code of the work requirement. -
SuppressMergeCode: string
Title:
Concurrent RequirementsMaximum Length:30Abbreviation that indicates if concurrent requirements are merged or suppressed during work order creation within the work requirement. Valid values are ORA_SUPPRESS or ORA_MERGE. The default value ORA_SUPPRESS is used if a value isn't passed and the override merge and suppress option is true. This value can be updated after its creation only if the suppress merge override flag is true. -
SuppressMergeCodeDescription: string
Read Only:
trueMaximum Length:255Name that describes if concurrent requirements will merge or suppress during work order creation. This value is derived from the suppress merge code. -
Type: string
Title:
TypeRead Only:trueMaximum Length:255Meaning of the option that enables users to select if the work requirement is associated with an asset or an item. -
TypeCode: string
Title:
TypeMaximum Length:30Default Value:ORA_ASSETValue that specifies if the work requirement applies to an item or an individual asset. Valid values include ORA_ASSET or ORA_ITEM. The default is ORA_ASSET. This value can be updated after its creation. -
workDefinitions: array
Work Definitions
Title:
Work DefinitionsThe Work Definitions resource allows defining work definitions in a maintenance program. Work definitions define what work will be required each time a work requirement is due. -
WorkOrderFirmFlag: boolean
Title:
Firm Work OrdersMaximum Length:1Default Value:falseValue that specifies during rescheduling or replanning if the work order is to be considered. Contains one of the following values: true or false. If true, then planning doesn't consider the work order when rescheduling or replanning. If false, then planning can suggest rescheduling and replanning recommendations with respect to the work order. The default value is false and it can be updated. -
WorkOrderPriority: number
Title:
Work Order PriorityNumber that indicates the priority of the work order. This attribute is optional when creating the work order. -
WorkOrdersCreatedFlag: boolean
Title:
Work Orders CreatedRead Only:trueMaximum Length:255Contains one of the following values: true or false. If true, then work orders for the work requirement exist. If false, then work orders for the work requirements haven't been created yet. The default value is false. This value can't be updated. -
WorkOrderStatus: string
Title:
Work Order StatusRead Only:trueMaximum Length:120Abbreviation that identifies the work order status. Only values related to the predefined status of Released, Unreleased, or On-Hold can be provided. The source of the valid values is defined in the WIE_WO_STATUSES_B table. If the optional value isn't defined, then the default value of Unreleased is used for newly created work orders. The value can be updated. -
WorkOrderStatusCode: string
Maximum Length:
255Abbreviation that identifies the work order status code. Only values related to the predefined status of Released, Unreleased, or On-hold can be provided. The source of the valid values is defined in the WIE_WO_STATUSES_B table. If the optional value isn't defined, then the default value of Unreleased is used for newly created work orders. The value can be updated. -
WorkOrderWindowInDays: integer
(int32)
Title:
Work Order Window in DaysValue that represents the number of days into the future that work orders for maintenance forecast will be created for a work requirement. If it's not defined, then either the value at the program header or the organization parameter is used. The optional value can be updated. -
WorkRequirementId: integer
(int64)
Value that uniquely identifies the work requirement. The application generates this value when it creates a new requirement. This value is referenced during retrieval and update of a work requirement. This value can't be updated after its creation.
Nested Schema : Affected Assets
Type:
arrayTitle:
Affected AssetsThe Affected Assets resource allows defining which assets are to be included or excluded from the forecast of a work requirement.
Show Source
Nested Schema : Condition Events
Type:
arrayTitle:
Condition EventsThe Condition Events resource allows defining condition events in a maintenance program. Condition events are used by IoT (Internet of Things) to create incident based work orders.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Meters
Type:
arrayTitle:
MetersThe Meters resource allows defining meters in a maintenance program. Meters are used in a work requirement as the basis for creating a maintenance program forecast.
Show Source
Nested Schema : Work Definitions
Type:
arrayTitle:
Work DefinitionsThe Work Definitions resource allows defining work definitions in a maintenance program. Work definitions define what work will be required each time a work requirement is due.
Show Source
Nested Schema : maintenancePrograms-workRequirements-affectedAssets-item-response
Type:
Show Source
object-
AllowWorkOrdersFlag: boolean
Title:
Allow Work OrdersRead Only:trueMaximum Length:1Contains one of the following values: true or false. If true, then work orders are allowed to be created for the applicable asset in the work requirement. If false, then work orders can't be created for the applicable asset. The default value is false. This value can't be updated. -
AssetDescription: string
Title:
Asset DescriptionRead Only:trueMaximum Length:240Description of the asset in a work requirement. This value can't be updated,. -
AssetId: integer
(int64)
Title:
Asset IDValue that uniquely identifies the asset in a work requirement This value can't be updated,. -
AssetNumber: string
Title:
Asset NumberMaximum Length:80Number that uniquely identifies the asset in a work requirement. This value can't be updated,. -
AssetStatus: string
Title:
Asset StatusRead Only:trueMaximum Length:80Meaning of the asset status code. This value can't be updated. -
AssetStatusCode: string
Title:
Asset Status CodeMaximum Length:11Abbreviation that specifies if an asset is included or excluded from the forecast in a work requirement. Valid values are ORA_INCLUDE or ORA_EXCLUDE as defined in the lookup ORA_MNT_AFF_ASSET_STATUS. The code can be updated. -
CreateWorkOrderOption: string
Title:
Create Work Orders OptionRead Only:trueMaximum Length:80Name that identifies if work orders will be automatically or manually created for the work requirement. This value is read-only. -
CreateWorkOrderOptionCode: string
Title:
Create Work Orders Option CodeMaximum Length:30Abbreviation that identifies if work orders will be automatically or manually created for the affected asset. Valid values are ORA_AUTOMATIC and ORA_MANUALLY as defined in the lookup ORA_MNT_MX_PROGRAM_WO_CREATE. The default value is Automatic and the code can be updated. -
ForecastOption: string
Read Only:
trueMaximum Length:255Name that identifies the status of the affected asset. -
ForecastOptionCode: string
Maximum Length:
30Forecast status of the affected asset. -
ForecastStartDate: string
(date)
Title:
Forecasted Start DateDate when the work requirement begins forecasting the asset. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed DateHistorical date of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed IntervalHistorical cycle interval of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created. -
IntializeOption: string
Read Only:
trueMaximum Length:255Name that indicates whether the affected asset will be calculated from the forecast start date or the historical last completion date. -
IntializeOptionCode: string
Maximum Length:
16Requirement initialization code for the affected asset. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaintenanceOrganization: string
Title:
Maintenance OrganizationRead Only:trueMaximum Length:18Abbreviation that uniquely identifies the operating organization of the asset. The value may be the same as the operating organization or may be another maintenance-enabled organization. This value is read-only. -
MaintenanceOrganizationId: integer
(int64)
Title:
Maintenance OrganizationValue that uniquely identifies the operating organization of the asset. The value may be the same as the operating organization or may be another maintenance-enabled organization. This value is read-only. -
OperatingOrganization: string
Title:
Operating OrganizationRead Only:trueMaximum Length:18Abbreviation that uniquely identifies the operating organization of the asset. This value is read-only. -
OperatingOrganizationId: integer
(int64)
Title:
Operating Organization IDValue that uniquely identifies the operating organization of the asset. This value is read-only. -
SerialNumber: string
Title:
Serial NumberRead Only:trueMaximum Length:80Serial number of the asset in a work requirement. This value can't be updated,. -
WorkOrdersCreatedFlag: boolean
Title:
Work Orders CreatedRead Only:trueMaximum Length:1Contains one of the following values: true or false. If true, then work orders for the work requirement exist. If false, then work orders for the work requirements haven't been created yet. The default value is false. This value can't be updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : maintenancePrograms-workRequirements-conditionEvents-item-response
Type:
Show Source
object-
ConditionEventId: integer
(int64)
Value that identifies a condition event code within a work requirement. The application generates this value when a condition event code is associated with a work requirement. This value can't be updated after its creation.
-
EventCode: string
Abbreviation that identifies the condition event code that can be used to create a work order from the work requirement. The code, name, or ID is required if the condition-based mark is true. The value can be updated after its creation.
-
EventCodeDescription: string
Title:
DescriptionRead Only:trueMaximum Length:540Description of the condition event code. This value is read-only and can't be updated after its creation. -
EventCodeId: integer
(int64)
Value of the condition event code that can be used to create a work order from the work requirement. The ID, name, or code is required if the condition-based mark is true. The value can be updated after its creation.
-
EventCodeName: string
Title:
NameRead Only:trueMaximum Length:540Name of the condition event code that can be used to create a work order from the work requirement. The name, code, or ID is required if the condition-based mark is true. The value can be updated after its creation. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : maintenancePrograms-workRequirements-meters-item-response
Type:
Show Source
object-
BaseInterval: number
Title:
Base IntervalValue of the interval that's used to calculate how often the forecast is due. This value can be updated after its creation. -
CalculatedUtilizationRate: number
Title:
Calculated RateRead Only:trueCalculated average value of a specified number of active readings in history. This attribute is read-only. -
CalculateNextDueCode: string
Title:
Method to Calculate Next DueMaximum Length:30Abbreviation that specifies how the next due forecast interval is calculated. Valid values are ORA_BASE_INTERVAL or ORA_LAST_COMPLETION. This value can be updated after its creation. -
CalculateNextDueMeaning: string
Title:
Method to Calculate Next DueRead Only:trueMaximum Length:255Meaning of the option code that specifies how the next due forecast interval is calculated. This is a read-only attribute. -
DailyUtilizationRate: number
Title:
Daily RateRead Only:trueExpected average daily total of readings to be entered for a meter. This is a read-only attribute. -
DisabledFlag: boolean
Maximum Length:
1Default Value:falseValue that indicates whether a meter is disabled or not. Contains one of the following values: true or false. If true, then the meter is disabled. If false, then the meter isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a meter. -
EstimatedDailyInterval: number
Title:
Estimated Daily IntervalRead Only:trueCalculated ratio of the base interval to the daily utilization rate for a meter associated with a work requirement. This is a read-only attribute. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MeterCode: string
Title:
Meter CodeRead Only:trueMaximum Length:30Abbreviation that uniquely identifies the asset meter used to forecast a work requirement. Either the meter name or ID can be used in a POST, PATCH, or GET action. This is a read-only attribute. -
MeterDefinitionId: integer
(int64)
Value that uniquely identifies the asset meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
MeterDescription: string
Title:
Meter DescriptionRead Only:trueMaximum Length:240Description of the asset meter used to forecast a work requirement. Either the meter name or ID can be used in a POST, PATCH, or GET action. This is a read-only attribute. -
MeterId: integer
(int64)
Value that uniquely identifies the asset meter used to forecast a work requirement. Either the meter name or ID can be used in a POST, PATCH, or GET action. This is a read-only attribute.
-
MeterIntervalId: integer
(int64)
Value that identifies a unique meter within a work requirement. The application generates this value when a meter is associated with a work requirement. This value can't be updated after its creation.
-
Name: string
Title:
Meter NameName of the meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created. -
RecordAtWoCompletion: string
Title:
Meter EntryRead Only:trueMaximum Length:255Meaning of the option code that specifies whether a meter reading is required for the work order. This is a read-only attribute. -
RecordAtWoCompletionCode: string
Title:
Meter EntryRead Only:trueMaximum Length:255Abbreviation of the option code that specifies whether a meter reading is required for the work order. This is a read-only attribute. -
UnitOfMeasure: string
Title:
UOM NameRead Only:trueMaximum Length:25Name of the UOM for the asset meter used to forecast a work requirement. This is a read-only attribute. -
UOMCode: string
Title:
Meter UOMRead Only:trueMaximum Length:3Abbreviation of the UOM for the asset meter used to forecast a work requirement. This is a read-only attribute.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : maintenancePrograms-workRequirements-workDefinitions-item-response
Type:
Show Source
object-
Code: string
Title:
CodeRead Only:trueMaximum Length:30Indicates the user-defined code for the maintenance work definition. -
Description: string
Title:
DescriptionRead Only:trueMaximum Length:240Indicates the description of the maintenance work definition. -
DisabledFlag: boolean
Maximum Length:
1Default Value:falseValue that indicates whether a work definition is disabled or not. Contains one of the following values: true or false. If true, then the work definition is disabled. If false, then the work definition isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a work definition. -
DueAtCycleInterval: number
Title:
Due at Cycle IntervalValue that specifies the interval in a cycle at which the work definition is due. The value is required if the repeats-in-cycle mark is true. This value can be updated after its creation. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Name of the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
RepeatsInCycleFlag: boolean
Title:
Repeats in CycleMaximum Length:1Contains one of the following values: true or false. If true, then the work definition repeats in the cycle at the interval value. If false, then the work definition doesn't repeat but is due only at the interval value. The default value is true. This value can be updated after its creation. -
ResequenceFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the work definition has resequenced operations. -
WorkDefinitionId: integer
(int64)
Value that uniquely identifies the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
WorkDefinitionMaintenanceNameId: integer
(int64)
Read Only:
trueValue that uniquely identifies the name of a work definition within a work requirement. The application generates this value when a work definition is created. -
WorkDefinitionRequirementId: integer
(int64)
Value that uniquely identifies a work definition within a work requirement. The application generates this value when a work definition is associated with a work requirement. This value can't be updated after its creation.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- findByAdvancedSearchQuery
-
Method used to perform a search on asset qualifications based on qualification requirements.
Examples
This example describes how to get all the maintenance programs.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/maintenancePrograms"
Example Response Body
The following example includes the contents of the response body
in JSON format:
{
"items": [
{
"Name": "REST_MP_HEADER_CAL_PATTERNS",
"Code": "REST_MP_HEADER_CAL_PATTERNS",
"MaintenanceProgramId": 300100179940471,
"Description": "SINGLE PAYLOAD: HEADER AND 4 CALENDAR PATTERNS",
"OrganizationId": 300100113363336,
"OrganizationCode": "MNTALM",
"OrganizationName": "Maintenance Organization for ALM",
"SuppressMergeCode": "ORA_SUPPRESS",
"SuppressMergeCodeDescription": "Suppress",
"ActiveStartDate": "2018-12-01",
"ActiveEndDate": null,
"ReviewedBy": "Anonymous",
"ReviewedOn": "2018-12-01",
"ReviewComments": "Approved",
"ProgramTypeCode": "ORA_MAINTENANCE",
"ProgramType": "Maintenance",
"ProgramSubTypeCode": "User_Defined_Code_A",
"ProgramSubType": "User Defined Code A",
"AllowGlobalAssetsFlag": true,
"ProgramReference": "Program Reference 123ABC",
"ForecastWindowInDays": 90,
"WorkOrderWindowInDays": 30,
"WorkOrderStartTime": "7:30",
"WorkOrderTimezoneCode": "America/New_York",
"WorkOrderTimezone": "US Eastern Time"
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471",
"name": "maintenancePrograms",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471",
"name": "maintenancePrograms",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements",
"name": "workRequirements",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/calendarPatterns",
"name": "calendarPatterns",
"kind": "collection"
}
]
},
{
"Name": "REST_MP_HEADER_ONLY",
"Code": "REST_MP_HEADER_ONLY",
"MaintenanceProgramId": 300100179925454,
"Description": "SINGLE PAYLOAD: HEADER ONLY",
"OrganizationId": 300100113363336,
"OrganizationCode": "MNTALM",
"OrganizationName": "Maintenance Organization for ALM",
"SuppressMergeCode": "ORA_SUPPRESS",
"SuppressMergeCodeDescription": "Suppress",
"ActiveStartDate": "2018-12-15",
"ActiveEndDate": null,
"ReviewedBy": "Anonymous",
"ReviewedOn": "2018-12-01",
"ReviewComments": "Approved",
"ProgramTypeCode": "ORA_MAINTENANCE",
"ProgramType": "Maintenance",
"ProgramSubTypeCode": null,
"ProgramSubType": null,
"AllowGlobalAssetsFlag": false,
"ProgramReference": null,
"ForecastWindowInDays": null,
"WorkOrderWindowInDays": null,
"WorkOrderStartTime": null,
"WorkOrderTimezoneCode": null,
"WorkOrderTimezone": null
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179925454",
"name": "maintenancePrograms",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179925454",
"name": "maintenancePrograms",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179925454/child/workRequirements",
"name": "workRequirements",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179925454/child/calendarPatterns",
"name": "calendarPatterns",
"kind": "collection"
}
]
}
],
"count": 2,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/",
"name": "maintenancePrograms",
"kind": "collection"
}
]
}